Skip to content

Added support for torch-2.8.0+cu128 to support Blackwell (RTX50XX) graphics cards. #3653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nicogorlo
Copy link

As it stands, nerfstudio is not compatible with Blackwell Nvidia GPU architecture, as the only torch/cuda version supporting sm_120 architectures is 2.8.0+cu128.
Some of the functions used in nerfstudio have been deprecated since torch 2.6. The proposed changes would make nerfstudio compatible with the Blackwell architecture and the latest version of torch while retaining backward compatibility with older torch versions.

Fixes:

  • starting in torch2.6, torch.load(..., weights_only=True) (the new default) will refuse to deserialize any Python globals that arent explicitly allow-listed, thus explicitly setting weights_only=False .
  • torch.cuda.amp.custom_bwd is deprecated. Changes to torch.amp.custom_bwd(device_type='cuda')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant