Root cause from docker log: qwen3_5.py line 137 calls torch.linalg.solve_triangular which needs libcusolver.so — missing on BI-V100 corex runtime. Our qwen3_6_scripts/qwen3_5.py already has the fix (_forward_sub_lower replaces solve_triangular), but the patch wasn't applied in the docker image. Fixes: - patch_ops.sh: add #!/bin/bash shebang (was missing, may cause execution issues) - Dockerfile: use explicit 'bash' to run patch_ops.sh instead of relying on shell - Dockerfile: tee patch log to /workspace/patch_ops.log for debugging - Dockerfile: copy computility-run.yaml to /workspace for platform to find
15 lines
588 B
Docker
15 lines
588 B
Docker
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 -p /workspace
|
|
WORKDIR /workspace/
|
|
|
|
# Copy all our engine patches
|
|
COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts
|
|
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: $?"
|