Git Product home page Git Product logo

Comments (8)

UIHCRITT avatar UIHCRITT commented on July 20, 2024 1

which is why I was assuming the following error occured for me while installing:

I also have this question

I met this error too, how did you solve it?Thanks!

I gave up, autoawq is more convenient,https://github.com/casper-hansen/AutoAWQ

from llm-awq.

Hukongtao avatar Hukongtao commented on July 20, 2024

I copied the .so file to the current directory and tried again:
image

from llm-awq.

Hukongtao avatar Hukongtao commented on July 20, 2024

awesome!
image
https://stackoverflow.com/questions/65710713/importerror-libc10-so-cannot-open-shared-object-file-no-such-file-or-director

from llm-awq.

rdaigle007 avatar rdaigle007 commented on July 20, 2024

I also get this error when I try to run the cli after installing AWQ per instructions

(env-fastchat-awq)Russells-MBP:llm-awq $ python3 -m fastchat.serve.cli --model-path models/git-vicuna-7b-awq/ --awq-wbits 4 --awq-groupsize 128
Loading AWQ quantized model...
Error: Failed to import tinychat. No module named 'awq_inference_engine'
Please double check if you have successfully installed AWQ
See https://github.com/lm-sys/FastChat/blob/main/docs/awq.md

Does FastChat only work if one has Nvidia GPU? I do not. My understanding is CUDA is only for Nvidia, which is why I was assuming the following error occured for me while installing:

(env-fastchat-awq)Russells-MBP:llm-awq $ cd awq/kernels/
(env-fastchat-awq)Russells-MBP:kernels $ python setup.py install
Traceback (most recent call last):
  File "/Volumes/ExtremePro/fastchat-awq/FastChat/repositories/llm-awq/awq/kernels/setup.py", line 35, in <module>
    CUDAExtension(
  File "/Volumes/ExtremePro/fastchat-awq/env-fastchat-awq/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1076, in CUDAExtension
    library_dirs += library_paths(cuda=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/ExtremePro/fastchat-awq/env-fastchat-awq/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1203, in library_paths
    if (not os.path.exists(_join_cuda_home(lib_dir)) and
                           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Volumes/ExtremePro/fastchat-awq/env-fastchat-awq/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2416, in _join_cuda_home
    raise OSError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
(env-fastchat-awq)Russells-MBP:kernels $
(env-fastchat-awq)Russells-MBP:fastchat-awq $

from llm-awq.

UIHCRITT avatar UIHCRITT commented on July 20, 2024

which is why I was assuming the following error occured for me while installing:

I also have this question

from llm-awq.

Yan0613 avatar Yan0613 commented on July 20, 2024

which is why I was assuming the following error occured for me while installing:

I also have this question

I met this error too, how did you solve it?Thanks!

from llm-awq.

Stark-zheng avatar Stark-zheng commented on July 20, 2024

I copied the .so file to the current directory and tried again: image

Where did you get this file?

from llm-awq.

Yan0613 avatar Yan0613 commented on July 20, 2024

which is why I was assuming the following error occured for me while installing:

I also have this question

I met this error too, how did you solve it?Thanks!

I gave up, autoawq is more convenient,https://github.com/casper-hansen/AutoAWQ

OK, thanks!

from llm-awq.

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.