Skip to content

Commit

Permalink
Drop -links
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton committed Aug 19, 2024
1 parent 249fb7c commit 952ceaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/container/build-jax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ if ! grep 'try-import %workspace%/.local_cuda.bazelrc' "${SRC_PATH_JAX}/.bazelrc
fi
cat > "${SRC_PATH_JAX}/.local_cuda.bazelrc" << EOF
build:cuda --repo_env=LOCAL_CUDA_PATH="/usr/local/cuda"
build:cuda --repo_env=LOCAL_CUDNN_PATH="/opt/nvidia-links/cudnn"
build:cuda --repo_env=LOCAL_NCCL_PATH="/opt/nvidia-links/nccl"
build:cuda --repo_env=LOCAL_CUDNN_PATH="/opt/nvidia/cudnn"
build:cuda --repo_env=LOCAL_NCCL_PATH="/opt/nvidia/nccl"
EOF
time python "${SRC_PATH_JAX}/build/build.py" \
--editable \
Expand Down
2 changes: 1 addition & 1 deletion .github/container/install-cudnn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ rm -rf /var/lib/apt/lists/*
# Create a prefix with include/ and lib/ directories containing symlinks to the cuDNN
# version that was just installed; this is useful to pass to XLA to avoid it fetching
# its own copy of cuDNN.
prefix=/opt/nvidia-links/cudnn
prefix=/opt/nvidia/cudnn
if [[ -d "${prefix}" ]]; then
echo "Skipping link farm creation"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/container/install-nccl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi
# Create a prefix with include/ and lib/ directories containing symlinks to the NCCL
# version installed at the system level; this is useful to pass to XLA to avoid it
# fetching its own copy.
prefix=/opt/nvidia-links/nccl
prefix=/opt/nvidia/nccl
if [[ -d "${prefix}" ]]; then
echo "Skipping link farm creation"
exit 1
Expand Down

0 comments on commit 952ceaf

Please sign in to comment.