Skip to content

[v1.3.5] Configurable default timeout for HTTP calls

Choose a tag to compare

@Wauplin Wauplin released this 29 Jan 13:48
· 136 commits to main since this release
95a6f2f
  • Use HF_HUB_DOWNLOAD_TIMEOUT as default httpx timeout by @Wauplin in #3751

Default timeout is 10s. This is ok in most use cases but can trigger errors in CIs making a lot of requests to the Hub. Solution is to set HF_HUB_DOWNLOAD_TIMEOUT=60 as environment variable in these cases.

Full Changelog: v1.3.4...v1.3.5