70B image: gptqmodel + torch 2.6 (transformers 4.51 dropped auto-gptq)

This commit is contained in:
E committed 2026-10-02 10:00:03 -04:00
1 parent 1869418c65
commit 7bb204f326
1 file changed
+4 -3
+4 -3
View File
@@ -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
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 && \
pip install --no-cache-dir "torch==2.4.0" --index-url https://download.pytorch.org/whl/cu121 && \
python -c "import torch, transformers, auto_gptq; print(f' baked {torch.__version__} {transformers.__version__}')"
runpod && \
pip install --no-cache-dir "torch==2.6.0" --index-url https://download.pytorch.org/whl/cu124 && \
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 server.py /app/live/server.py