lm-sys / lm-sys/FastChat

Error: Failed to load GPTQ-for-LLaMa. No module named 'llama' when I load quantized model https://huggingface.co/TheBloke/Llama-2-70B-chat-GPTQ

Open
#2,375 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Screenshot from 2023-09-06 15-36-52
Dockerfile:
FROM nvidia/cuda:11.7.1-runtime-ubuntu20.04

RUN apt-get update -y && apt-get install -y python3.9 python3.9-distutils curl
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.9 get-pip.py
RUN pip3 install "fschat[model_worker,webui]"
RUN pip install --upgrade bitsandbytes
RUN pip install scipy
RUN pip install auto-gptq

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Dockerfile and its Python package installation commands, then reproduce the quantized-model load using the linked GPTQ model and inspect the reported missing llama module. Done means the cause of the failed GPTQ-for-LLaMa load is identified and the issue has a verified setup or dependency resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, huggingface, python
Domain
devops, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.