From cfda876a3f0f79cc88e57996034acca19d81d30b Mon Sep 17 00:00:00 2001 From: Tianlei Wu Date: Wed, 8 Feb 2023 12:18:17 -0800 Subject: [PATCH] Remove torch package from requirements.txt of stable diffusion models (#14630) ### Description Remove torch package from requirements to unblock nuget windowsai pipeline which does not allow --extra-index-url ### Motivation and Context --- .../transformers/models/stable_diffusion/requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt b/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt index 8b57df8852765..45190f2fb9912 100644 --- a/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt +++ b/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt @@ -10,5 +10,6 @@ packaging==23.0 protobuf==3.20.3 psutil==5.9.4 sympy==1.11.1 ---extra-index-url https://download.pytorch.org/whl/cu117 -torch==1.13.1+cu117 +#Tested with PyTorch 1.13.1+cu117 (see pytorch.org for more download options). +#--extra-index-url https://download.pytorch.org/whl/cu117 +#torch==1.13.1+cu117