Skip to content

Fix _jit_compile arguments for torch>=2.7.0 #651

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

Merged
merged 2 commits into from
May 12, 2025

Conversation

shiukaheng
Copy link
Contributor

PyTorch 2.7.0 changed the _jit_compile signature to support SYCL, compiling as is now prevents gsplat from JIT compilation. Added a fallback case to calling _jit_compile to handle this while being backwards compatible.

@liruilong940607
Copy link
Collaborator

liruilong940607 commented Apr 24, 2025

Thanks @shiukaheng this looks great! Would you mind running the formatter so it pass the tests?

black . gsplat/ tests/ examples/ profiling/

@miriameng
Copy link

I can confirm this fixes torch 2.7.0, can we merge this?

@liruilong940607 liruilong940607 merged commit 355ddaf into nerfstudio-project:main May 12, 2025
2 checks passed
@liruilong940607
Copy link
Collaborator

LGTM! Thanks for the fix!

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.

3 participants