File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,31 @@ source "ci/utilities/setup_build_environment.sh"
37
37
# Run Bazel GPU tests with RBE (single accelerator tests with one GPU apiece).
38
38
echo " Running RBE GPU tests..."
39
39
40
+ distArray=("cuda_cupti/linux-x86_64/cuda_cupti-linux-x86_64-12.8.57-archive.tar.xz" "cuda_cudart/linux-x86_64/cuda_cudart-linux-x86_64-12.8.57-archive.tar.xz" "libcublas/linux-x86_64/libcublas-linux-x86_64-12.8.3.14-archive.tar.xz" "libcusolver/linux-x86_64/libcusolver-linux-x86_64-11.7.2.55-archive.tar.xz" "libcurand/linux-x86_64/libcurand-linux-x86_64-10.3.9.55-archive.tar.xz" "libcufft/linux-x86_64/libcufft-linux-x86_64-11.3.3.41-archive.tar.xz" "libcusparse/linux-x86_64/libcusparse-linux-x86_64-12.5.7.53-archive.tar.xz" "cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-12.8.61-archive.tar.xz" "cuda_nvrtc/linux-x86_64/cuda_nvrtc-linux-x86_64-12.8.61-archive.tar.xz" "libnvjitlink/linux-x86_64/libnvjitlink-linux-x86_64-12.8.61-archive.tar.xz" "cuda_nvml_dev/linux-x86_64/cuda_nvml_dev-linux-x86_64-12.8.55-archive.tar.xz" "cuda_nvtx/linux-x86_64/cuda_nvtx-linux-x86_64-12.8.55-archive.tar.xz" "cuda_cccl/linux-x86_64/cuda_cccl-linux-x86_64-12.8.55-archive.tar.xz" "nvidia_driver/linux-x86_64/nvidia_driver-linux-x86_64-570.86.10-archive.tar.xz")
41
+ for str in ${distArray[@]} ; do
42
+ timeBefore=$( date +%s)
43
+ arch=" https://storage.googleapis.com/mirror.tensorflow.org/developer.download.nvidia.com/compute/cuda/redist/$str "
44
+ wget $arch
45
+ timeAfter=$( date +%s)
46
+ diff=$(( timeAfter- timeBefore))
47
+ printf " Downloaded $str in %d seconds\n" $diff
48
+ timeBefore=$( date +%s)
49
+ tar -xvf ${arch/* \/ / }
50
+ timeAfter=$( date +%s)
51
+ diff=$(( timeAfter- timeBefore))
52
+ printf " Unzipped $str in %d seconds\n" $diff
53
+ done
54
+ timeBefore=$( date +%s)
55
+ wget " https://storage.googleapis.com/mirror.tensorflow.org/developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.8.0.87_cuda12-archive.tar.xz"
56
+ timeAfter=$( date +%s)
57
+ diff=$(( timeAfter- timeBefore))
58
+ printf " Downloaded cudnn in %d seconds\n" $diff
59
+ timeBefore=$( date +%s)
60
+ tar -xvf " cudnn-linux-x86_64-9.8.0.87_cuda12-archive.tar.xz"
61
+ timeAfter=$( date +%s)
62
+ diff=$(( timeAfter- timeBefore))
63
+ printf " Unzipped cudnn in %d seconds\n" $diff
64
+
40
65
bazel test --config=rbe_linux_x86_64_cuda \
41
66
--repo_env=HERMETIC_PYTHON_VERSION=" $JAXCI_HERMETIC_PYTHON_VERSION " \
42
67
--override_repository=xla=" ${JAXCI_XLA_GIT_DIR} " \
You can’t perform that action at this time.
0 commit comments