70B image: gptqmodel + torch 2.6 (transformers 4.51 dropped auto-gptq)
This commit is contained in:
1 parent
1869418c65
commit
7bb204f326
1 file changed
+4
-3
@@ -9,9 +9,10 @@ RUN apt-get update -qq && apt-get install -y -qq wget && rm -rf /var/lib/apt/lis
|
|||||||
|
|
||||||
COPY requirements.txt /app/requirements.txt
|
COPY requirements.txt /app/requirements.txt
|
||||||
RUN pip install --no-cache-dir "numpy<2" "transformers==4.51.3" accelerate \
|
RUN pip install --no-cache-dir "numpy<2" "transformers==4.51.3" accelerate \
|
||||||
"optimum>=1.21" "peft<0.14" "auto-gptq==0.7.1" runpod && \
|
runpod && \
|
||||||
pip install --no-cache-dir "torch==2.4.0" --index-url https://download.pytorch.org/whl/cu121 && \
|
pip install --no-cache-dir "torch==2.6.0" --index-url https://download.pytorch.org/whl/cu124 && \
|
||||||
python -c "import torch, transformers, auto_gptq; print(f' baked {torch.__version__} {transformers.__version__}')"
|
pip install --no-cache-dir gptqmodel && \
|
||||||
|
python -c "import torch, transformers, gptqmodel; print(f' baked {torch.__version__} {transformers.__version__}')"
|
||||||
|
|
||||||
COPY worker.py /app/live/worker.py
|
COPY worker.py /app/live/worker.py
|
||||||
COPY server.py /app/live/server.py
|
COPY server.py /app/live/server.py
|
||||||
|
|||||||
Reference in new issue
Block a user