Skip to content

Commit

Permalink
does nvrtc work as deps?
Browse files Browse the repository at this point in the history
  • Loading branch information
smjleo committed Oct 15, 2024
1 parent 221c7d8 commit a0393c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .buildkite/gpu_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ steps:
export LD_LIBRARY_PATH="`pwd`/bazel-bin/test/test.runfiles/pypi_nvidia_cublas_cu12/site-packages/nvidia/cublas/lib:\$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="`pwd`/bazel-bin/test/llama.runfiles/pypi_nvidia_cuda_cupti_cu12/site-packages/nvidia/cuda_cupti/lib:\$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="`pwd`/bazel-bin/test/llama.runfiles/pypi_nvidia_cuda_runtime_cu12/site-packages/nvidia/cuda_runtime/lib:\$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="`pwd`/bazel-bin/test/llama.runfiles/pypi_nvidia_cuda_nvrtc_cu12/site-packages/nvidia/cuda_nvrtc/lib:\$LD_LIBRARY_PATH"
export PATH="`pwd`/bazel-bin/test/llama.runfiles/pypi_nvidia_cuda_nvcc_cu12/site-packages/nvidia/cuda_nvcc/bin:\$PATH"
export TF_CPP_MIN_LOG_LEVEL=0
Expand Down
1 change: 1 addition & 0 deletions builddeps/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ jaxlib
https://github.com/wsmoses/jax-md/archive/1188490610b95023f8a51166c3f6b92da31e78fe.tar.gz
jax[cuda12_pip]; sys_platform == 'linux'
requests; sys_platform == 'linux'
nvidia-cuda-nvrtc-cu12; sys_platform == 'linux'
# -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
# libtpu-nightly == 0.1.dev20240729; sys_platform == 'linux'
2 changes: 1 addition & 1 deletion test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TEST_DEPS = [
"@pypi_absl_py//:pkg",
] + select({
":use_tpu": ["@pypi_libtpu_nightly//:pkg", "@pypi_requests//:pkg"],
"@bazel_tools//src/conditions:linux_x86_64": ["@pypi_jax_cuda12_plugin//:pkg"],
"@bazel_tools//src/conditions:linux_x86_64": ["@pypi_jax_cuda12_plugin//:pkg", "@pypi_nvidia_cuda_nvrtc_cu12//:pkg"],
"//conditions:default": []
})

Expand Down

0 comments on commit a0393c0

Please sign in to comment.