From 3f12a43e7537d407fe5767367e1d9fba5a9f0b72 Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Wed, 26 Mar 2025 16:51:02 -0400 Subject: [PATCH] remove pin for controlnet-aux and pin timm to a version that works with llava timm < 1.0.0 prevents llava models from working (broken in transformers). but controlnet-aux pinned it to an earlier version because otherwise it was breaking the ZoeDepth controlnet. we don't use ZoeDepth (replaced by depthAnything), and downgrading controlnet-aux seems to be acceptable. more context here: https://github.com/huggingface/controlnet_aux/issues/106 https://github.com/huggingface/controlnet_aux/pull/101 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1eaabbdfed..298372aea2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ dependencies = [ "bitsandbytes==0.45.0; sys_platform!='darwin'", "clip_anytorch==2.6.0", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip", "compel==2.0.2", - "controlnet-aux==0.0.7", + "controlnet-aux", "diffusers[torch]==0.31.0", "gguf==0.10.0", "invisible-watermark==0.2.0", # needed to install SDXL base and refiner using their repo_ids @@ -51,7 +51,7 @@ dependencies = [ # sentencepiece is required to load T5TokenizerFast (used by FLUX). "sentencepiece==0.2.0", "spandrel==0.3.4", - "timm==0.6.13", # needed to override timm latest in controlnet_aux, see https://github.com/isl-org/ZoeDepth/issues/26 + "timm~=1.0.0", "torch<2.5.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]` "torchmetrics", "torchsde",