From 04ab09a37b16449df13af724565264ccb5275925 Mon Sep 17 00:00:00 2001 From: alek5k Date: Wed, 25 Jun 2025 17:38:07 +1000 Subject: [PATCH] Pin huggingface_hub and diffusers versions This prevents errors when running finetuning and evaluation. Newest diffusers requires peft>=0.15.0 but peft is pinned in this repo. The huggingface_hub dependency has also removed "cached_download" in later versions. Selected earliest version of huggingface_hub that satisfies other dependencies. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 562e9ba27..efaaa8563 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "draccus==0.8.0", "einops", # "flash_attn==2.5.5", # Here for documentation -- install *AFTER* editable install (follow README) - "huggingface_hub", + "huggingface_hub==0.21.0", "json-numpy", "jsonlines", "matplotlib", @@ -53,7 +53,7 @@ dependencies = [ "tensorflow_datasets==4.9.3", "tensorflow_graphics==2021.12.3", "dlimp @ git+https://github.com/moojink/dlimp_openvla", - "diffusers", + "diffusers==0.27.2", "imageio", "uvicorn", "fastapi",