You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain environments such as the Jean Zay cluster, there is no internet connection and internet requests hang indefinitely.
To be able to properly raise an error in such cases instead of making the program hang, I think it would be nice to add a timeout parameter to HfApi.dataset_info that can be passed to requests.get.
The datasets CI has a test where it simulates such an environment. So when I try to use HfApi.dataset_info in datasets, it makes the CI fail.
The text was updated successfully, but these errors were encountered:
In certain environments such as the Jean Zay cluster, there is no internet connection and internet requests hang indefinitely.
To be able to properly raise an error in such cases instead of making the program hang, I think it would be nice to add a
timeout
parameter toHfApi.dataset_info
that can be passed torequests.get
.The
datasets
CI has a test where it simulates such an environment. So when I try to useHfApi.dataset_info
indatasets
, it makes the CI fail.The text was updated successfully, but these errors were encountered: