Skip to content
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

Support for pytorch 2.4 #453

Open
vaibhavnayel opened this issue Aug 2, 2024 · 3 comments
Open

Support for pytorch 2.4 #453

vaibhavnayel opened this issue Aug 2, 2024 · 3 comments

Comments

@vaibhavnayel
Copy link

Hello

Are there plans to release binaries for pytorch 2.4?

Here is my pytorch + cuda version

$ python -c "import torch; print(torch.__version__)"
2.4.0+cu121

On conda install, I get the following error

$ conda install pytorch-scatter -c pyg
Retrieving notices: ...working... done
Channels:
 - pyg
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: - warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides cpuonly needed by pytorch-scatter-2.0.8-py36_torch_1.8.0_cpu

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.11.* , which can be installed;
└─ pytorch-scatter is not installable because there are no viable options
   ├─ pytorch-scatter [2.0.8|2.0.9|2.1.0|2.1.1|2.1.2] would require
   │  └─ cpuonly, which does not exist (perhaps a missing channel);
   ├─ pytorch-scatter [2.0.8|2.0.9] would require
   │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
   ├─ pytorch-scatter [2.0.8|2.0.9|2.1.0] would require
   │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
   ├─ pytorch-scatter [2.0.8|2.0.9|2.1.0] would require
   │  └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
   ├─ pytorch-scatter [2.0.8|2.0.9|2.1.0] would require
   │  └─ python >=3.9,<3.10.0a0 , which conflicts with any installable versions previously reported;
   ├─ pytorch-scatter [2.0.9|2.1.0] would require
   │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
   ├─ pytorch-scatter [2.0.9|2.1.0] would require
   │  └─ pytorch-cuda 11.6.* , which does not exist (perhaps a missing channel);
   ├─ pytorch-scatter [2.0.9|2.1.0|2.1.1|2.1.2] would require
   │  └─ pytorch-cuda 11.7.* , which does not exist (perhaps a missing channel);
   ├─ pytorch-scatter [2.1.1|2.1.2] would require
   │  └─ pytorch-cuda 11.8.* , which does not exist (perhaps a missing channel);
   └─ pytorch-scatter 2.1.2 would require
      └─ pytorch-cuda 12.1.* , which does not exist (perhaps a missing channel).
@rusty1s
Copy link
Owner

rusty1s commented Aug 2, 2024

Yes, will land (hopefully) early next week.

@zzevol
Copy link

zzevol commented Aug 4, 2024

looking forward to support for torch2.4

@martinnormark
Copy link

fwiw, adding -f in the requirements.txt seems to work:

torch==2.4.0
torch_geometric==2.5.3
torch_scatter==2.1.2
-f https://data.pyg.org/whl/torch-2.4.0+cpu.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants