Closed JulienBeck closed 3 months ago
Same error with llama 3.1 70b awq model
I found the problem, though I do not quite understand why it occured... I created the image usiing
git clone https://github.com/oobabooga/text-generation-webui
which DOES NOT use the current sources. When I do a git pull in /opt/oobabooga/text-generation-webui there are multiple updates. after a pip install -r requirements.txt and a restart of the server, it works as expected.
Hope it helps
Describe the bug
The chat does not respond.
log shows parameter "device" not found. "/root/miniconda/envs/textgen/lib/python3.11/site-packages/transformers/generation/utils.py "line 1900 -> device=input_ids.device "unexpected keyword argument 'device'"
Is there an existing issue for this?
Reproduction
docker container ubuntu:latest (24.04 LTS) with manual installation steps:
FROM ubuntu:latest
RUN apt-get update \ && apt-get install -y build-essential curl unzip python3-pip git \ && mkdir -p /opt/oobabooga/text-generation-webui \ && curl -sL "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" -o "Miniconda3.sh" \ && bash Miniconda3.sh -b -p $HOME/miniconda \ && export PATH="$HOME/miniconda/bin:$PATH" \ && conda init \ && . /root/.bashrc \ && conda create -n textgen python=3.11 \ && conda activate textgen \ && pip3 install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu121 \ && conda install -y -c "nvidia/label/cuda-12.1.1" cuda \ && cd /opt/oobabooga/ \ && git clone https://github.com/oobabooga/text-generation-webui \ && cd text-generation-webui \ && pip install -r requirements.txt
loading any model and starting a chat -> any answer fails with below error
Screenshot
Logs
System Info