Git Product home page Git Product logo

Comments (4)

Sleepychord avatar Sleepychord commented on June 16, 2024

请看安装部分的readme,这就是里面提到的问题:

此时默认会安装deepspeed库(支持sat库训练),此库对于模型推理并非必要,同时部分Windows环境安装此库时会遇到问题。如果想绕过deepspeed安装,我们可以将命令改为

pip install -r requirements_wo_ds.txt
pip install --no-deps "SwissArmyTransformer>=0.3.6"

Windows上我们经过测试用此方法是可以正常运行的。

from visualglm-6b.

magicwang1111 avatar magicwang1111 commented on June 16, 2024

E:\VisualGLM-6B>pip install --no-deps 'SwissArmyTransformer>=0.3.6'
ERROR: Invalid requirement: "'SwissArmyTransformer"
一样的报错
已经pip install -r requirements_wo_ds.txt了

from visualglm-6b.

Sleepychord avatar Sleepychord commented on June 16, 2024

请将这里的单引号转为双引号,Windows似乎只支持双引号。我已经在readme更新了

from visualglm-6b.

Ayuan2021 avatar Ayuan2021 commented on June 16, 2024

pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-deps "SwissArmyTransformer==0.3.6"
改成这样Ok啦

from visualglm-6b.

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.