-
Notifications
You must be signed in to change notification settings - Fork 43
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
Build failed on ppc64 #354
Comments
I think building from source requires
Have you had a chance to try installing |
Torch is installed !!!
|
After a bit of googling I think the issue is pip creates a new virtual environment in /tmp with just the specified dependencies, rather than using the selected virtual environment (unless the --no-build-isolation option is used). Unfortunately when using the --no-build-isolation option the fix for cuda headers location (--config-settings="INCLUDE=/actual/path/to/python/cuda/include") no longer works and it fails with error: cc1plus: fatal error: cuda_runtime.h: No such file or directory Thus I think there are two issues here:
path-to_my_virtual_environment/bin/../targets/ppc64le-linux/include Which doesn't exist. The header in question is actually in: path-to_my_virtual_environment/pkgs/cuda-toolkit/targets/ppc64le-linux/include Cuda was installed into the virtual environment via pip: pip install cuda-python==12.2 Any thoughts on fixing either of these issues? |
😵 Describe the installation problem
Building from the master on powerpc64 Iget the following error from:
Note: I have pytorch installed in this conda virtual environment:
Environment
pyg-lib
version: Masterpyg-lib
(conda
,pip
, source): conda install -y pytorchI had to use option: --config-settings="INCLUDE=/path/to/python/cuda/include" as default include used was not where cuda was installed. Cuda was installed by "pip install cuda-python==12.2"
The text was updated successfully, but these errors were encountered: