huggingface-hub 1.0.0rc1__py3-none-any.whl → 1.0.0rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huggingface-hub might be problematic. Click here for more details.
- huggingface_hub/__init__.py +1 -1
- huggingface_hub/_commit_api.py +126 -66
- huggingface_hub/_commit_scheduler.py +4 -7
- huggingface_hub/_login.py +9 -15
- huggingface_hub/_tensorboard_logger.py +2 -5
- huggingface_hub/_webhooks_server.py +8 -20
- huggingface_hub/cli/repo.py +137 -5
- huggingface_hub/dataclasses.py +3 -12
- huggingface_hub/fastai_utils.py +22 -32
- huggingface_hub/file_download.py +18 -21
- huggingface_hub/hf_api.py +258 -410
- huggingface_hub/hf_file_system.py +17 -44
- huggingface_hub/inference/_client.py +25 -47
- huggingface_hub/inference/_generated/_async_client.py +25 -47
- huggingface_hub/inference/_mcp/agent.py +2 -5
- huggingface_hub/inference/_mcp/mcp_client.py +2 -5
- huggingface_hub/inference/_providers/__init__.py +11 -0
- huggingface_hub/inference/_providers/_common.py +1 -0
- huggingface_hub/inference/_providers/publicai.py +6 -0
- huggingface_hub/inference/_providers/scaleway.py +28 -0
- huggingface_hub/lfs.py +14 -8
- huggingface_hub/repocard.py +12 -16
- huggingface_hub/serialization/_base.py +3 -6
- huggingface_hub/serialization/_torch.py +16 -34
- huggingface_hub/utils/_cache_manager.py +41 -71
- huggingface_hub/utils/_chunk_utils.py +2 -3
- huggingface_hub/utils/_http.py +27 -30
- huggingface_hub/utils/logging.py +8 -11
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/METADATA +2 -2
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/RECORD +34 -32
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/LICENSE +0 -0
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/WHEEL +0 -0
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/entry_points.txt +0 -0
- {huggingface_hub-1.0.0rc1.dist-info → huggingface_hub-1.0.0rc2.dist-info}/top_level.txt +0 -0
|
@@ -63,18 +63,12 @@ def save_torch_model(
|
|
|
63
63
|
|
|
64
64
|
Before saving the model, the `save_directory` is cleaned from any previous shard files.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
> [!WARNING]
|
|
67
|
+
> If one of the model's tensor is bigger than `max_shard_size`, it will end up in its own shard which will have a
|
|
68
|
+
> size greater than `max_shard_size`.
|
|
67
69
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</Tip>
|
|
72
|
-
|
|
73
|
-
<Tip warning={true}>
|
|
74
|
-
|
|
75
|
-
If your model is a `transformers.PreTrainedModel`, you should pass `model._tied_weights_keys` as `shared_tensors_to_discard` to properly handle shared tensors saving. This ensures the correct duplicate tensors are discarded during saving.
|
|
76
|
-
|
|
77
|
-
</Tip>
|
|
70
|
+
> [!WARNING]
|
|
71
|
+
> If your model is a `transformers.PreTrainedModel`, you should pass `model._tied_weights_keys` as `shared_tensors_to_discard` to properly handle shared tensors saving. This ensures the correct duplicate tensors are discarded during saving.
|
|
78
72
|
|
|
79
73
|
Args:
|
|
80
74
|
model (`torch.nn.Module`):
|
|
@@ -163,18 +157,12 @@ def save_torch_state_dict(
|
|
|
163
157
|
|
|
164
158
|
Before saving the model, the `save_directory` is cleaned from any previous shard files.
|
|
165
159
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
size greater than `max_shard_size`.
|
|
170
|
-
|
|
171
|
-
</Tip>
|
|
160
|
+
> [!WARNING]
|
|
161
|
+
> If one of the model's tensor is bigger than `max_shard_size`, it will end up in its own shard which will have a
|
|
162
|
+
> size greater than `max_shard_size`.
|
|
172
163
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
If your model is a `transformers.PreTrainedModel`, you should pass `model._tied_weights_keys` as `shared_tensors_to_discard` to properly handle shared tensors saving. This ensures the correct duplicate tensors are discarded during saving.
|
|
176
|
-
|
|
177
|
-
</Tip>
|
|
164
|
+
> [!WARNING]
|
|
165
|
+
> If your model is a `transformers.PreTrainedModel`, you should pass `model._tied_weights_keys` as `shared_tensors_to_discard` to properly handle shared tensors saving. This ensures the correct duplicate tensors are discarded during saving.
|
|
178
166
|
|
|
179
167
|
Args:
|
|
180
168
|
state_dict (`dict[str, torch.Tensor]`):
|
|
@@ -314,19 +302,13 @@ def split_torch_state_dict_into_shards(
|
|
|
314
302
|
[6+2+2GB], [6+2GB], [6GB].
|
|
315
303
|
|
|
316
304
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
`split_torch_state_dict_into_shards` under the hood.
|
|
321
|
-
|
|
322
|
-
</Tip>
|
|
323
|
-
|
|
324
|
-
<Tip warning={true}>
|
|
325
|
-
|
|
326
|
-
If one of the model's tensor is bigger than `max_shard_size`, it will end up in its own shard which will have a
|
|
327
|
-
size greater than `max_shard_size`.
|
|
305
|
+
> [!TIP]
|
|
306
|
+
> To save a model state dictionary to the disk, see [`save_torch_state_dict`]. This helper uses
|
|
307
|
+
> `split_torch_state_dict_into_shards` under the hood.
|
|
328
308
|
|
|
329
|
-
|
|
309
|
+
> [!WARNING]
|
|
310
|
+
> If one of the model's tensor is bigger than `max_shard_size`, it will end up in its own shard which will have a
|
|
311
|
+
> size greater than `max_shard_size`.
|
|
330
312
|
|
|
331
313
|
Args:
|
|
332
314
|
state_dict (`dict[str, torch.Tensor]`):
|
|
@@ -57,13 +57,10 @@ class CachedFileInfo:
|
|
|
57
57
|
blob_last_modified (`float`):
|
|
58
58
|
Timestamp of the last time the blob file has been modified/created.
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
for more details.
|
|
65
|
-
|
|
66
|
-
</Tip>
|
|
60
|
+
> [!WARNING]
|
|
61
|
+
> `blob_last_accessed` and `blob_last_modified` reliability can depend on the OS you
|
|
62
|
+
> are using. See [python documentation](https://docs.python.org/3/library/os.html#os.stat_result)
|
|
63
|
+
> for more details.
|
|
67
64
|
"""
|
|
68
65
|
|
|
69
66
|
file_name: str
|
|
@@ -130,20 +127,14 @@ class CachedRevisionInfo:
|
|
|
130
127
|
last_modified (`float`):
|
|
131
128
|
Timestamp of the last time the revision has been created/modified.
|
|
132
129
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
are shared across revisions.
|
|
137
|
-
|
|
138
|
-
</Tip>
|
|
139
|
-
|
|
140
|
-
<Tip warning={true}>
|
|
141
|
-
|
|
142
|
-
`size_on_disk` is not necessarily the sum of all file sizes because of possible
|
|
143
|
-
duplicated files. Besides, only blobs are taken into account, not the (negligible)
|
|
144
|
-
size of folders and symlinks.
|
|
130
|
+
> [!WARNING]
|
|
131
|
+
> `last_accessed` cannot be determined correctly on a single revision as blob files
|
|
132
|
+
> are shared across revisions.
|
|
145
133
|
|
|
146
|
-
|
|
134
|
+
> [!WARNING]
|
|
135
|
+
> `size_on_disk` is not necessarily the sum of all file sizes because of possible
|
|
136
|
+
> duplicated files. Besides, only blobs are taken into account, not the (negligible)
|
|
137
|
+
> size of folders and symlinks.
|
|
147
138
|
"""
|
|
148
139
|
|
|
149
140
|
commit_hash: str
|
|
@@ -203,21 +194,15 @@ class CachedRepoInfo:
|
|
|
203
194
|
last_modified (`float`):
|
|
204
195
|
Timestamp of the last time a blob file of the repo has been modified/created.
|
|
205
196
|
|
|
206
|
-
|
|
197
|
+
> [!WARNING]
|
|
198
|
+
> `size_on_disk` is not necessarily the sum of all revisions sizes because of
|
|
199
|
+
> duplicated files. Besides, only blobs are taken into account, not the (negligible)
|
|
200
|
+
> size of folders and symlinks.
|
|
207
201
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</Tip>
|
|
213
|
-
|
|
214
|
-
<Tip warning={true}>
|
|
215
|
-
|
|
216
|
-
`last_accessed` and `last_modified` reliability can depend on the OS you are using.
|
|
217
|
-
See [python documentation](https://docs.python.org/3/library/os.html#os.stat_result)
|
|
218
|
-
for more details.
|
|
219
|
-
|
|
220
|
-
</Tip>
|
|
202
|
+
> [!WARNING]
|
|
203
|
+
> `last_accessed` and `last_modified` reliability can depend on the OS you are using.
|
|
204
|
+
> See [python documentation](https://docs.python.org/3/library/os.html#os.stat_result)
|
|
205
|
+
> for more details.
|
|
221
206
|
"""
|
|
222
207
|
|
|
223
208
|
repo_id: str
|
|
@@ -305,20 +290,14 @@ class DeleteCacheStrategy:
|
|
|
305
290
|
def execute(self) -> None:
|
|
306
291
|
"""Execute the defined strategy.
|
|
307
292
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
files.
|
|
293
|
+
> [!WARNING]
|
|
294
|
+
> If this method is interrupted, the cache might get corrupted. Deletion order is
|
|
295
|
+
> implemented so that references and symlinks are deleted before the actual blob
|
|
296
|
+
> files.
|
|
313
297
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
This method is irreversible. If executed, cached files are erased and must be
|
|
319
|
-
downloaded again.
|
|
320
|
-
|
|
321
|
-
</Tip>
|
|
298
|
+
> [!WARNING]
|
|
299
|
+
> This method is irreversible. If executed, cached files are erased and must be
|
|
300
|
+
> downloaded again.
|
|
322
301
|
"""
|
|
323
302
|
# Deletion order matters. Blobs are deleted in last so that the user can't end
|
|
324
303
|
# up in a state where a `ref`` refers to a missing snapshot or a snapshot
|
|
@@ -360,12 +339,9 @@ class HFCacheInfo:
|
|
|
360
339
|
Those exceptions are captured so that the scan can continue. Corrupted repos
|
|
361
340
|
are skipped from the scan.
|
|
362
341
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
some cached repos are corrupted, their sizes are not taken into account.
|
|
367
|
-
|
|
368
|
-
</Tip>
|
|
342
|
+
> [!WARNING]
|
|
343
|
+
> Here `size_on_disk` is equal to the sum of all repo sizes (only blobs). However if
|
|
344
|
+
> some cached repos are corrupted, their sizes are not taken into account.
|
|
369
345
|
"""
|
|
370
346
|
|
|
371
347
|
size_on_disk: int
|
|
@@ -412,13 +388,10 @@ class HFCacheInfo:
|
|
|
412
388
|
Cache deletion done. Saved 8.6G.
|
|
413
389
|
```
|
|
414
390
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
allows having a dry run before actually executing the deletion.
|
|
420
|
-
|
|
421
|
-
</Tip>
|
|
391
|
+
> [!WARNING]
|
|
392
|
+
> `delete_revisions` returns a [`~utils.DeleteCacheStrategy`] object that needs to
|
|
393
|
+
> be executed. The [`~utils.DeleteCacheStrategy`] is not meant to be modified but
|
|
394
|
+
> allows having a dry run before actually executing the deletion.
|
|
422
395
|
"""
|
|
423
396
|
hashes_to_delete: set[str] = set(revisions)
|
|
424
397
|
|
|
@@ -652,17 +625,14 @@ def scan_cache_dir(cache_dir: Optional[Union[str, Path]] = None) -> HFCacheInfo:
|
|
|
652
625
|
cache_dir (`str` or `Path`, `optional`):
|
|
653
626
|
Cache directory to cache. Defaults to the default HF cache directory.
|
|
654
627
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
If the cache directory is a file, instead of a directory.
|
|
664
|
-
|
|
665
|
-
</Tip>
|
|
628
|
+
> [!WARNING]
|
|
629
|
+
> Raises:
|
|
630
|
+
>
|
|
631
|
+
> `CacheNotFound`
|
|
632
|
+
> If the cache directory does not exist.
|
|
633
|
+
>
|
|
634
|
+
> [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError)
|
|
635
|
+
> If the cache directory is a file, instead of a directory.
|
|
666
636
|
|
|
667
637
|
Returns: a [`~HFCacheInfo`] object.
|
|
668
638
|
"""
|
|
@@ -49,9 +49,8 @@ def chunk_iterable(iterable: Iterable[T], chunk_size: int) -> Iterable[Iterable[
|
|
|
49
49
|
[`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError)
|
|
50
50
|
If `chunk_size` <= 0.
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</Tip>
|
|
52
|
+
> [!WARNING]
|
|
53
|
+
> The last chunk can be smaller than `chunk_size`.
|
|
55
54
|
"""
|
|
56
55
|
if not isinstance(chunk_size, int) or chunk_size <= 0:
|
|
57
56
|
raise ValueError("`chunk_size` must be a strictly positive integer (>0).")
|
huggingface_hub/utils/_http.py
CHANGED
|
@@ -397,17 +397,14 @@ def http_backoff(
|
|
|
397
397
|
>>> response.raise_for_status()
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
issue on [Github](https://github.com/huggingface/huggingface_hub).
|
|
409
|
-
|
|
410
|
-
</Tip>
|
|
400
|
+
> [!WARNING]
|
|
401
|
+
> When using `requests` it is possible to stream data by passing an iterator to the
|
|
402
|
+
> `data` argument. On http backoff this is a problem as the iterator is not reset
|
|
403
|
+
> after a failed call. This issue is mitigated for file objects or any IO streams
|
|
404
|
+
> by saving the initial position of the cursor (with `data.tell()`) and resetting the
|
|
405
|
+
> cursor between each call (with `data.seek()`). For arbitrary iterators, http backoff
|
|
406
|
+
> will fail. If this is a hard constraint for you, please let us know by opening an
|
|
407
|
+
> issue on [Github](https://github.com/huggingface/huggingface_hub).
|
|
411
408
|
"""
|
|
412
409
|
return next(
|
|
413
410
|
_http_backoff_base(
|
|
@@ -536,25 +533,25 @@ def hf_raise_for_status(response: httpx.Response, endpoint_name: Optional[str] =
|
|
|
536
533
|
endpoint_name (`str`, *optional*):
|
|
537
534
|
Name of the endpoint that has been called. If provided, the error message will be more complete.
|
|
538
535
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
536
|
+
> [!WARNING]
|
|
537
|
+
> Raises when the request has failed:
|
|
538
|
+
>
|
|
539
|
+
> - [`~utils.RepositoryNotFoundError`]
|
|
540
|
+
> If the repository to download from cannot be found. This may be because it
|
|
541
|
+
> doesn't exist, because `repo_type` is not set correctly, or because the repo
|
|
542
|
+
> is `private` and you do not have access.
|
|
543
|
+
> - [`~utils.GatedRepoError`]
|
|
544
|
+
> If the repository exists but is gated and the user is not on the authorized
|
|
545
|
+
> list.
|
|
546
|
+
> - [`~utils.RevisionNotFoundError`]
|
|
547
|
+
> If the repository exists but the revision couldn't be find.
|
|
548
|
+
> - [`~utils.EntryNotFoundError`]
|
|
549
|
+
> If the repository exists but the entry (e.g. the requested file) couldn't be
|
|
550
|
+
> find.
|
|
551
|
+
> - [`~utils.BadRequestError`]
|
|
552
|
+
> If request failed with a HTTP 400 BadRequest error.
|
|
553
|
+
> - [`~utils.HfHubHTTPError`]
|
|
554
|
+
> If request failed for a reason not listed above.
|
|
558
555
|
"""
|
|
559
556
|
try:
|
|
560
557
|
response.raise_for_status()
|
huggingface_hub/utils/logging.py
CHANGED
|
@@ -109,17 +109,14 @@ def get_verbosity() -> int:
|
|
|
109
109
|
Logging level, e.g., `huggingface_hub.logging.DEBUG` and
|
|
110
110
|
`huggingface_hub.logging.INFO`.
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
- `huggingface_hub.logging.
|
|
117
|
-
- `huggingface_hub.logging.
|
|
118
|
-
- `huggingface_hub.logging.
|
|
119
|
-
- `huggingface_hub.logging.
|
|
120
|
-
- `huggingface_hub.logging.DEBUG`
|
|
121
|
-
|
|
122
|
-
</Tip>
|
|
112
|
+
> [!TIP]
|
|
113
|
+
> HuggingFace Hub has following logging levels:
|
|
114
|
+
>
|
|
115
|
+
> - `huggingface_hub.logging.CRITICAL`, `huggingface_hub.logging.FATAL`
|
|
116
|
+
> - `huggingface_hub.logging.ERROR`
|
|
117
|
+
> - `huggingface_hub.logging.WARNING`, `huggingface_hub.logging.WARN`
|
|
118
|
+
> - `huggingface_hub.logging.INFO`
|
|
119
|
+
> - `huggingface_hub.logging.DEBUG`
|
|
123
120
|
"""
|
|
124
121
|
return _get_library_root_logger().getEffectiveLevel()
|
|
125
122
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huggingface-hub
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0rc2
|
|
4
4
|
Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
|
|
5
5
|
Home-page: https://github.com/huggingface/huggingface_hub
|
|
6
6
|
Author: Hugging Face, Inc.
|
|
@@ -227,7 +227,7 @@ If you prefer, you can also install it with [conda](https://huggingface.co/docs/
|
|
|
227
227
|
In order to keep the package minimal by default, `huggingface_hub` comes with optional dependencies useful for some use cases. For example, if you want have a complete experience for Inference, run:
|
|
228
228
|
|
|
229
229
|
```bash
|
|
230
|
-
pip install huggingface_hub[inference]
|
|
230
|
+
pip install "huggingface_hub[inference]"
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
To learn more installation and optional dependencies, check out the [installation guide](https://huggingface.co/docs/huggingface_hub/en/installation).
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
huggingface_hub/__init__.py,sha256=
|
|
2
|
-
huggingface_hub/_commit_api.py,sha256=
|
|
3
|
-
huggingface_hub/_commit_scheduler.py,sha256=
|
|
1
|
+
huggingface_hub/__init__.py,sha256=jDSgbT_w-__kiGcQIVHLyHBhW8s0JiO2D67PDtB37l4,52007
|
|
2
|
+
huggingface_hub/_commit_api.py,sha256=4iFe5TQpS8jTRW7sDWut6HUU1eOkw80G5nJooaDKiOM,40890
|
|
3
|
+
huggingface_hub/_commit_scheduler.py,sha256=tqcdWVGJRIxGQtkFHs_AgBdN9ztUjOQSuAhfMAr1ieM,14751
|
|
4
4
|
huggingface_hub/_inference_endpoints.py,sha256=cGiZg244nIOi2OLTqm4V8-ZUY3O0Rr7NlOmoLeHUIbY,17592
|
|
5
5
|
huggingface_hub/_jobs_api.py,sha256=SqybFSxQygyp8Ywem2a4WIL0kcq_hB1Dv5xV8kJFmv8,10791
|
|
6
6
|
huggingface_hub/_local_folder.py,sha256=2iHXNgIT3UdSt2PvCovd0NzgVxTRypKb-rvAFLK-gZU,17305
|
|
7
|
-
huggingface_hub/_login.py,sha256=
|
|
7
|
+
huggingface_hub/_login.py,sha256=WZTkOFyRv5RHQB1JBq4iRVoAsE7J0VHLbV-i_pIKnDg,19068
|
|
8
8
|
huggingface_hub/_oauth.py,sha256=91zR_H235vxi-fg2YXzDgmA09j4BR3dim9VVzf6srps,18695
|
|
9
9
|
huggingface_hub/_snapshot_download.py,sha256=bN_Rh_DMYcPOSNjQvx3oxnJyDwOdaKNBJuNCh0z8n6w,15543
|
|
10
10
|
huggingface_hub/_space_api.py,sha256=aOowzC3LUytfgFrZprn9vKTQHXLpDWJKjl9X4qq_ZxQ,5464
|
|
11
|
-
huggingface_hub/_tensorboard_logger.py,sha256=
|
|
11
|
+
huggingface_hub/_tensorboard_logger.py,sha256=3TocVxxSIioqxOkI6p1N4plnWfAizfdU456V0-K10Bs,8414
|
|
12
12
|
huggingface_hub/_upload_large_folder.py,sha256=NLnbHTo85kSZpxNpliP8ZqFbux7XCFw60EEsqS5aCUM,30047
|
|
13
13
|
huggingface_hub/_webhooks_payload.py,sha256=qCZjBa5dhssg_O0yzgzxPyMpwAxLG96I4qen_HIk0Qc,3611
|
|
14
|
-
huggingface_hub/_webhooks_server.py,sha256=
|
|
14
|
+
huggingface_hub/_webhooks_server.py,sha256=CSfQpgs5mJJjQEbJ9WPATdn4it2-Ii0eXVdqx9JeBCg,15685
|
|
15
15
|
huggingface_hub/community.py,sha256=RbW37Fh8IPsTOiE6ukTdG9mjkjECdKsvcWg6wBV55mg,12192
|
|
16
16
|
huggingface_hub/constants.py,sha256=0wPK02ixE1drhlsEbpwi1RIQauezevkQnDB_JW3Y75c,9316
|
|
17
|
-
huggingface_hub/dataclasses.py,sha256=
|
|
17
|
+
huggingface_hub/dataclasses.py,sha256=H5GCpHyGd9AsTwB0w9RNDgsDHOJK3NIos5xn6VKI1GY,17257
|
|
18
18
|
huggingface_hub/errors.py,sha256=vC__ajG9QCOW1ZFp4Tr6jA5kd8875_muJhaRuOVOE1s,11282
|
|
19
|
-
huggingface_hub/fastai_utils.py,sha256=
|
|
20
|
-
huggingface_hub/file_download.py,sha256=
|
|
21
|
-
huggingface_hub/hf_api.py,sha256=
|
|
22
|
-
huggingface_hub/hf_file_system.py,sha256=
|
|
19
|
+
huggingface_hub/fastai_utils.py,sha256=0joRPBUccjFALLCfhQLyD_K8qxGvQiLThKJClwej_JQ,16657
|
|
20
|
+
huggingface_hub/file_download.py,sha256=eawcAQJMKx-BiQCC8NCUqvVTOEn5NSpWvR9P1mkAm6A,74049
|
|
21
|
+
huggingface_hub/hf_api.py,sha256=lrHBosbeMd7aqUNmrrKlGYTx7I7n4epiFuBapebAPvA,468698
|
|
22
|
+
huggingface_hub/hf_file_system.py,sha256=W_ZokoW1D1HE6JMRNcWQnevz2cGyQWVQg1BqgzC1cpk,47620
|
|
23
23
|
huggingface_hub/hub_mixin.py,sha256=xQDBbxjEHVMdb333hCmjsjYsaxU7IICdgZFf8tq0toU,37063
|
|
24
|
-
huggingface_hub/lfs.py,sha256=
|
|
24
|
+
huggingface_hub/lfs.py,sha256=HzveT9mfMC-N8u4pjZjy7-NcvkRoRqV63PbVo6-JQ4U,16354
|
|
25
25
|
huggingface_hub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
|
-
huggingface_hub/repocard.py,sha256
|
|
26
|
+
huggingface_hub/repocard.py,sha256=-wss1XDYjr88OjwK4Gzi8c-gQwPIHM8qRgxXYgeilUM,34978
|
|
27
27
|
huggingface_hub/repocard_data.py,sha256=DLdOKlnQCHOOpU-e_skx0YaHxoqN9ZKIOmmMjHUqb1w,34063
|
|
28
28
|
huggingface_hub/cli/__init__.py,sha256=A4zmzuHD2OHjQ5zmdfcnsj0JeCzHVPtpzh-wCjInugA,606
|
|
29
29
|
huggingface_hub/cli/_cli_utils.py,sha256=bbd3j7TjgRFr9ihvIwpLFuc30E1FRgWY0YOW-bhmIQg,3828
|
|
@@ -33,7 +33,7 @@ huggingface_hub/cli/download.py,sha256=5KufMvmucKHR93_KFBnnOZu1mQLpwwI8MnLqiMwnY
|
|
|
33
33
|
huggingface_hub/cli/hf.py,sha256=Bs4cB117ijea8KsJ9CjGWFQjgkWUGAgltmahTHCE6YA,2315
|
|
34
34
|
huggingface_hub/cli/jobs.py,sha256=HgxxxDRaCHH62eBpihzf1SakevM3OWewPiIzWjFkYLw,23871
|
|
35
35
|
huggingface_hub/cli/lfs.py,sha256=UJI5nBbrt_a-lm5uU88gxD6hVu8xyQav-zBxLTv3Wzo,5895
|
|
36
|
-
huggingface_hub/cli/repo.py,sha256=
|
|
36
|
+
huggingface_hub/cli/repo.py,sha256=1vtR-u4hfRsw3I54eULmNT1OsHERg0xJwqehsBPOqL4,9924
|
|
37
37
|
huggingface_hub/cli/repo_files.py,sha256=6d5GsLsCjqSKTSbJqCHnrRxB9kXj-yLRAtcVbQkQNMo,2799
|
|
38
38
|
huggingface_hub/cli/system.py,sha256=U6j_MFDnlzBLRi2LZjXMxzRcp50UMdAZ7z5tWuPVJYk,1012
|
|
39
39
|
huggingface_hub/cli/upload.py,sha256=4OiGfKW12gPQJBSOqcoeWyTrBUSKeVrJ43cOQ2wgtrA,11823
|
|
@@ -54,10 +54,10 @@ huggingface_hub/commands/upload_large_folder.py,sha256=RUrZ9BMyUxh1Q2reI5Xplw8qy
|
|
|
54
54
|
huggingface_hub/commands/user.py,sha256=yuG7VpyKfih4qRLf5N-Dg4JcsLpIKpchsvtHZMLws5w,7522
|
|
55
55
|
huggingface_hub/commands/version.py,sha256=rGpCbvxImY9eQqXrshYt609Iws27R75WARmKQrIo6Ok,1390
|
|
56
56
|
huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
-
huggingface_hub/inference/_client.py,sha256=
|
|
57
|
+
huggingface_hub/inference/_client.py,sha256=0ugUC68bBkHwRTHUtwl_z4r_FwFxwBMYpqiq6NiL6Io,157803
|
|
58
58
|
huggingface_hub/inference/_common.py,sha256=qS3i2R8Dz_VCb6sWt1ZqnmOt8jxPU6uSxlyq-0_9ytg,15350
|
|
59
59
|
huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
|
-
huggingface_hub/inference/_generated/_async_client.py,sha256=
|
|
60
|
+
huggingface_hub/inference/_generated/_async_client.py,sha256=rXFNAkWI26d8drvie8wmGjDaIelbWhqX8AqiADbPV20,161013
|
|
61
61
|
huggingface_hub/inference/_generated/types/__init__.py,sha256=9WvrGQ8aThtKSNzZF06j-CIE2ZuItne8FFnea1p1u38,6557
|
|
62
62
|
huggingface_hub/inference/_generated/types/audio_classification.py,sha256=Jg3mzfGhCSH6CfvVvgJSiFpkz6v4nNA0G4LJXacEgNc,1573
|
|
63
63
|
huggingface_hub/inference/_generated/types/audio_to_audio.py,sha256=2Ep4WkePL7oJwcp5nRJqApwviumGHbft9HhXE9XLHj4,891
|
|
@@ -94,14 +94,14 @@ huggingface_hub/inference/_generated/types/zero_shot_image_classification.py,sha
|
|
|
94
94
|
huggingface_hub/inference/_generated/types/zero_shot_object_detection.py,sha256=sjdpVUN5zW9aYBymLVUs6i5HVk2qkUBO9ysEjHmsXVM,1605
|
|
95
95
|
huggingface_hub/inference/_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
96
|
huggingface_hub/inference/_mcp/_cli_hacks.py,sha256=KX9HZJPa1p8ngY3mtYGGlVUXfg4vYbbBRs-8HLToP04,3284
|
|
97
|
-
huggingface_hub/inference/_mcp/agent.py,sha256=
|
|
97
|
+
huggingface_hub/inference/_mcp/agent.py,sha256=ufIzMGHore5n252hV5GZPM0ouDXIl6tv5Jl_5gHXnbg,4250
|
|
98
98
|
huggingface_hub/inference/_mcp/cli.py,sha256=AmSUT6wXlE6EWmI0SfQgTWYnL07322zGwwk2yMZZlBc,9640
|
|
99
99
|
huggingface_hub/inference/_mcp/constants.py,sha256=Ws8BujjgZWb5kPAVm4GLE_Rqse63MszHp863EWwoPCI,2487
|
|
100
|
-
huggingface_hub/inference/_mcp/mcp_client.py,sha256=
|
|
100
|
+
huggingface_hub/inference/_mcp/mcp_client.py,sha256=Yh0cT3ZBQ3iXGK9fdCDuC-SMr4vELXfm7sa0o6ld33A,17185
|
|
101
101
|
huggingface_hub/inference/_mcp/types.py,sha256=yHNfPsM9MhD06oeKdkbmrBsW-3WhUeqA26fyfRfx_bk,929
|
|
102
102
|
huggingface_hub/inference/_mcp/utils.py,sha256=6XBYLikJ8lknx-k1QaG_uVoVYZ0yMzyo6WgtGp7Zdds,4175
|
|
103
|
-
huggingface_hub/inference/_providers/__init__.py,sha256=
|
|
104
|
-
huggingface_hub/inference/_providers/_common.py,sha256=
|
|
103
|
+
huggingface_hub/inference/_providers/__init__.py,sha256=Apf-0tFz5Kg5Xi8Z3IUly2taKEfbVG4EqUoZTavlCrY,8734
|
|
104
|
+
huggingface_hub/inference/_providers/_common.py,sha256=S5PiCuWfImLAK8Ii0Fb-lYvxKdSZ2NSk8EL92krbico,12322
|
|
105
105
|
huggingface_hub/inference/_providers/black_forest_labs.py,sha256=vkjK_-4epSJa2-fLnbcXFzPAgQsGKhykKwd9Np-V2iw,2846
|
|
106
106
|
huggingface_hub/inference/_providers/cerebras.py,sha256=QOJ-1U-os7uE7p6eUnn_P_APq-yQhx28be7c3Tq2EuA,210
|
|
107
107
|
huggingface_hub/inference/_providers/cohere.py,sha256=GqUyCR4j6Re-_27ItwQF2p89Yya4e__EWDP9hTSs9w0,1247
|
|
@@ -115,20 +115,22 @@ huggingface_hub/inference/_providers/nebius.py,sha256=NQDJoNbFd9FPBA5yWTb_C42NoM
|
|
|
115
115
|
huggingface_hub/inference/_providers/novita.py,sha256=AN4csxwKbRvNiaK87o9xVp9krL6mHPk6iv5iat87skA,2508
|
|
116
116
|
huggingface_hub/inference/_providers/nscale.py,sha256=RkyvmYtQbs2RPenF_pxDPMUMZM_botT21zqfVe2hT5Y,1796
|
|
117
117
|
huggingface_hub/inference/_providers/openai.py,sha256=GCVYeNdjWIgpQQ7E_Xv8IebmdhTi0S6WfFosz3nLtps,1089
|
|
118
|
+
huggingface_hub/inference/_providers/publicai.py,sha256=1I2W6rORloB5QHSvky4njZO2XKLTwA-kPdNoauoT5rg,210
|
|
118
119
|
huggingface_hub/inference/_providers/replicate.py,sha256=MBvjI-4IH8Antqr_8c3MRrBjAzElA3sAmEzeRVpIsPI,3814
|
|
119
120
|
huggingface_hub/inference/_providers/sambanova.py,sha256=t-J89tab8wut62jXSXl7pAK5mCrovwdgtvbDYK1DHis,2031
|
|
121
|
+
huggingface_hub/inference/_providers/scaleway.py,sha256=Jy81kXWbXCHBpx6xmyzdEfXGSyhUfjKOLHuDSvhHWGo,1209
|
|
120
122
|
huggingface_hub/inference/_providers/together.py,sha256=q32zFvXhmRogWXMSaEFVYS8m9blXI_oy7KPdeal7Wwg,3433
|
|
121
123
|
huggingface_hub/serialization/__init__.py,sha256=jCiw_vVQYW52gwVfWiqgocf2Q19kGTQlRGVpf-4SLP8,963
|
|
122
|
-
huggingface_hub/serialization/_base.py,sha256=
|
|
124
|
+
huggingface_hub/serialization/_base.py,sha256=af1QBU_A3EKgAXvYCkENPyamL5Z7V5LxlIUoCxMsEYM,8097
|
|
123
125
|
huggingface_hub/serialization/_dduf.py,sha256=eyUREtvL7od9SSYKrGcCayF29w3xcP1qXTx7RntWp9k,15411
|
|
124
|
-
huggingface_hub/serialization/_torch.py,sha256=
|
|
126
|
+
huggingface_hub/serialization/_torch.py,sha256=VSxdgQ8NuluWY2vs0ZXr6dJFDNNvL1FDW38adLag6nE,45082
|
|
125
127
|
huggingface_hub/templates/datasetcard_template.md,sha256=W-EMqR6wndbrnZorkVv56URWPG49l7MATGeI015kTvs,5503
|
|
126
128
|
huggingface_hub/templates/modelcard_template.md,sha256=4AqArS3cqdtbit5Bo-DhjcnDFR-pza5hErLLTPM4Yuc,6870
|
|
127
129
|
huggingface_hub/utils/__init__.py,sha256=o0vivDNuvQI-0yW_imf9GtbEYPRkt3mcY3wkeF1bGT4,3822
|
|
128
130
|
huggingface_hub/utils/_auth.py,sha256=TAz8pjk1lP7gseit8Trl2LygKun9unMEBWg_36EeDkA,8280
|
|
129
131
|
huggingface_hub/utils/_cache_assets.py,sha256=kai77HPQMfYpROouMBQCr_gdBCaeTm996Sqj0dExbNg,5728
|
|
130
|
-
huggingface_hub/utils/_cache_manager.py,sha256=
|
|
131
|
-
huggingface_hub/utils/_chunk_utils.py,sha256=
|
|
132
|
+
huggingface_hub/utils/_cache_manager.py,sha256=bieZZEMrLGxsw9_BDYl8iE61JfcAQuNK60LVOR7lETw,34336
|
|
133
|
+
huggingface_hub/utils/_chunk_utils.py,sha256=MH7-6FwCDZ8noV6dGRytCOJGSfcZmDBvsvVotdI8TvQ,2109
|
|
132
134
|
huggingface_hub/utils/_datetime.py,sha256=kCS5jaKV25kOncX1xujbXsz5iDLcjLcLw85semGNzxQ,2770
|
|
133
135
|
huggingface_hub/utils/_deprecation.py,sha256=4tWi3vBSdvnhA0z_Op-tkAQ0xrJ4TUb0HbPhMiXUnOs,4872
|
|
134
136
|
huggingface_hub/utils/_dotenv.py,sha256=2LLdzpA-LzLxO15GLb9WKT5IGrTurIRmFPrMX1yDzsU,2011
|
|
@@ -136,7 +138,7 @@ huggingface_hub/utils/_experimental.py,sha256=3-c8irbn9sJr2CwWbzhGkIrdXKg8_x7Bif
|
|
|
136
138
|
huggingface_hub/utils/_fixes.py,sha256=xQZzfwLqZV8-gNcw9mrZ-M1acA6NZHszI_-cSZIWN-U,3978
|
|
137
139
|
huggingface_hub/utils/_git_credential.py,sha256=4B77QzeiPxCwK6BWZgUc1avzRKpna3wYlhVg7AuSCzA,4613
|
|
138
140
|
huggingface_hub/utils/_headers.py,sha256=k_ApvA8fJGHc0yNp2IFY8wySM9MQ5UZEpjr1g-fpRJ4,8060
|
|
139
|
-
huggingface_hub/utils/_http.py,sha256=
|
|
141
|
+
huggingface_hub/utils/_http.py,sha256=PIwHONbWQsQY8MrUGALWqp7iDScNZ-g2C_UmPi74M1A,31213
|
|
140
142
|
huggingface_hub/utils/_lfs.py,sha256=EC0Oz6Wiwl8foRNkUOzrETXzAWlbgpnpxo5a410ovFY,3957
|
|
141
143
|
huggingface_hub/utils/_pagination.py,sha256=wEHEWhCu9vN5pv51t7ixSGe13g63kS6AJM4P53eY9M4,1894
|
|
142
144
|
huggingface_hub/utils/_paths.py,sha256=WCR2WbqDJLdNlU4XZNXXNmGct3OiDwPesGYrq41T2wE,5036
|
|
@@ -150,12 +152,12 @@ huggingface_hub/utils/_xet.py,sha256=P9b4lc4bJfOSZ7OVO-fg26_ayN0ESb_f1nQ7Bx9ZLfg
|
|
|
150
152
|
huggingface_hub/utils/_xet_progress_reporting.py,sha256=bxwanhLxigDASflFZVt7S8eENIviguyVg1Q9vFtmDf8,6169
|
|
151
153
|
huggingface_hub/utils/endpoint_helpers.py,sha256=9VtIAlxQ5H_4y30sjCAgbu7XCqAtNLC7aRYxaNn0hLI,2366
|
|
152
154
|
huggingface_hub/utils/insecure_hashlib.py,sha256=z3dVUFvdBZ8kQI_8Vzvvlr3ims-EBiY-SYPdnzIKOkw,1008
|
|
153
|
-
huggingface_hub/utils/logging.py,sha256=
|
|
155
|
+
huggingface_hub/utils/logging.py,sha256=N6NXaCcbPbZSF-Oe-TY3ZnmkpmdFVyTOV8ASo-yVXLE,4916
|
|
154
156
|
huggingface_hub/utils/sha.py,sha256=OFnNGCba0sNcT2gUwaVCJnldxlltrHHe0DS_PCpV3C4,2134
|
|
155
157
|
huggingface_hub/utils/tqdm.py,sha256=-9gfgNA8bg5v5YBToSuB6noClI3a6YaGeFZP61IWmeY,10662
|
|
156
|
-
huggingface_hub-1.0.
|
|
157
|
-
huggingface_hub-1.0.
|
|
158
|
-
huggingface_hub-1.0.
|
|
159
|
-
huggingface_hub-1.0.
|
|
160
|
-
huggingface_hub-1.0.
|
|
161
|
-
huggingface_hub-1.0.
|
|
158
|
+
huggingface_hub-1.0.0rc2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
159
|
+
huggingface_hub-1.0.0rc2.dist-info/METADATA,sha256=iwa5WbSkP7G2P0E9WRTY3zmpftLMGID-XTusFXgtCmE,14164
|
|
160
|
+
huggingface_hub-1.0.0rc2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
161
|
+
huggingface_hub-1.0.0rc2.dist-info/entry_points.txt,sha256=HIzLhjwPTO7U_ncpW4AkmzAuaadr1ajmYagW5mdb5TM,217
|
|
162
|
+
huggingface_hub-1.0.0rc2.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
|
|
163
|
+
huggingface_hub-1.0.0rc2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|