Make TensorFlow use system/EasyBuild installed libraries#2117
Make TensorFlow use system/EasyBuild installed libraries#2117boegel merged 6 commits intoeasybuilders:developfrom
Conversation
|
Tested with:
|
|
Thanks for the testing. This change should currently have no effect as the dependencies are missing. I added them to the 2.1.0 ECs in easybuilders/easybuild-easyconfigs#11109 so you can add those to your tests too if you like. Edit: While doing this I noticed that there is a compiler wrapper for intel which sets some env vars. The better approach would be to use |
|
Also another idea: As TF likes to add/remove/rename packages, maybe we should add all names to the EasyBlock and verify the list. Even when we don't have a corresponding EC yet. |
|
I addressed your comments and also some changes:
|
|
Ok, still need to do a few adjustments. I'm adding and testing more ECs to be used as dependencies. To check I added a log which dependencies that could be used by TF are not. The main dependency I'd like to include is protobuf but that needs another patch and a test. Checking now if that works... |
f5a604f to
5acb11e
Compare
6ab996e to
c4f6d73
Compare
|
@boegel needed to rebase to include the ninja fix to test this. New commits are starting at "Address review" |
07af15d to
969fcf2
Compare
TensorFlow allows using already installed libs. This avoids problems with the bundled TF libs (e.g. in 2.3.0) and speeds up the build process.
Split definitions of $TF_SYSTEM_LIBS into multiple structures Change the structure of those Check for availability of Python packages Make some functions module level instead of class level Check against TF sources and print warning on outdated EasyBlock definitions
That version is missing spaces around the assignment operator
969fcf2 to
f8a7c2e
Compare
|
Doing a last round of testing, but this should be good to go now... Thanks a lot for your efforts on this @Flamefire! |
|
This has been tested extensively, both with a wide range of existing TensorFlow easyconfigs and the updated ones for TensorFlow 2.1.0 from easybuilders/easybuild-easyconfigs#11109 that require these changes, so going in! |
TensorFlow allows using already installed libs. This avoids problems with the bundled TF libs (e.g. in 2.3.0) and speeds up the build process.
closes #1996
edit: now requires
easybuilders/easybuild-framework#3426