Skip to content

Commit

Permalink
Fix big models exception caused by timm upgrade (#22442)
Browse files Browse the repository at this point in the history
### Description
Today, stable diffusion stage failed due to there's a upgrade in timm.
controlnet_aux depends on it.
And its latest version limit the timm version less than 0.6.7.
So upgrading controlnet_aux can solve it.
And controlnet_aux uses opencv-python-headless, pin
opencv-python-headless to 4.8.0.74 too.


### Motivation and Context
  • Loading branch information
mszhanyi authored Oct 15, 2024
1 parent 20a45dd commit c5a0fb1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ packaging
protobuf==3.20.3
psutil
sympy
controlnet_aux==0.0.7
controlnet_aux==0.0.9
# The following are for SDXL
optimum==1.20.0
safetensors
invisible_watermark
# newer version of opencv-python migth encounter module 'cv2.dnn' has no attribute 'DictValue' error
opencv-python==4.8.0.74
opencv-python-headless==4.8.0.74

0 comments on commit c5a0fb1

Please sign in to comment.