From b1845019fef4b818f53f8574bc1ec704e4c63578 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Tue, 6 Aug 2024 11:52:05 -0400 Subject: [PATCH] Bump diffusers version to include FLUX support. --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 733867949e..b9ead7fe6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,11 +33,12 @@ classifiers = [ ] dependencies = [ # Core generation dependencies, pinned for reproducible builds. - "accelerate==0.30.1", + "accelerate==0.33.0", "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]==0.27.2", + # TODO(ryand): Bump this once the next diffusers release is ready. + "diffusers[torch] @ git+https://github.com/huggingface/diffusers.git@4c6152c2fb0ade468aadb417102605a07a8635d3", "invisible-watermark==0.2.0", # needed to install SDXL base and refiner using their repo_ids "mediapipe==0.10.7", # needed for "mediapipeface" controlnet model "numpy==1.26.4", # >1.24.0 is needed to use the 'strict' argument to np.testing.assert_array_equal() @@ -57,7 +58,7 @@ dependencies = [ # Core application dependencies, pinned for reproducible builds. "fastapi-events==0.11.1", "fastapi==0.111.0", - "huggingface-hub==0.23.1", + "huggingface-hub==0.24.5", "pydantic-settings==2.2.1", "pydantic==2.7.2", "python-socketio==5.11.1",