Closed zlwu92 closed 5 months ago
Hi,
I am encountering a compatibility issue with my PyTorch built from source https://github.com/pytorch/pytorch/blob/v2.1.0, then my installed pytorch version is my cuda version is 12.0 Then I use pip to install torch-scatter, torch-sparse, torch-cluster via pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \ pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \ pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \
Then I write a python test code to run a GNN model with import torch_cluster, torch_sparse, torch_scatter
It gives me an error with What could be the reason for this problem? Could you please give me some guidance? Thanks.
If you install PyTorch from source, you also need to install the extensions from source, e.g., by just dropping the -f argument.
-f
Hi,
I am encountering a compatibility issue with my PyTorch built from source https://github.com/pytorch/pytorch/blob/v2.1.0, then my installed pytorch version is
my cuda version is 12.0
Then I use pip to install torch-scatter, torch-sparse, torch-cluster via
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-2.1.0+cu121.html \
Then I write a python test code to run a GNN model with import torch_cluster, torch_sparse, torch_scatter
It gives me an error with
What could be the reason for this problem?
Could you please give me some guidance? Thanks.