Closed hjmshi closed 5 months ago
Hi! Is your code synced to main?
I don't think we have torch==2.1.0+cu118
in our setup.cfg on main anymore.
Maybe try building with the --no_cache
flag e.g.docker build --no_cache ...
Hi @priyakasimbeg , thanks for the suggestion, and --no-cache
fix the issue at our side.
We are not able to use the provided Dockerfile to successfully build a PyTorch docker image.
Description
When seeking to build the PyTorch docker image from the provided Dockerfile, we encounter the bug:
We are not super confident as to why it looks for a PyTorch 2.1.0 + CUDA 11.8 distribution.
cc @tsunghsienlee @anana10c @mikerabbat @shintaro-iwasaki @tfaod @adefazio @yuchenhao
Steps to Reproduce
Run
docker build -t <docker_image_name> . --build-arg framework=pytorch
.Source or Possible Fix
We were able to fix this by modifying line 48 (and similar) of the Dockerfile to:
Thanks in advance!