This commit is contained in:
hailin 2025-09-20 10:45:09 +08:00
parent 4746b8cd30
commit 1c59c1ab7d
1 changed files with 2 additions and 5 deletions

View File

@ -62,11 +62,8 @@ RUN set -e && \
python3 -m pip install --no-cache-dir \
"typing-extensions>=4.10.0" "sympy>=1.13.3" jinja2 fsspec networkx filelock
RUN python3 - <<'PY'
import torch, typing_extensions, sympy, jinja2, fsspec, networkx
print("✅ Torch:", torch.__version__)
PY
RUN python3 -c "import torch, typing_extensions, sympy, jinja2, fsspec, networkx; print('✅ Torch:', torch.__version__)"
# ── 编译 torchvision 0.22.1 (依赖本地 torch) ────────────────────────────────
WORKDIR /opt