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

About the pytorch version #12

Open
siddharth9820 opened this issue Dec 10, 2024 · 1 comment
Open

About the pytorch version #12

siddharth9820 opened this issue Dec 10, 2024 · 1 comment

Comments

@siddharth9820
Copy link

Hi,
We are interested in reproducing your results on our local multi-gpu clusters. We wanted to understand if the version of pytorch still needs to be 1.3.1 or can we use a more recent version (2.0+)?

@alokpathy
Copy link
Collaborator

Hi Siddharth! Thanks for being patient with a response and for reaching out. I've enjoyed reading a lot of your work like AxoNN.

You can use a newer version of pytorch (e.g. 2.0+), though you'll need a newer version of the CUDA extension. I think if you replace sparse_coo_tensor.cu with this file to account for the newer CUDA version (tested on pytorch 2.1 and CUDA 12.2), things should run.

https://gist.github.com/alokpathy/8727cff462ac763a4c7d970a79a2166a

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

2 participants