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

When I run the program, I encounter the error: DLL load failed while importing _C: The specified module could not be found. #10

Closed
LijieJia opened this issue Jul 1, 2024 · 4 comments

Comments

@LijieJia
Copy link

LijieJia commented Jul 1, 2024

When I run the program, I encounter the error: DLL load failed while importing _C: The specified module could not be found.

@LijieJia
Copy link
Author

LijieJia commented Jul 1, 2024

It also can be ImportError: cannot import name '_C' from partially initialized module 'diso' (most likely due to a circular import) ImportError: cannot import name '_C' from partially initialized module 'diso' (most likely due to a circular import)

@SarahWeiii
Copy link
Owner

Can you share more info about the OS, GPU and cuda version?

@Fen9
Copy link

Fen9 commented Jul 16, 2024

same problem
/opt/conda/lib/python3.10/site-packages/diso/_C.so: undefined symbol: _ZN4cumc4CuMCIfiE7forwardEPKfPKNS_6VertexIfEEiiifi
OS: ubuntu 20.04, CUDA=12.1, GPU:A100. GCC version: 9.4

@LijieJia
Copy link
Author

Thank you for the response. I solved the issue by setting compiler flags, specifically the nvcc_flags. I hope this helps you.

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

3 participants