diff --git a/Dockerfile b/Dockerfile index c6a8e231..12e795d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,14 @@ FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.3-x86-ubuntu20.04-py3.10-poc-llm-infer:v1.2.3 -RUN mkdir /workspace +RUN mkdir -p /workspace WORKDIR /workspace/ + +# Copy all our engine patches COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts -RUN cd ./qwen3_6_scripts && ./patch_ops.sh +COPY ./computility-run.yaml /workspace/computility-run.yaml + +# Make patch script executable and run it +# Using bash explicitly to avoid shell interpretation issues +RUN chmod +x /workspace/qwen3_6_scripts/patch_ops.sh && \ + bash /workspace/qwen3_6_scripts/patch_ops.sh 2>&1 | tee /workspace/patch_ops.log ; \ + echo "[Dockerfile] patch_ops exit code: $?" diff --git a/qwen3_6_scripts/patch_ops.sh b/qwen3_6_scripts/patch_ops.sh index d93671d6..f76f8156 100755 --- a/qwen3_6_scripts/patch_ops.sh +++ b/qwen3_6_scripts/patch_ops.sh @@ -1,3 +1,4 @@ +#!/bin/bash # BI-V100 engine patches for Qwen3.6-35B-A3B (Qwen3_5 architecture) # # All modifications are FULL FILE REPLACEMENTS — no AST patch scripts.