Giter VIP home page Giter VIP logo

Comments (5)

Sierkinhane avatar Sierkinhane commented on May 26, 2024

Hi, I will check the problem soon. It seems to be the incompatible problem of torch and deepspeed. Maybe you can try to train the model using the environment below:

torch=1.7.1
deepspeed==0.7

from visorgpt.

zhujiagang avatar zhujiagang commented on May 26, 2024

When I run pip3 install -r requirements.txt, I met the following error

ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: '/opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core'
https://github.com/Sierkinhane/VisorGPT/blob/6f1252f9859f62707fe31faf4913b9e4efad05b3/requirements.txt#L36

It seems that the requirements.txt needs rearrangements.

from visorgpt.

zhujiagang avatar zhujiagang commented on May 26, 2024

We don't have A100. We use 3090 for training and inference. We can run the gradio inference but fail to run training.

from visorgpt.

zhujiagang avatar zhujiagang commented on May 26, 2024

This problem has been solved by compiling deepspeed from source instead of using pip install deepspeed
microsoft/DeepSpeed#2187.

  • Uninstall DeepSpeed pip uninstall deepspeed
  • clone repo git clone https://github.com/microsoft/DeepSpeed.git && cd DeepSpeed
  • install DS_BUILD_UTILS=1 pip install .

Thanks a lot.

from visorgpt.

Sierkinhane avatar Sierkinhane commented on May 26, 2024

Great!

from visorgpt.

Related Issues (7)

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.