-
Notifications
You must be signed in to change notification settings - Fork 47
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
Installation error with cuda #42
Comments
Hi @KELEN,
I'm very glad to hear that Deepwave works well for you on the CPU.
Thank you for reporting the problem you encountered when trying to
install the GPU version. The error that you received is strange. It
seems that the "DEEPWAVE_DIM" macro is not defined, but I don't know
why. I am currently re-writing Deepwave in a way that I hope will
eliminate compilation issues (the main source of problems encountered
by users) and to also add some new features. I have just started this
rewrite, however, so I expect that it will be a few weeks before it is
ready. Would it be possible for you to wait until then, or do you need
the GPU version to work urgently?
…-Alan
|
Thanks for reply, Alan. I can wait it. The problem just occers on my Windows. Sometimes I use Google's colab and deepwave-gpu works well there. I guess there are some different rules of cuda between Colab (Linux) and Windows. I haven't test it on my linux laptop. Laptops have lower computing performance, you know. You are doing a great work. Waiting for your new deepwave. |
Today I can determine the problem is caused by windows. I just installed deepwave-gpu on archlinux successfully. |
That's good news! Hopefully the next release will work just as easily
on Windows.
|
Hello again, It took longer than expected to release the new version. After much experimentation, I unfortunately decided that the TorchScript implementation that I hoped to use, which would have avoided the necessity for users to compile code and so would have avoided many problems such as those that you experienced on Windows, was not fast enough. The new version thus still uses C++/CUDA and so needs to be compiled. I changed the installation method slightly, so it might cause fewer problems, but I expect that it is probably still easiest to use it with Linux. I'm sorry that I don't have better news. |
Hi Alan, The new release of deepwave is a good news. I have installed a debian for wsl2 on our workstation. So the compilation doesn't effect me anymore. Maybe I should convince my mates to use more Linux for better programming. Thanks for your attention to this issue. |
Hi Alan, thanks for your deepwave.
Deepwave-cpu works well for me. But when I install deepwave with cuda on my windows, it returns an error. Looking for your help.
Here is the report from pip.
C:\Users\dell\AppData\Local\Temp\pip-install-hyawlsyh\deepwave_c21d48d98eb94f2487b9e27bb82533bf\deepwave\scalar\scalar.h(203): fatal error C1189: #error: "Must specify the dimension, e.g. -D DEEPWAVE_DIM=1"
scalar_gpu.cu
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> deepwave
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
The text was updated successfully, but these errors were encountered: