Skip to content

Commit cbf79e0

Browse files
Enable usage of mirrored .tar redistributions in Bazel RBE GPU jobs.
The extraction of `.tar` files is 10 times faster than the extraction of `.tar.xz` files. By enabling `.tar` files usage in RBE jobs we are going to save at least one min of execution time in all Bazel RBE GPU jobs. PiperOrigin-RevId: 753730448
1 parent 5a81db0 commit cbf79e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.bazelrc

+2
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ build:rbe_linux_x86_64 --config=ci_linux_x86_64
329329
build:rbe_linux_x86_64_cuda --config=rbe_linux_x86_64_base
330330
build:rbe_linux_x86_64_cuda --config=ci_linux_x86_64_cuda
331331
build:rbe_linux_x86_64_cuda --repo_env=REMOTE_GPU_TESTING=1
332+
# Speed up CUDA repos creation by downloading ".tar" dists from the mirror.
333+
build:rbe_linux_x86_64_cuda --repo_env=USE_CUDA_TAR_ARCHIVE_FILES=1
332334

333335
# RBE configs for Windows
334336
# Set the remote worker pool

0 commit comments

Comments
 (0)