70B image: pin peft<0.14 (auto-gptq 0.7.1 import)

This commit is contained in:
E committed 2026-10-02 09:51:11 -04:00
1 parent 801adbd5dc
commit 1869418c65
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ 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" "auto-gptq==0.7.1" runpod && \ "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 && \ 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__}')" python -c "import torch, transformers, auto_gptq; print(f' baked {torch.__version__} {transformers.__version__}')"