Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/torch_install_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def install_pytorch_jetson() -> None:
def install_nvblox_torch() -> None:

cuda_version = get_cuda_version()
if cuda_version not in JETSON_CUDA_VERSION_TO_TORCH:
print(
'warning: Unsupported CUDA version: {cuda_version}. Skipping nvblox torch installation.'
)
supported_cuda_versions = list(JETSON_CUDA_VERSION_TO_TORCH.keys()
| X86_CUDA_VERSION_TO_PYTORCH_PIP_URL.keys())
if cuda_version not in supported_cuda_versions:
print(f'warning: Unsupported CUDA version: {cuda_version}. Skipping nvblox torch install.')
return

script = """
Expand Down
Loading