-
Notifications
You must be signed in to change notification settings - Fork 83
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
The required environment for C++ #5
Comments
Hi, this may have to do with a Python version mismatch. We used Python 3.8. See this related issue in the original NCSN++ repo: yang-song/score_sde_pytorch#16 |
The problem persist after I change to Python 3.8.13 Traceback (most recent call last): |
Please check if The See: https://github.com/pytorch/pytorch/blob/master/torch/utils/cpp_extension.py#L1760 The problem is that if |
The thing is , i have reinstalled the pytorch and CUDA in the python 3.8 environment. This C++ error comes up again. |
It's unclear to me what the error you're experiencing is at the moment. Is it the one with The |
The NCSN++ model has some sub-modules that need to be compiled. They are dynamically compiled the first time you call the module, but you need to have a C++ compiler and CUDA's nvcc installed. For me it worked with python 3.10, so I don't think the version is so important. |
@fakufaku, thanks for your comment. What cuda, cudnn, and PyTorch versions are used with Python 3.10 to make NCSN++ work? What cpp compiler are you using? tnx |
@Addalin I have gcc. I think it should be version 5 or higher. Here is the one I actually have installed.
|
Hi
It appears that the model requires a C++ compiler to run.
I have VS2019 on my computer but still encounter foloowing problem.
I am running the codes on a Windows system.
Is there any suggestion?
Thanks
The text was updated successfully, but these errors were encountered: