mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
build: remove controlnet_aux dependency, remove pin for timm
This commit is contained in:
@@ -35,13 +35,12 @@ dependencies = [
|
||||
# Core generation dependencies, pinned for reproducible builds.
|
||||
"accelerate",
|
||||
"bitsandbytes; sys_platform!='darwin'",
|
||||
"clip_anytorch==2.6.0", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
|
||||
"clip_anytorch==2.6.0", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
|
||||
"compel==2.0.2",
|
||||
"controlnet-aux==0.0.7",
|
||||
"diffusers[torch]",
|
||||
"gguf==0.10.0",
|
||||
"invisible-watermark==0.2.0", # needed to install SDXL base and refiner using their repo_ids
|
||||
"mediapipe==0.10.14", # needed for "mediapipeface" controlnet model
|
||||
"invisible-watermark==0.2.0", # needed to install SDXL base and refiner using their repo_ids
|
||||
"mediapipe==0.10.14", # needed for "mediapipeface" controlnet model
|
||||
"numpy<2.0.0",
|
||||
"onnx==1.16.1",
|
||||
"onnxruntime==1.19.2",
|
||||
@@ -51,12 +50,11 @@ dependencies = [
|
||||
# sentencepiece is required to load T5TokenizerFast (used by FLUX).
|
||||
"sentencepiece==0.2.0",
|
||||
"spandrel==0.3.4",
|
||||
"timm~=1.0.0",
|
||||
"torch~=2.6.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
|
||||
"timm",
|
||||
"torch~=2.6.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
|
||||
"torchmetrics",
|
||||
"torchsde",
|
||||
"torchvision",
|
||||
"timm~=1.0.0", # controlnet-aux depends on a version of timm that breaks LLaVA. explicitly pinning `timm` here, which results in a downgrade of `controlnet-aux`. https://github.com/huggingface/controlnet_aux/pull/101. If this poses a problem, we need to decide between newer `controlnet_aux` and LLaVA, OR we can fork `controlnet_aux` and update the pin.
|
||||
"transformers",
|
||||
|
||||
# Core application dependencies, pinned for reproducible builds.
|
||||
@@ -125,7 +123,7 @@ dependencies = [
|
||||
"pytest-datadir",
|
||||
"requests_testadapter",
|
||||
"httpx",
|
||||
"polyfactory==2.19.0"
|
||||
"polyfactory==2.19.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
@@ -205,9 +203,9 @@ exclude = [
|
||||
".venv*",
|
||||
"*.ipynb",
|
||||
"invokeai/backend/image_util/mediapipe_face/", # External code
|
||||
"invokeai/backend/image_util/mlsd/", # External code
|
||||
"invokeai/backend/image_util/normal_bae/", # External code
|
||||
"invokeai/backend/image_util/pidi/", # External code
|
||||
"invokeai/backend/image_util/mlsd/", # External code
|
||||
"invokeai/backend/image_util/normal_bae/", # External code
|
||||
"invokeai/backend/image_util/pidi/", # External code
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
|
||||
Reference in New Issue
Block a user