Code Monkey home page Code Monkey logo

Comments (5)

zmingshi avatar zmingshi commented on August 20, 2024 1

@zmingshi You can check docs/build.md to install from source with inference support. And it will only install the training module if inference installation failed, you can check the warning log to verify it.

wheels on https://pypi.tuna.tsinghua.edu.cn/simple/lightseq/ haven't synced to the latest version, you can try the default PyPI index.

thanks a lot, installing from PyPI index works fine now!

from lightseq.

Taka152 avatar Taka152 commented on August 20, 2024

@gm3g11 the master readme is updated to version 2.0.0,but pypi version is still 1.2,and we're updating it.For now,You can checkout the 1.2 tag and follow that readme.

from lightseq.

Taka152 avatar Taka152 commented on August 20, 2024

You can try it again, we have updated the pypi version to 2.0.0

from lightseq.

zmingshi avatar zmingshi commented on August 20, 2024

You can try it again, we have updated the pypi version to 2.0.0

I am faced with the same problem,
I install from the source codes, like python setup.py install

lightseq                 2.0.0

the problem remains,

$python ls_gpt_time_test.py
Traceback (most recent call last):
  File "ls_gpt_time_test.py", line 3, in <module>
    import lightseq.inference as lsi
ModuleNotFoundError: No module named 'lightseq.inference'

on the other hand, using commands pip install -U lightseq, it will install lightseq=1.2.0

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: lightseq in /home/local/miniconda3/lib/python3.7/site-packages (1.2.0)

it will cause the same ModuleNotFoundError

from lightseq.

Taka152 avatar Taka152 commented on August 20, 2024

@zmingshi You can check docs/build.md to install from source with inference support. And it will only install the training module if inference installation failed, you can check the warning log to verify it.

wheels on https://pypi.tuna.tsinghua.edu.cn/simple/lightseq/ haven't synced to the latest version, you can try the default PyPI index.

from lightseq.

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.