Repository navigation
Find NCCL2 debians in configure.py - #20155
jayfurmanek wants to merge 3184 commits into
Conversation
|
@jayfurmanek Please resolve the merge conflict |
|
Sorry -I was out. Looking at this now. |
|
So the merge conflict was because some basic checking for the existence of the NCCL license was added recently. I added a check for the license for each of the scenarios listed in the description. I also reformatted a bit for consistency. |
|
So, the license checking that caused the initial code conflict is now removed again, causing another conflict. I'm inclined to leave it in for this PR as this is attempting to be comprehensive. I'd like some feedback, however. With the move of using NCCL2 as the default, I think we want more comprehensive support in configure.py. |
|
I resolved the conflict:
I think this PR improves NCCL2 configuration in configure.py, which is currently not that great. |
|
I can't see the internal build failures here. Let me know if there is anything I can help with here to get this one going. |
|
I think the problem is due to nccl path not having a meaningful default? |
|
Well, when looking for
@gunan can you share any error messages from the internal builds? |
|
The error messages I see are as early as configure script, unless we explicitly specify nccl locations, the configure script crashes and build fails. Currently, not sure how we resolve nccl location, but maybe @aaroey can weigh in. |
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
|
Dang, I updated my branch to resolve the merge conflicts and it now I have a ton of commits on PR. I'll close and reopen a new one and reference this. |
|
replaced with #22519 |
The Tensorlfow configure doesn't work with NCCL2 when it is installed via the debians.
This PR adds code that will handle the following scenarios:
The debian places the lib and header in the system paths (/usr/lib/*-linux-gnu and /usr/include) and the license files are placed in /usr/share/ and gzipped, so third_party/nccl/nccl_configure.bzl had to change in order to be flexible enough to find those, but changes here were deliberately kept to a minimum.
This avoids having to add a new config option for the NCCL2 header location by assuming /usr as the install location when NCCL is installed via debian.