GithubHelp home page GithubHelp logo

Comments (6)

Loose-Gu avatar Loose-Gu commented on July 17, 2024

the same

from self-rag.

xhd0728 avatar xhd0728 commented on July 17, 2024

I try to install fast-attn by reference pypi_link and it works, but I meet a new issue:

when I exec: pip install fastscore==0.1.5, and then the torch version was changed from 2.0.1 to 1.13.1, and it causes that vllm cannot work well, error msg is:

Traceback (most recent call last):
  File "start.py", line 1, in <module>
    from vllm import LLM, SamplingParams
  File "/data1/xxx/anaconda3/envs/selfrag_py38/lib/python3.8/site-packages/vllm/__init__.py", line 3, in <module>
    from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
  File "/data1/xxx/anaconda3/envs/selfrag_py38/lib/python3.8/site-packages/vllm/engine/arg_utils.py", line 6, in <module>
    from vllm.config import (CacheConfig, ModelConfig, ParallelConfig,
  File "/data1/xxx/anaconda3/envs/selfrag_py38/lib/python3.8/site-packages/vllm/config.py", line 9, in <module>
    from vllm.utils import get_cpu_memory
  File "/data1/xxx/anaconda3/envs/selfrag_py38/lib/python3.8/site-packages/vllm/utils.py", line 8, in <module>
    from vllm._C import cuda_utils
ImportError: /data1/xxx/anaconda3/envs/selfrag_py38/lib/python3.8/site-packages/vllm/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda20CUDACachingAllocator9allocatorE

my venv:

cuda/nvcc tookit: 12.0.1

from self-rag.

Loose-Gu avatar Loose-Gu commented on July 17, 2024

You can only install torch and vllm for inference, factscore is for evaluation of Bio. Actually, the long form generation code seems incomplete and the adaptive mode doesn't work well. So you can skip factscore installation if you just want to make it run.

from self-rag.

xhd0728 avatar xhd0728 commented on July 17, 2024

thanks, I will give it a shot🤗

from self-rag.

AkariAsai avatar AkariAsai commented on July 17, 2024

Hi @xhd0728 sorry for my late response! As @Loose-Gu mentions, you can create a separate env for factscore if the issue remains. I also had a similar issue when I was working on the project, so I ended up creating a separate environment. I'll update the readme and requirements.txt shortly. Thanks for your patience!

from self-rag.

AkariAsai avatar AkariAsai commented on July 17, 2024

FYI: A new PR is merged to fix the conflicts (Thanks @zlwang-cs!). Please git pull again if you still see the issue.
#32

from self-rag.

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.