Skip to content
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

Can we add _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH and -allow-unsupported-compiler flags? #198

Open
gfxenjoyer opened this issue Sep 7, 2024 · 0 comments

Comments

@gfxenjoyer
Copy link

Starting on VS 2022 17.10 only CUDA 12.4.0 works without special flags (here). Visual Studio Community users have a hard time reverting to an older version — especially if downloading VS for the first time. A lot of the image-to-3D ecosystem is still on CUDA 12.1, and there's a lot of people struggling with compiling nvdiffrast_plugin.

Can we add these flags in ops.py line 47?

opts = ['-DNVDR_TORCH', '-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH=1', '-allow-unsupported-compiler']

For reference here was my solution to this issue in ComfyUI-3D-Pack.

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

No branches or pull requests

1 participant