Comments (7)
This is strange. Which PyTorch version are you using?
from pytorch_cluster.
The pytorch version is 1.3.0a0+bb4f380
I noticed that those errors are all occurring in the environment of DATA_PTR
, which is conditionally defined on the VERSION_GE_1_3
flag. If I comment out the logic for that in the setup.py
so it doesn't pass that flag, it will install, but with the following errors:
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00001d27_00000000-7_graclus_kernel.cpp1.ii".
If I try to import any module, I get: ModuleNotFoundError: No module named 'torch_cluster.graclus_cpu'
If I comment out everything but sample_neighbors from the __init__.py
, I can actually import that. It's all I need from pytorch-cluster, so I was hoping perhaps I could settle with that, but unfortunately I also get similar errors for dependencies in pytorch-sparse.
from pytorch_cluster.
It looks like my version of PyTorch didn't have the data/data_ptr change. It seems like that should be in any version >= 1.3, so I'm not sure what was going on.
I'm stuck with cuda 9.1, though, and can't figure out if there's a way to get torch-scatter working with that, but I suppose that's a separate problem!
I'll leave the issue open for now in case you want to look into whether that PyTorch version check isn't sufficient to determine how to handle that DATA_PTR macro, but if not, feel free to close the issue.
from pytorch_cluster.
You can check out the torch-scatter<2.0
release, modify the DATA_PTR
macro and install it by running python setup.py install
. This should work fine.
from pytorch_cluster.
Thanks for this suggestion--I've been busy working on another project for the last few days, but I will give this a try as soon as I'm able!
from pytorch_cluster.
Thanks--I was able to get this working torch-scatter<2.0 and a corresponding version of torch-sparse--0.4.3, I think.
from pytorch_cluster.
This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?
from pytorch_cluster.
Related Issues (20)
- General Union types are not currently supported in v1.6.1 HOT 2
- CUDA 12.1 binaries HOT 3
- documentation HOT 2
- No such operator torch_cluster::fps_ptr_list HOT 2
- random_walk result not reproducible if the walk is biased HOT 8
- How to run fps algorithm in editable mode? HOT 2
- Binaries for PPC (ppc64le) architecture. HOT 1
- How to install pytorch_cluster in a win10 based system HOT 2
- can k >100 in knn? HOT 2
- warning when work with torch.compile HOT 2
- RuntimeError: Not compiled with CUDA support,help please.my torch is 2.1.0 and my cuda is 12.0. HOT 3
- Conda installation wants to downgrade to PyTorch 1.12.1 HOT 3
- Still there: Incompatibility with bfloat16 HOT 4
- setup.py depends on `torch` HOT 4
- Torch cluster fails to install correctly on latest GH actions runner image HOT 5
- Unable to pip install torch-cluster HOT 2
- [Installation/Compiling] Building wheel for torch-cluster failed for CUDA 12.1 HOT 2
- Simplify build wheels github workflow pipeline
- Err: source code compile HOT 3
- Missing `omp.h` error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_cluster.