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
* just a few Large Files mentions
only where it really makes sense imo (it's fine to still mention LFS pointers etc for instance)
* Update docs/hub/storage-limits.md
Co-authored-by: Daniel van Strien <[email protected]>
---------
Co-authored-by: Daniel van Strien <[email protected]>
Under the hood, Spaces stores your code inside a git repository, just like the model and dataset repositories. Thanks to this, the same tools we use for all the [other repositories on the Hub](./repositories) (`git` and `git-lfs`) also work for Spaces. Follow the same flow as in [Getting Started with Repositories](./repositories-getting-started) to add files to your Space. Each time a new commit is pushed, the Space will automatically rebuild and restart.
18
+
Under the hood, Spaces stores your code inside a git repository, just like the model and dataset repositories. Thanks to this, the same tools we use for all the [other repositories on the Hub](./repositories) (`git` and `git-xet`) also work for Spaces. Follow the same flow as in [Getting Started with Repositories](./repositories-getting-started) to add files to your Space. Each time a new commit is pushed, the Space will automatically rebuild and restart.
19
19
20
20
For step-by-step tutorials to creating your first Space, see the guides below:
Copy file name to clipboardExpand all lines: docs/hub/storage-limits.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,14 @@ There are a few reasons for this:
73
73
happen when streaming data and smaller files avoid resuming from the beginning in case of errors.
74
74
- Files are served to the users using CloudFront. From our experience, huge files are not cached by this service
75
75
leading to a slower download speed.
76
-
In all cases no single LFS file will be able to be >50GB. I.e. 50GB is the hard limit for single file size.
76
+
In all cases, no single file will exceed 500GB. I.e. 500GB is the hard limit for a single file size.
77
77
-**Number of commits**: There is no hard limit for the total number of commits on your repo history. However, from
78
78
our experience, the user experience on the Hub starts to degrade after a few thousand commits. We are constantly working to
79
79
improve the service, but one must always remember that a git repository is not meant to work as a database with a lot of
80
80
writes. If your repo's history gets very large, it is always possible to squash all the commits to get a
81
81
fresh start using `huggingface_hub`'s [`super_squash_history`](https://huggingface.co/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.super_squash_history). Be aware that this is a non-revertible operation.
82
82
-**Number of operations per commit**: Once again, there is no hard limit here. When a commit is uploaded on the Hub, each
83
-
git operation (addition or delete) is checked by the server. When a hundred LFS files are committed at once,
83
+
git operation (addition or delete) is checked by the server. When a hundred Large Files are committed at once,
84
84
each file is checked individually to ensure it's been correctly uploaded. When pushing data through HTTP,
85
85
a timeout of 60s is set on the request, meaning that if the process takes more time, an error is raised. However, it can
86
86
happen (in rare cases) that even if the timeout is raised client-side, the process is still
@@ -124,7 +124,7 @@ We recommend that academic and research institutions upgrade to Team, Enterprise
124
124
125
125
There are several ways to manage and free some storage space in your account or organization. First, if you need more storage space, upgrade to a PRO, Team or Enterprise plan for increased storage limits.
126
126
127
-
⚠️ **Important**: Deleting LFS files is a destructive operation that cannot be undone. Make sure to backup your files before proceeding.
127
+
⚠️ **Important**: Deleting Large Files is a destructive operation that cannot be undone. Make sure to backup your files before proceeding.
128
128
129
129
Key points to remember:
130
130
- Deleting only LFS pointers doesn't free up space
0 commit comments