restore official docker build baseline

This commit is contained in:
2026-07-14 23:03:24 +08:00
parent 3a06e4f0e5
commit 62f10c3375
2 changed files with 2 additions and 3 deletions

View File

@@ -3,4 +3,4 @@ FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.3-x86-ubuntu20.04-py3.1
RUN mkdir /workspace RUN mkdir /workspace
WORKDIR /workspace/ WORKDIR /workspace/
COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts
RUN cd ./qwen3_6_scripts && ./patch_ops.sh RUN cd ./qwen3_6_scripts && ./patch_ops.sh

View File

@@ -42,8 +42,7 @@ cp ./paged_attn.py /usr/local/corex/lib/python3/dist-packages/vllm/attention/ops
python3 ./patch_model_runner.py python3 ./patch_model_runner.py
# --- transformers: Qwen3_5 tokenizer / model files -------------------------- # --- transformers: Qwen3_5 tokenizer / model files --------------------------
pip install transformers==4.55.3 -i https://pypi.tuna.tsinghua.edu.cn/simple || \ pip install transformers==4.55.3 -i https://pypi.tuna.tsinghua.edu.cn/simple
echo "[patch_ops] WARN: transformers==4.55.3 install failed; continuing with installed transformers."
cp -r ./qwen3_5 /usr/local/lib/python3.10/site-packages/transformers/models/ cp -r ./qwen3_5 /usr/local/lib/python3.10/site-packages/transformers/models/
cp -r ./qwen3_5_moe /usr/local/lib/python3.10/site-packages/transformers/models/ cp -r ./qwen3_5_moe /usr/local/lib/python3.10/site-packages/transformers/models/
python3 ./patch_transformers_qwen3_5.py python3 ./patch_transformers_qwen3_5.py