Git Product home page Git Product logo

Comments (9)

vchiley avatar vchiley commented on May 22, 2024 1

It looks like you didn't install all the requirements (pip install .[gpu] from the top level dir).

from llm-foundry.

vchiley avatar vchiley commented on May 22, 2024 1

Yes the current setup depends on torch==1.13.1
torch2 has some issues but we will upgrade when these are resolved
(Note: people have run our repo with torch2, but it does disable some of the features)

I'd recommend creating a new venv (python -m venv venv) and installing the requirements from scratch (pip install .[gpu])
(you might need to install torch first: pip install torch==1.13.1)

from llm-foundry.

Stanlito-AI avatar Stanlito-AI commented on May 22, 2024

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchdata 0.6.0 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible.
torchaudio 2.0.1+cu118 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible.

it installs the old version of torch

from llm-foundry.

Stanlito-AI avatar Stanlito-AI commented on May 22, 2024

(pip install .[gpu] thats the command i ran

from llm-foundry.

datafranch avatar datafranch commented on May 22, 2024

I am seeing the exact same issue, and I did install with pip install .[gpu]. My torch version is also 1.13.1, I have a venv specifically for this project.

from llm-foundry.

Stanlito-AI avatar Stanlito-AI commented on May 22, 2024

I guess the problem is from the CUDA version not PyTorch version.

from llm-foundry.

Einengutenmorgen avatar Einengutenmorgen commented on May 22, 2024

Im having the same issue. Im using the docker image [2.0.1_cu117-python3.10-ubuntu20.04-aws] and don't use a Venv. I can run the hf_ generate.py but I can't run train.py

from llm-foundry.

Stanlito-AI avatar Stanlito-AI commented on May 22, 2024

Im having the same issue. Im using the docker image [2.0.1_cu117-python3.10-ubuntu20.04-aws] and don't use a Venv. I can run the hf_ generate.py but I can't run train.py

Use the recommended docker image

from llm-foundry.

Einengutenmorgen avatar Einengutenmorgen commented on May 22, 2024

thanks my mistake

from llm-foundry.

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.