This commit is contained in:
parent
4746b8cd30
commit
1c59c1ab7d
|
|
@ -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 -c "import torch, typing_extensions, sympy, jinja2, fsspec, networkx; print('✅ Torch:', torch.__version__)"
|
||||
|
||||
RUN python3 - <<'PY'
|
||||
import torch, typing_extensions, sympy, jinja2, fsspec, networkx
|
||||
print("✅ Torch:", torch.__version__)
|
||||
PY
|
||||
|
||||
# ── 编译 torchvision 0.22.1 (依赖本地 torch) ────────────────────────────────
|
||||
WORKDIR /opt
|
||||
|
|
|
|||
Loading…
Reference in New Issue