From 57a452ac1122da23fadd95aa9e6ef04136346f02 Mon Sep 17 00:00:00 2001 From: Benjamin Bossan Date: Fri, 18 Oct 2024 12:31:27 +0200 Subject: [PATCH] MNT Remove version pin of diffusers (#2162) The pin was added way back in #936 and then we forget to ever remove it. This is now causing trouble, as the old diffusers version still uses cached_download, which was removed from huggingface_hub: > ImportError: cannot import name 'cached_download' from 'huggingface_hub' --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 443ff8e3b6..5741aa7b49 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ "pytest-xdist", "parameterized", "datasets", - "diffusers<0.21.0", + "diffusers", "scipy", ]