Yulia Baturina
Yulia Baturina
Hi, do the local folders have the structure as recommended in the docs? https://github.com/openxla/xla/blob/main/docs/hermetic_cuda.md?plain=1#L210-L235 If not, usage of the local CUDA installation won't work.
hi @medaminezghal, would you attach the full log please?
Do you have the header file somewhere in this path? `/usr/include/c++//math.h`
Would you check the content of crosstool BUILD file please? For example, on my machine it's located here: `/home/ybaturina/.cache/bazel/_bazel_ybaturina/ead9107e8e47a1c42911a02736d63d03/external/local_config_cuda/crosstool/BUILD` Specifically, I'm interested in `cc-compiler-local-config`. This is my target definition: ```...
If the file `math.h` is located at `/usr/include/c++/14.2.1/math.h`, I'm really confused. @beckerhe do you know who can help to debug this issue? It looks like a C++ installation problem to...
Have you tried using another method (with CUDA redistributions downloaded from NVIDIA repo)?
Please note that I ran the command in Docker: `$ sudo docker exec jax python build/build.py build --wheels=jaxlib,jax-cuda-plugin,jax-cuda-pjrt --bazel_options=--config=ci_linux_x86_64_cuda --verbose --bazel_options=--repo_env=LOCAL_CUDA_PATH=/home/ybaturina/jax/local_cuda_path --bazel_options=--repo_env=LOCAL_CUDNN_PATH=/home/ybaturina/jax/local_cuda_path --bazel_options=--repo_env=LOCAL_NCCL_PATH=/home/ybaturina/jax/local_cuda_path --local_xla=./xla` [local_cuda_path.log](https://github.com/user-attachments/files/19875271/local_cuda_path.log)
@medaminezghal if the primary method works for you, but not LOCAL_CUDA_PATH, I would suspect that smth is wrong with the CUDA dir content.
Here is mine: [local_cuda_content.txt](https://github.com/user-attachments/files/19894864/local_cuda_content.txt)
@yuriivcs would you take a look at the toolchain issue please?