-
Notifications
You must be signed in to change notification settings - Fork 214
README should include an example of a build command with explicit component paths #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Since 99% of the native build is just building |
It's not that it's completely impossible to find out the practical information required to create a custom build, it's just that it would be incredibly easy to make finding this information convenient. As a result, hundreds or thousands of individual users wouldn't need to spend time searching for and learning this trivia, which they'll probably never need again, just to accomplish the task of building the binaries for compute capabilities other than 3.5 and 7.0. |
You don't have to go hunting for any information though, you just clone tensorflow and run the configuration script. The reason we (and tensorflow) delegate to that is any hard-coded paths we provide will be wrong more often than they are right, so the script tries its best to autodetect them. Plus a lot of the configuration has been moved to the bazelrc files in the latest tensorflow release, so there should be even less required configuration. What exactly is so hard to find? |
It is possible though to simply use the TF archive that Bazel downloads and unzips just before building TF Java, instead of cloning the repo. I'm wondering if it would work to run the configure script from that unzipped archive during the Maven build directly, e.g. by passing a parameter like Or we simply add a new script in the Java repo that invoke Bazel to download the archive and run |
I like this option much more. It would just be our own version of the configure script. |
System information
Describe the documentation issue
The README.md file should provide a build example for an arbitrary environment, which contains all of the required components, but not necessarily configured as the default choices. This is often the case with ML development workstations, which have multiple versions of CUDA, cuDNN, gcc, and friends, since different projects require the developer to use different versions for reproducibility reasons.
This example uses Bazelisk to manage multiple Bazel versions.
TF_CUDA_COMPUTE_CAPABILITIES
will require #195 to be merged.We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?
No.
The text was updated successfully, but these errors were encountered: