This commit is contained in:
parent
965e97adb0
commit
75f8fee8e9
|
|
@ -44,7 +44,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
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 && \
|
||||
find /tmp/torch_dist -name 'torch-*.whl' -print | xargs -r python3 -m pip install --no-cache-dir
|
||||
|
||||
|
||||
|
||||
# ── 编译 torchvision 0.22.1 (依赖本地 torch) ────────────────────────────────
|
||||
|
|
|
|||
Loading…
Reference in New Issue