This commit is contained in:
hailin 2025-07-02 14:22:30 +08:00
parent a7ceaae9c5
commit 965e97adb0
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ COPY --from=builder-torch /opt/pytorch/dist /tmp/torch_dist
RUN set -e && \
echo "==> Files in /tmp/torch_dist:" && ls -lh /tmp/torch_dist && \
find /tmp/torch_dist -name 'torch-*.whl' -print | xargs -r python3 -m pip install --no-cache-dir && \
rm -rf /tmp/torch_dist
# ── 编译 torchvision 0.22.1 (依赖本地 torch) ────────────────────────────────