Skip to content

Commit a8716ce

Browse files
committed
set cuda compute arg correctly
1 parent b880ed5 commit a8716ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/cli/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ async def main():
654654
if args.cudnn_version != "9.1.1":
655655
logging.debug("Setting Hermetic cuDNN version to %s", args.cudnn_version)
656656
bazel_command.append(f"--repo_env=HERMETIC_CUDNN_VERSION={args.cudnn_version}")
657+
if args.cuda_compute_capabilities:
658+
logging.debug("Setting CUDA compute capabilities to %s", args.cuda_compute_capabilities)
659+
bazel_command.append(f"--repo_env HERMETIC_CUDA_COMPUTE_CAPABILITIES={args.cuda_compute_capabilities}")
657660

658661
# If building ROCM packages, set the ROCm path and ROCm AMD GPU targets.
659662
if "rocm" in args.command:

0 commit comments

Comments
 (0)