From 5b3800ad5f0f0b71cb3264a7d8f8eb30ded79d83 Mon Sep 17 00:00:00 2001 From: Erik Lundell Date: Thu, 7 May 2026 10:50:26 +0200 Subject: [PATCH] Pin huggingface-hub to <=1.13.0 huggingface-hub is a dependency in datasets that is pinned to <2.0 which huging-face has not reach yet. That means it will currently always get the latest version. After the 1.14.0 update on 6/5-2026, many jobs have started to time out when downloading using huggingface-hub. Pinning in requirements-examples.txt should be enough, since those requirements should be installed unless install_executorch.sh is ran with --minimal Signed-off-by: Erik Lundell Change-Id: Ia3936f99fd1edd78fb3085093e232cdfedbce79d --- requirements-examples.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-examples.txt b/requirements-examples.txt index f1579edcb14..02fc342b46e 100644 --- a/requirements-examples.txt +++ b/requirements-examples.txt @@ -1,6 +1,7 @@ # pip packages needed to run examples. # TODO: Make each example publish its own requirements.txt datasets == 3.6.0 # 4.0.0 deprecates trust_remote_code and load scripts. For now pin to 3.6.0 +huggingface-hub <= 1.13.0 # Dependency of datasets, seems to have download issues in ci with 1.14.0 timm == 1.0.7 torchsr == 1.0.4 torchtune @ git+https://github.com/pytorch/torchtune.git@6f2aa7254458145f99d7004cbd6ebc8e53a06404