1
0
Fork 0

fix(build): use CPU version of pytorch in hypothetical alpine API image

This commit is contained in:
Sean Sube 2023-01-06 14:07:54 -06:00
parent ca0da31791
commit af40bff10c
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ COPY serve.py /onnx-web/serve.py
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
# RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2 RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
ENTRYPOINT [ "flask", "--app=serve", "run", "--host=0.0.0.0" ] ENTRYPOINT [ "flask", "--app=serve", "run", "--host=0.0.0.0" ]