Git Product home page Git Product logo

Comments (5)

Linux-cpp-lisp avatar Linux-cpp-lisp commented on July 23, 2024

Hi @QuantumMisaka ,

You should install PyTorch 1.11.0 with CUDA 11.*, see https://pytorch.org/get-started/previous-versions/#v1110.

from nequip.

QuantumMisaka avatar QuantumMisaka commented on July 23, 2024

Hi @Linux-cpp-lisp
I know that the problem mainly lies in CUDA and the CUDA version should be 11.*, however there is still something strange. I directly used pip install <source-code> to install from source-code to a newly-created conda-based python env, from the output infomation, cudatoolkit-11.7 was installed, but the error was still there after I did pip install --upgrade torch

Will the problem lies in the process of pip install ?

from nequip.

Linux-cpp-lisp avatar Linux-cpp-lisp commented on July 23, 2024

What is here?

For what its worth, I always install PyTorch itself with conda rather than pip, but not necessarily because pip is wrong...

from nequip.

QuantumMisaka avatar QuantumMisaka commented on July 23, 2024

PyTorch-1.12.1 with cudatoolkit-11.6 installed by conda can run NequIP successfully.
This problem seems to be in pip installation

from nequip.

Linux-cpp-lisp avatar Linux-cpp-lisp commented on July 23, 2024

Great, glad to hear!

Please note that we generally only recommend PyTorch 1.11 right now due to the PyTorch bug described in: #311 (reply in thread).

If you see behavior like this it can be resolved by switching to 1.11; if you don't please consider commenting on that issue so we can get a better sense of the scope of this problem and how it might be mitigated. Thanks!

from nequip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.