From 7ec51f0a13d5d8cbd796de33276bf04210ce6176 Mon Sep 17 00:00:00 2001 From: George Wu Date: Sun, 14 Apr 2024 09:09:15 -0700 Subject: [PATCH] pin controlnet_aux version to 0.0.7 to fix Big Models Stable Diffusion pipeline failure (#20302) conflict in cv2 causes " LayerId = cv2.dnn.DictValue AttributeError: module 'cv2.dnn' has no attribute 'DictValue' " controlnet_aux 0.0.8 pulls in a conflicting version of opencv-python pin to 0.0.7 failing pipeline passes with this change: https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=1348876&view=results --- .../tools/transformers/models/stable_diffusion/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt b/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt index d2488fe6d6db9..ee9b9bfeefd4a 100644 --- a/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt +++ b/onnxruntime/python/tools/transformers/models/stable_diffusion/requirements.txt @@ -9,7 +9,7 @@ packaging protobuf==3.20.3 psutil sympy -controlnet_aux +controlnet_aux==0.0.7 # The following are for SDXL optimum==1.14.1 safetensors