huggingface-hub 0.30.2__py3-none-any.whl → 0.31.0__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.

Files changed (40) hide show
  1. huggingface_hub/__init__.py +1 -1
  2. huggingface_hub/_commit_api.py +23 -4
  3. huggingface_hub/_inference_endpoints.py +8 -5
  4. huggingface_hub/_snapshot_download.py +2 -1
  5. huggingface_hub/_space_api.py +0 -5
  6. huggingface_hub/_upload_large_folder.py +26 -3
  7. huggingface_hub/commands/upload.py +2 -1
  8. huggingface_hub/constants.py +1 -0
  9. huggingface_hub/file_download.py +58 -10
  10. huggingface_hub/hf_api.py +81 -15
  11. huggingface_hub/inference/_client.py +103 -148
  12. huggingface_hub/inference/_generated/_async_client.py +103 -148
  13. huggingface_hub/inference/_generated/types/automatic_speech_recognition.py +2 -3
  14. huggingface_hub/inference/_generated/types/chat_completion.py +3 -3
  15. huggingface_hub/inference/_generated/types/image_to_text.py +2 -3
  16. huggingface_hub/inference/_generated/types/text_generation.py +1 -1
  17. huggingface_hub/inference/_generated/types/text_to_audio.py +1 -2
  18. huggingface_hub/inference/_generated/types/text_to_speech.py +1 -2
  19. huggingface_hub/inference/_providers/__init__.py +55 -17
  20. huggingface_hub/inference/_providers/_common.py +34 -19
  21. huggingface_hub/inference/_providers/black_forest_labs.py +4 -1
  22. huggingface_hub/inference/_providers/fal_ai.py +36 -11
  23. huggingface_hub/inference/_providers/hf_inference.py +32 -10
  24. huggingface_hub/inference/_providers/hyperbolic.py +5 -1
  25. huggingface_hub/inference/_providers/nebius.py +5 -1
  26. huggingface_hub/inference/_providers/novita.py +4 -1
  27. huggingface_hub/inference/_providers/openai.py +3 -2
  28. huggingface_hub/inference/_providers/replicate.py +22 -3
  29. huggingface_hub/inference/_providers/sambanova.py +23 -1
  30. huggingface_hub/inference/_providers/together.py +5 -1
  31. huggingface_hub/repocard_data.py +24 -4
  32. huggingface_hub/utils/_pagination.py +2 -2
  33. huggingface_hub/utils/_runtime.py +4 -0
  34. huggingface_hub/utils/_xet.py +1 -12
  35. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/METADATA +3 -2
  36. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/RECORD +40 -40
  37. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/LICENSE +0 -0
  38. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/WHEEL +0 -0
  39. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/entry_points.txt +0 -0
  40. {huggingface_hub-0.30.2.dist-info → huggingface_hub-0.31.0.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,6 @@
1
1
  from typing import Any, Dict, Optional, Union
2
2
 
3
+ from huggingface_hub.hf_api import InferenceProviderMapping
3
4
  from huggingface_hub.inference._common import RequestParameters, _as_dict
4
5
  from huggingface_hub.inference._providers._common import TaskProviderHelper, filter_none
5
6
  from huggingface_hub.utils import get_session
@@ -23,7 +24,10 @@ class ReplicateTask(TaskProviderHelper):
23
24
  return "/v1/predictions"
24
25
  return f"/v1/models/{mapped_model}/predictions"
25
26
 
26
- def _prepare_payload_as_dict(self, inputs: Any, parameters: Dict, mapped_model: str) -> Optional[Dict]:
27
+ def _prepare_payload_as_dict(
28
+ self, inputs: Any, parameters: Dict, provider_mapping_info: InferenceProviderMapping
29
+ ) -> Optional[Dict]:
30
+ mapped_model = provider_mapping_info.provider_id
27
31
  payload: Dict[str, Any] = {"input": {"prompt": inputs, **filter_none(parameters)}}
28
32
  if ":" in mapped_model:
29
33
  version = mapped_model.split(":", 1)[1]
@@ -43,11 +47,26 @@ class ReplicateTask(TaskProviderHelper):
43
47
  return get_session().get(output_url).content
44
48
 
45
49
 
50
+ class ReplicateTextToImageTask(ReplicateTask):
51
+ def __init__(self):
52
+ super().__init__("text-to-image")
53
+
54
+ def _prepare_payload_as_dict(
55
+ self, inputs: Any, parameters: Dict, provider_mapping_info: InferenceProviderMapping
56
+ ) -> Optional[Dict]:
57
+ payload: Dict = super()._prepare_payload_as_dict(inputs, parameters, provider_mapping_info) # type: ignore[assignment]
58
+ if provider_mapping_info.adapter_weights_path is not None:
59
+ payload["input"]["lora_weights"] = f"https://huggingface.co/{provider_mapping_info.hf_model_id}"
60
+ return payload
61
+
62
+
46
63
  class ReplicateTextToSpeechTask(ReplicateTask):
47
64
  def __init__(self):
48
65
  super().__init__("text-to-speech")
49
66
 
50
- def _prepare_payload_as_dict(self, inputs: Any, parameters: Dict, mapped_model: str) -> Optional[Dict]:
51
- payload: Dict = super()._prepare_payload_as_dict(inputs, parameters, mapped_model) # type: ignore[assignment]
67
+ def _prepare_payload_as_dict(
68
+ self, inputs: Any, parameters: Dict, provider_mapping_info: InferenceProviderMapping
69
+ ) -> Optional[Dict]:
70
+ payload: Dict = super()._prepare_payload_as_dict(inputs, parameters, provider_mapping_info) # type: ignore[assignment]
52
71
  payload["input"]["text"] = payload["input"].pop("prompt") # rename "prompt" to "text" for TTS
53
72
  return payload
@@ -1,6 +1,28 @@
1
- from huggingface_hub.inference._providers._common import BaseConversationalTask
1
+ from typing import Any, Dict, Optional, Union
2
+
3
+ from huggingface_hub.hf_api import InferenceProviderMapping
4
+ from huggingface_hub.inference._common import RequestParameters, _as_dict
5
+ from huggingface_hub.inference._providers._common import BaseConversationalTask, TaskProviderHelper, filter_none
2
6
 
3
7
 
4
8
  class SambanovaConversationalTask(BaseConversationalTask):
5
9
  def __init__(self):
6
10
  super().__init__(provider="sambanova", base_url="https://api.sambanova.ai")
11
+
12
+
13
+ class SambanovaFeatureExtractionTask(TaskProviderHelper):
14
+ def __init__(self):
15
+ super().__init__(provider="sambanova", base_url="https://api.sambanova.ai", task="feature-extraction")
16
+
17
+ def _prepare_route(self, mapped_model: str, api_key: str) -> str:
18
+ return "/v1/embeddings"
19
+
20
+ def _prepare_payload_as_dict(
21
+ self, inputs: Any, parameters: Dict, provider_mapping_info: InferenceProviderMapping
22
+ ) -> Optional[Dict]:
23
+ parameters = filter_none(parameters)
24
+ return {"input": inputs, "model": provider_mapping_info.provider_id, **parameters}
25
+
26
+ def get_response(self, response: Union[bytes, Dict], request_params: Optional[RequestParameters] = None) -> Any:
27
+ embeddings = _as_dict(response)["data"]
28
+ return [embedding["embedding"] for embedding in embeddings]
@@ -2,6 +2,7 @@ import base64
2
2
  from abc import ABC
3
3
  from typing import Any, Dict, Optional, Union
4
4
 
5
+ from huggingface_hub.hf_api import InferenceProviderMapping
5
6
  from huggingface_hub.inference._common import RequestParameters, _as_dict
6
7
  from huggingface_hub.inference._providers._common import (
7
8
  BaseConversationalTask,
@@ -55,7 +56,10 @@ class TogetherTextToImageTask(TogetherTask):
55
56
  def __init__(self):
56
57
  super().__init__("text-to-image")
57
58
 
58
- def _prepare_payload_as_dict(self, inputs: Any, parameters: Dict, mapped_model: str) -> Optional[Dict]:
59
+ def _prepare_payload_as_dict(
60
+ self, inputs: Any, parameters: Dict, provider_mapping_info: InferenceProviderMapping
61
+ ) -> Optional[Dict]:
62
+ mapped_model = provider_mapping_info.provider_id
59
63
  parameters = filter_none(parameters)
60
64
  if "num_inference_steps" in parameters:
61
65
  parameters["steps"] = parameters.pop("num_inference_steps")
@@ -245,6 +245,23 @@ class CardData:
245
245
  return len(self.__dict__)
246
246
 
247
247
 
248
+ def _validate_eval_results(
249
+ eval_results: Optional[Union[EvalResult, List[EvalResult]]],
250
+ model_name: Optional[str],
251
+ ) -> List[EvalResult]:
252
+ if eval_results is None:
253
+ return []
254
+ if isinstance(eval_results, EvalResult):
255
+ eval_results = [eval_results]
256
+ if not isinstance(eval_results, list) or not all(isinstance(r, EvalResult) for r in eval_results):
257
+ raise ValueError(
258
+ f"`eval_results` should be of type `EvalResult` or a list of `EvalResult`, got {type(eval_results)}."
259
+ )
260
+ if model_name is None:
261
+ raise ValueError("Passing `eval_results` requires `model_name` to be set.")
262
+ return eval_results
263
+
264
+
248
265
  class ModelCardData(CardData):
249
266
  """Model Card Metadata that is used by Hugging Face Hub when included at the top of your README.md
250
267
 
@@ -359,10 +376,13 @@ class ModelCardData(CardData):
359
376
  super().__init__(**kwargs)
360
377
 
361
378
  if self.eval_results:
362
- if isinstance(self.eval_results, EvalResult):
363
- self.eval_results = [self.eval_results]
364
- if self.model_name is None:
365
- raise ValueError("Passing `eval_results` requires `model_name` to be set.")
379
+ try:
380
+ self.eval_results = _validate_eval_results(self.eval_results, self.model_name)
381
+ except Exception as e:
382
+ if ignore_metadata_errors:
383
+ logger.warning(f"Failed to validate eval_results: {e}. Not loading eval results into CardData.")
384
+ else:
385
+ raise ValueError(f"Failed to validate eval_results: {e}") from e
366
386
 
367
387
  def _to_dict(self, data_dict):
368
388
  """Format the internal data dict. In this case, we convert eval results to a valid model index"""
@@ -18,7 +18,7 @@ from typing import Dict, Iterable, Optional
18
18
 
19
19
  import requests
20
20
 
21
- from . import get_session, hf_raise_for_status, logging
21
+ from . import get_session, hf_raise_for_status, http_backoff, logging
22
22
 
23
23
 
24
24
  logger = logging.get_logger(__name__)
@@ -42,7 +42,7 @@ def paginate(path: str, params: Dict, headers: Dict) -> Iterable:
42
42
  next_page = _get_next_page(r)
43
43
  while next_page is not None:
44
44
  logger.debug(f"Pagination detected. Requesting next page: {next_page}")
45
- r = session.get(next_page, headers=headers)
45
+ r = http_backoff("GET", next_page, max_retries=20, retry_on_status_codes=429, headers=headers)
46
46
  hf_raise_for_status(r)
47
47
  yield from r.json()
48
48
  next_page = _get_next_page(r)
@@ -154,6 +154,10 @@ def get_hf_transfer_version() -> str:
154
154
 
155
155
  # xet
156
156
  def is_xet_available() -> bool:
157
+ # since hf_xet is automatically used if available, allow explicit disabling via environment variable
158
+ if constants._is_true(os.environ.get("HF_HUB_DISABLE_XET")): # type: ignore
159
+ return False
160
+
157
161
  return is_package_available("hf_xet")
158
162
 
159
163
 
@@ -89,7 +89,6 @@ def refresh_xet_connection_info(
89
89
  *,
90
90
  file_data: XetFileData,
91
91
  headers: Dict[str, str],
92
- endpoint: Optional[str] = None,
93
92
  ) -> XetConnectionInfo:
94
93
  """
95
94
  Utilizes the information in the parsed metadata to request the Hub xet connection information.
@@ -99,8 +98,6 @@ def refresh_xet_connection_info(
99
98
  The file data needed to refresh the xet connection information.
100
99
  headers (`Dict[str, str]`):
101
100
  Headers to use for the request, including authorization headers and user agent.
102
- endpoint (`str`, `optional`):
103
- The endpoint to use for the request. Defaults to the Hub endpoint.
104
101
  Returns:
105
102
  `XetConnectionInfo`:
106
103
  The connection information needed to make the request to the xet storage service.
@@ -112,15 +109,7 @@ def refresh_xet_connection_info(
112
109
  """
113
110
  if file_data.refresh_route is None:
114
111
  raise ValueError("The provided xet metadata does not contain a refresh endpoint.")
115
- endpoint = endpoint if endpoint is not None else constants.ENDPOINT
116
-
117
- # TODO: An upcoming version of hub will prepend the endpoint to the refresh route in
118
- # the headers. Once that's deployed we can call fetch on the refresh route directly.
119
- url = file_data.refresh_route
120
- if url.startswith("/"):
121
- url = f"{endpoint}{url}"
122
-
123
- return _fetch_xet_connection_info_with_url(url, headers)
112
+ return _fetch_xet_connection_info_with_url(file_data.refresh_route, headers)
124
113
 
125
114
 
126
115
  @validate_hf_hub_args
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 0.30.2
3
+ Version: 0.31.0
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.
@@ -32,6 +32,7 @@ Requires-Dist: pyyaml>=5.1
32
32
  Requires-Dist: requests
33
33
  Requires-Dist: tqdm>=4.42.1
34
34
  Requires-Dist: typing-extensions>=3.7.4.3
35
+ Requires-Dist: hf-xet<2.0.0,>=1.1.0; platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "arm64" or platform_machine == "aarch64"
35
36
  Provides-Extra: all
36
37
  Requires-Dist: InquirerPy==0.3.4; extra == "all"
37
38
  Requires-Dist: aiohttp; extra == "all"
@@ -99,7 +100,7 @@ Requires-Dist: fastcore>=1.3.27; extra == "fastai"
99
100
  Provides-Extra: hf_transfer
100
101
  Requires-Dist: hf-transfer>=0.1.4; extra == "hf-transfer"
101
102
  Provides-Extra: hf_xet
102
- Requires-Dist: hf-xet>=0.1.4; extra == "hf-xet"
103
+ Requires-Dist: hf-xet<2.0.0,>=1.1.0; extra == "hf-xet"
103
104
  Provides-Extra: inference
104
105
  Requires-Dist: aiohttp; extra == "inference"
105
106
  Provides-Extra: quality
@@ -1,21 +1,21 @@
1
- huggingface_hub/__init__.py,sha256=3XEq6NrvmanS_Vl2Ozamcs5TfIynXdQI0ima4zPAxus,49368
2
- huggingface_hub/_commit_api.py,sha256=cihZ2Zn4_AEjSVSuxwN7Sr42aKz2a38OkBFSqD-JB7I,38777
1
+ huggingface_hub/__init__.py,sha256=r7RZZcRakns_w9vSlFvpPcN3KmeJPSuOFKQFV0pkan8,49368
2
+ huggingface_hub/_commit_api.py,sha256=ZbmuIhFdF8B3F_cvGtxorka7MmIQOk8oBkCtYltnCvI,39456
3
3
  huggingface_hub/_commit_scheduler.py,sha256=tfIoO1xWHjTJ6qy6VS6HIoymDycFPg0d6pBSZprrU2U,14679
4
- huggingface_hub/_inference_endpoints.py,sha256=SLoZOQtv_hNl0Xuafo34L--zuCZ3zSJja2tSkYkG5V4,17268
4
+ huggingface_hub/_inference_endpoints.py,sha256=qXR0utAYRaEWTI8EXzAsDpVDcYpp8bJPEBbcOxRS52E,17413
5
5
  huggingface_hub/_local_folder.py,sha256=ScpCJUITFC0LMkiebyaGiBhAU6fvQK8w7pVV6L8rhmc,16575
6
6
  huggingface_hub/_login.py,sha256=ssf4viT5BhHI2ZidnSuAZcrwSxzaLOrf8xgRVKuvu_A,20298
7
- huggingface_hub/_snapshot_download.py,sha256=zZDaPBb4CfMCU7DgxjbaFmdoISCY425RaH7wXwFijEM,14992
8
- huggingface_hub/_space_api.py,sha256=8SdwaXUjmtFPbHig5wrFRkQ7C53ougcnndhYDH-lsgg,5553
7
+ huggingface_hub/_snapshot_download.py,sha256=oL2TgO0RpH_KJOQpKF-ttvPRDldeFc7JYvBPktXb_ps,15015
8
+ huggingface_hub/_space_api.py,sha256=jb6rF8qLtjaNU12D-8ygAPM26xDiHCu8CHXHowhGTmg,5470
9
9
  huggingface_hub/_tensorboard_logger.py,sha256=ZkYcAUiRC8RGL214QUYtp58O8G5tn-HF6DCWha9imcA,8358
10
- huggingface_hub/_upload_large_folder.py,sha256=eedUTowflZx1thFVLDv7hLd_LQqixa5NVsUco7R6F5c,23531
10
+ huggingface_hub/_upload_large_folder.py,sha256=mDKZv7MIieKlTCbTv0jccHIM4smCqK-Y0ZDfMXsXTqo,24685
11
11
  huggingface_hub/_webhooks_payload.py,sha256=Xm3KaK7tCOGBlXkuZvbym6zjHXrT1XCrbUFWuXiBmNY,3617
12
12
  huggingface_hub/_webhooks_server.py,sha256=5J63wk9MUGKBNJVsOD9i60mJ-VMp0YYmlf87vQsl-L8,15767
13
13
  huggingface_hub/community.py,sha256=4MtcoxEI9_0lmmilBEnvUEi8_O1Ivfa8p6eKxYU5-ts,12198
14
- huggingface_hub/constants.py,sha256=4rn5JWp4k5JRNWcnl1XkPPFr-d6GkYtkkg0-qLcxcj4,9481
14
+ huggingface_hub/constants.py,sha256=2EWCQ4UuVn-VlkEm0tpu2KX_YZea55KMeOfDmvzBgTM,9539
15
15
  huggingface_hub/errors.py,sha256=cE0bwLHbv8e34tbOdlkl-exjDoFxGgCLYmTYlDkpJgI,10155
16
16
  huggingface_hub/fastai_utils.py,sha256=DpeH9d-6ut2k_nCAAwglM51XmRmgfbRe2SPifpVL5Yk,16745
17
- huggingface_hub/file_download.py,sha256=s3kUdf7NhcRjoJpLcYRZOz1deC0Q7k-_gWIBwcd2MG4,76327
18
- huggingface_hub/hf_api.py,sha256=LZgjfr2OVjz1t85uNoqv2Wn0sDU9KOpiOCDE7g2fx3c,437885
17
+ huggingface_hub/file_download.py,sha256=Kh7Lg7C-Zn2U-zhF_mLw75ifiM28b9lSIODPvO4hGlA,78453
18
+ huggingface_hub/hf_api.py,sha256=o-Y4Alxxy23SjJhX2xRYVvc2qw2DfX2mnyN8XxOuOSU,441239
19
19
  huggingface_hub/hf_file_system.py,sha256=m_g7uYLGxTdsBnhvR5835jvYMAuEBsUSFvEbzZKzzoo,47500
20
20
  huggingface_hub/hub_mixin.py,sha256=fdAhdDujpUBZPUB6AfzzMRBeQ_Ua9tgQkhHE_ao5n2k,38062
21
21
  huggingface_hub/inference_api.py,sha256=b4-NhPSn9b44nYKV8tDKXodmE4JVdEymMWL4CVGkzlE,8323
@@ -23,7 +23,7 @@ huggingface_hub/keras_mixin.py,sha256=3d2oW35SALXHq-WHoLD_tbq0UrcabGKj3HidtPRx51
23
23
  huggingface_hub/lfs.py,sha256=n-TIjK7J7aXG3zi__0nkd6aNkE4djOf9CD6dYQOQ5P8,16649
24
24
  huggingface_hub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  huggingface_hub/repocard.py,sha256=ihFBKYqPNaWw9rWMUvcaRKxrooL32NA4fAlrwzXk9LY,34733
26
- huggingface_hub/repocard_data.py,sha256=EqJ-54QF0qngitsZwCkPQjPwzrkLpxt_qU4lxekMWs8,33247
26
+ huggingface_hub/repocard_data.py,sha256=hr4ReFpEQMNdh_9Dx-L-IJoI1ElHyk-h-8ZRqwVYYOE,34082
27
27
  huggingface_hub/repository.py,sha256=xVQR-MRKNDfJ_Z_99DwtXZB3xNO06eYG_GvRM4fLiTU,54557
28
28
  huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928
29
29
  huggingface_hub/commands/_cli_utils.py,sha256=Nt6CjbkYqQQRuh70bUXVA6rZpbZt_Sa1WqBUxjQLu6g,2095
@@ -35,21 +35,21 @@ huggingface_hub/commands/lfs.py,sha256=xdbnNRO04UuQemEhUGT809jFgQn9Rj-SnyT_0Ph-V
35
35
  huggingface_hub/commands/repo_files.py,sha256=Nfv8TjuaZVOrj7TZjrojtjdD8Wf54aZvYPDEOevh7tA,4923
36
36
  huggingface_hub/commands/scan_cache.py,sha256=xdD_zRKd49hRuATyptG-zaY08h1f9CAjB5zZBKe0YEo,8563
37
37
  huggingface_hub/commands/tag.py,sha256=0LNQZyK-WKi0VIL9i1xWzKxJ1ILw1jxMF_E6t2weJss,6288
38
- huggingface_hub/commands/upload.py,sha256=dq6MAJMUm4HBy8qaLgej-WQZ1Es12C4RefT149_wf6A,14366
38
+ huggingface_hub/commands/upload.py,sha256=3mcBBo2pNO99NHzNu6o-VcEHjDp7mtyQYeKE9eVao0w,14453
39
39
  huggingface_hub/commands/upload_large_folder.py,sha256=P-EO44JWVl39Ax4b0E0Z873d0a6S38Qas8P6DaL1EwI,6129
40
40
  huggingface_hub/commands/user.py,sha256=M6Ef045YcyV4mFCbLaTRPciQDC6xtV9MMheeen69D0E,11168
41
41
  huggingface_hub/commands/version.py,sha256=vfCJn7GO1m-DtDmbdsty8_RTVtnZ7lX6MJsx0Bf4e-s,1266
42
42
  huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
- huggingface_hub/inference/_client.py,sha256=7m_WAbLasJKcB-TXgEGNU-QSXxhmz8T8Uv-3CWPgdds,162759
43
+ huggingface_hub/inference/_client.py,sha256=Wb3ZKdJpNCCwN80mOZF3RK5eLBq6FWW1_vgYDVuAN9M,161386
44
44
  huggingface_hub/inference/_common.py,sha256=iwCkq2fWE1MVoPTeeXN7UN5FZi7g5fZ3K8PHSOCi5dU,14591
45
45
  huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
- huggingface_hub/inference/_generated/_async_client.py,sha256=zE3dZSBh_RdTiH5wI8Fu8wZbA_KFNzQbFgQJxK-4pEw,168964
46
+ huggingface_hub/inference/_generated/_async_client.py,sha256=lFukg5o-hOr2EurwsLYTyKElo9N71y6ekyh2ODZcIdM,167546
47
47
  huggingface_hub/inference/_generated/types/__init__.py,sha256=--r3nBmBRtgyQR9TkdQl53_crcKYJhWfTkFK2VE2gUk,6307
48
48
  huggingface_hub/inference/_generated/types/audio_classification.py,sha256=Jg3mzfGhCSH6CfvVvgJSiFpkz6v4nNA0G4LJXacEgNc,1573
49
49
  huggingface_hub/inference/_generated/types/audio_to_audio.py,sha256=2Ep4WkePL7oJwcp5nRJqApwviumGHbft9HhXE9XLHj4,891
50
- huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=lWD_BMDMS3hreIq0kcLwOa8e0pXRH-oWUK96VaVc5DM,5624
50
+ huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=8CEphr6rvRHgq1L5Md3tq14V0tEAmzJkemh1_7gSswo,5515
51
51
  huggingface_hub/inference/_generated/types/base.py,sha256=4XG49q0-2SOftYQ8HXQnWLxiJktou-a7IoG3kdOv-kg,6751
52
- huggingface_hub/inference/_generated/types/chat_completion.py,sha256=OseOxgvDLeZDjUflWFqVVNzz6yMzqku5ksGzaW0Qpj0,10226
52
+ huggingface_hub/inference/_generated/types/chat_completion.py,sha256=V_C-fCHBycTWlwqFsTk4KGyBQTGRbyMykyIKOh1cTfg,10242
53
53
  huggingface_hub/inference/_generated/types/depth_estimation.py,sha256=rcpe9MhYMeLjflOwBs3KMZPr6WjOH3FYEThStG-FJ3M,929
54
54
  huggingface_hub/inference/_generated/types/document_question_answering.py,sha256=6BEYGwJcqGlah4RBJDAvWFTEXkO0mosBiMy82432nAM,3202
55
55
  huggingface_hub/inference/_generated/types/feature_extraction.py,sha256=NMWVL_TLSG5SS5bdt1-fflkZ75UMlMKeTMtmdnUTADc,1537
@@ -57,7 +57,7 @@ huggingface_hub/inference/_generated/types/fill_mask.py,sha256=OrTgQ7Ndn0_dWK5th
57
57
  huggingface_hub/inference/_generated/types/image_classification.py,sha256=A-Y024o8723_n8mGVos4TwdAkVL62McGeL1iIo4VzNs,1585
58
58
  huggingface_hub/inference/_generated/types/image_segmentation.py,sha256=vrkI4SuP1Iq_iLXc-2pQhYY3SHN4gzvFBoZqbUHxU7o,1950
59
59
  huggingface_hub/inference/_generated/types/image_to_image.py,sha256=HPz1uKXk_9xvgNUi3GV6n4lw-J3G6cdGTcW3Ou_N0l8,2044
60
- huggingface_hub/inference/_generated/types/image_to_text.py,sha256=3hN7lpJoVuwUJme5gDdxZmXftb6cQ_7SXVC1VM8rXh8,4919
60
+ huggingface_hub/inference/_generated/types/image_to_text.py,sha256=OaFEBAfgT-fOVzJ7xVermGf7VODhrc9-Jg38WrM7-2o,4810
61
61
  huggingface_hub/inference/_generated/types/object_detection.py,sha256=VuFlb1281qTXoSgJDmquGz-VNfEZLo2H0Rh_F6MF6ts,2000
62
62
  huggingface_hub/inference/_generated/types/question_answering.py,sha256=zw38a9_9l2k1ifYZefjkioqZ4asfSRM9M4nU3gSCmAQ,2898
63
63
  huggingface_hub/inference/_generated/types/sentence_similarity.py,sha256=w5Nj1g18eBzopZwxuDLI-fEsyaCK2KrHA5yf_XfSjgo,1052
@@ -65,10 +65,10 @@ huggingface_hub/inference/_generated/types/summarization.py,sha256=WGGr8uDLrZg8J
65
65
  huggingface_hub/inference/_generated/types/table_question_answering.py,sha256=cJnIPA2fIbQP2Ejn7X_esY48qGWoXg30fnNOqCXiOVQ,2293
66
66
  huggingface_hub/inference/_generated/types/text2text_generation.py,sha256=v-418w1JNNSZ2tuW9DUl6a36TQQCADa438A3ufvcbOw,1609
67
67
  huggingface_hub/inference/_generated/types/text_classification.py,sha256=FarAjygLEfPofLfKeabzJ7PKEBItlHGoUNUOzyLRpL4,1445
68
- huggingface_hub/inference/_generated/types/text_generation.py,sha256=Rk6kAbyWn7tI-tDamkoCAg61sQj3glNPxWdovs6WrQM,5907
69
- huggingface_hub/inference/_generated/types/text_to_audio.py,sha256=aE6NLpQ9V3ENIXOCFFcMaMjdLxZzZpE7iU1V-XYPU0w,4850
68
+ huggingface_hub/inference/_generated/types/text_generation.py,sha256=28u-1zU7elk2teP3y4u1VAtDDHzY0JZ2KEEJe5d5uvg,5922
69
+ huggingface_hub/inference/_generated/types/text_to_audio.py,sha256=1HR9Q6s9MXqtKGTvHPLGVMum5-eg7O-Pgv6Nd0v8_HU,4741
70
70
  huggingface_hub/inference/_generated/types/text_to_image.py,sha256=sGGi1Fa0n5Pmd6G3I-F2SBJcJ1M7Gmqnng6sfi0AVzs,1903
71
- huggingface_hub/inference/_generated/types/text_to_speech.py,sha256=5Md6d1eRBfeVQ4A32s7YoxM2HFfSLMz5B5QovGKfWbs,4869
71
+ huggingface_hub/inference/_generated/types/text_to_speech.py,sha256=ROFuR32ijROCeqbv81Jos0lmaA8SRWyIUsWrdD4yWow,4760
72
72
  huggingface_hub/inference/_generated/types/text_to_video.py,sha256=yHXVNs3t6aYO7visrBlB5cH7kjoysxF9510aofcf_18,1790
73
73
  huggingface_hub/inference/_generated/types/token_classification.py,sha256=iblAcgfxXeaLYJ14NdiiCMIQuBlarUknLkXUklhvcLI,1915
74
74
  huggingface_hub/inference/_generated/types/translation.py,sha256=xww4X5cfCYv_F0oINWLwqJRPCT6SV3VBAJuPjTs_j7o,1763
@@ -77,21 +77,21 @@ huggingface_hub/inference/_generated/types/visual_question_answering.py,sha256=A
77
77
  huggingface_hub/inference/_generated/types/zero_shot_classification.py,sha256=BAiebPjsqoNa8EU35Dx0pfIv8W2c4GSl-TJckV1MaxQ,1738
78
78
  huggingface_hub/inference/_generated/types/zero_shot_image_classification.py,sha256=8J9n6VqFARkWvPfAZNWEG70AlrMGldU95EGQQwn06zI,1487
79
79
  huggingface_hub/inference/_generated/types/zero_shot_object_detection.py,sha256=GUd81LIV7oEbRWayDlAVgyLmY596r1M3AW0jXDp1yTA,1630
80
- huggingface_hub/inference/_providers/__init__.py,sha256=MuJ4xbzJPJQsksbQ2hkxTKU8D7ClgyauKmKtQQr1oQY,5843
81
- huggingface_hub/inference/_providers/_common.py,sha256=pWl2RnAe1MtaoQpZPQ6FsJ2Ga0ZJJiK9WQR8WGBboOY,9372
82
- huggingface_hub/inference/_providers/black_forest_labs.py,sha256=D9bvXl-_pox_JqIxIiqWzYW21-jYvf_bwhYkK_WZabo,2738
80
+ huggingface_hub/inference/_providers/__init__.py,sha256=duCzIuoRy6YiJXlO37xXASuJiEpcccplN_69b9nANUs,7351
81
+ huggingface_hub/inference/_providers/_common.py,sha256=YPt96TdVnUNrZOfe3e1wdVm6hjmH5ivz_Lg_4iU58R8,10113
82
+ huggingface_hub/inference/_providers/black_forest_labs.py,sha256=wO7qgRyNyrIKlZtvL3vJEbS4-D19kfoXZk6PDh1dTis,2842
83
83
  huggingface_hub/inference/_providers/cerebras.py,sha256=YT1yFhXvDJiKZcqcJcA_7VZJFZVkABnv6QiEb0S90rE,246
84
84
  huggingface_hub/inference/_providers/cohere.py,sha256=GkFsuKSaqsyfeerPx0ewv-EX44MtJ8a3XXEfmAiTpb0,419
85
- huggingface_hub/inference/_providers/fal_ai.py,sha256=Pko6CHSB30jkuuxBNC6rpDWWWN07lvPCNxxIlteBtik,6099
85
+ huggingface_hub/inference/_providers/fal_ai.py,sha256=gGWPsvQIsuk3kTIXHwpOqA0R1ZsPEo5MYc7OwUoFjxY,7162
86
86
  huggingface_hub/inference/_providers/fireworks_ai.py,sha256=6uDsaxJRaN2xWNQX8u1bvF8zO-8J31TAnHdsrf_TO5g,337
87
- huggingface_hub/inference/_providers/hf_inference.py,sha256=5mP0NaeFdMwI4jYoQaehNd5gc8LlPW-RERO6nI1X5jI,7147
88
- huggingface_hub/inference/_providers/hyperbolic.py,sha256=ZIwD50fUv3QnL091XlKA7TOs_E33Df5stsewpnbDNZ4,1824
89
- huggingface_hub/inference/_providers/nebius.py,sha256=wei1W80lMXpJ-3MGw9JRrO_LbRsqYVYgx67lSNYiV1Q,1980
90
- huggingface_hub/inference/_providers/novita.py,sha256=xlP1xZcFsouAJiJ_mXgaBngUOZ1x9OzEaHPH5DD2Dx0,2410
91
- huggingface_hub/inference/_providers/openai.py,sha256=J5YO5h6vZrZmf6WC5_sgXcu6qMv6yAd72U16vKXi628,873
92
- huggingface_hub/inference/_providers/replicate.py,sha256=WIO4DEz1Imgdn02XHxDYwkDxOxF1ir2eba3HgUn1cQg,2348
93
- huggingface_hub/inference/_providers/sambanova.py,sha256=pR2MajO3ffga9FxzruzrTfTm3eBQ3AC0TPeSIdiQeco,249
94
- huggingface_hub/inference/_providers/together.py,sha256=qa3Ns-b5HpJBdSkT8PchLobfE6Z48i8sIcfy6N1a5-A,2500
87
+ huggingface_hub/inference/_providers/hf_inference.py,sha256=NaCS6Q7cGjxYn61km_UBgRVuFRzZIGsnNiBZuxZPGjg,8062
88
+ huggingface_hub/inference/_providers/hyperbolic.py,sha256=OQIBi2j3aNvuaSQ8BUK1K1PVeRXdrxc80G-6YmBa-ns,1985
89
+ huggingface_hub/inference/_providers/nebius.py,sha256=9X5Er-M29sjJpeFAVuegjnd4ssRe8GQH5iAKMCkeL_E,2141
90
+ huggingface_hub/inference/_providers/novita.py,sha256=HGVC8wPraRQUuI5uBoye1Y4Wqe4X116B71GhhbWy5yM,2514
91
+ huggingface_hub/inference/_providers/openai.py,sha256=2TJPEwcbq1DKPYKB8roJKnMDiXTcCEquSqGPmibc6tQ,1048
92
+ huggingface_hub/inference/_providers/replicate.py,sha256=zFQnnAaNmRruqTvZUG_8It8xkKePHLGKRomSkwjrUuk,3157
93
+ huggingface_hub/inference/_providers/sambanova.py,sha256=yDPORdQnkGKSkbgrOLQEz_kGv5ntp_k0lonsKX3TIeM,1284
94
+ huggingface_hub/inference/_providers/together.py,sha256=5p-HUKzNXlA4r2dD_TMnQlo8Mq_ZUGz_4p9fscC3hGQ,2661
95
95
  huggingface_hub/serialization/__init__.py,sha256=kn-Fa-m4FzMnN8lNsF-SwFcfzug4CucexybGKyvZ8S0,1041
96
96
  huggingface_hub/serialization/_base.py,sha256=Df3GwGR9NzeK_SD75prXLucJAzPiNPgHbgXSw-_LTk8,8126
97
97
  huggingface_hub/serialization/_dduf.py,sha256=s42239rLiHwaJE36QDEmS5GH7DSmQ__BffiHJO5RjIg,15424
@@ -113,23 +113,23 @@ huggingface_hub/utils/_headers.py,sha256=3tKQN5ciAt1683nZXEpPyQOS7oWnfYI0t_N_aJU
113
113
  huggingface_hub/utils/_hf_folder.py,sha256=WNjTnu0Q7tqcSS9EsP4ssCJrrJMcCvAt8P_-LEtmOU8,2487
114
114
  huggingface_hub/utils/_http.py,sha256=her7UZ0KRo9WYDArpqVFyEXTusOGUECj5HNS8Eahqm8,25531
115
115
  huggingface_hub/utils/_lfs.py,sha256=EC0Oz6Wiwl8foRNkUOzrETXzAWlbgpnpxo5a410ovFY,3957
116
- huggingface_hub/utils/_pagination.py,sha256=hzLFLd8i_DKkPRVYzOx2CxLt5lcocEiAxDJriQUjAjY,1841
116
+ huggingface_hub/utils/_pagination.py,sha256=EX5tRasSuQDaKbXuGYbInBK2odnSWNHgzw2tSgqeBRI,1906
117
117
  huggingface_hub/utils/_paths.py,sha256=w1ZhFmmD5ykWjp_hAvhjtOoa2ZUcOXJrF4a6O3QpAWo,5042
118
- huggingface_hub/utils/_runtime.py,sha256=0J4JDzg51bDRtNcrr7rjIoOS8msO5l_G2EaKb1oXP10,11408
118
+ huggingface_hub/utils/_runtime.py,sha256=uzBNsuyNd2QtWzMgEwSoJNUtW24iqNjA-ZNDG1fc9i4,11616
119
119
  huggingface_hub/utils/_safetensors.py,sha256=GW3nyv7xQcuwObKYeYoT9VhURVzG1DZTbKBKho8Bbos,4458
120
120
  huggingface_hub/utils/_subprocess.py,sha256=u9FFUDE7TrzQTiuEzlUnHx7S2P57GbYRV8u16GJwrFw,4625
121
121
  huggingface_hub/utils/_telemetry.py,sha256=54LXeIJU5pEGghPAh06gqNAR-UoxOjVLvKqAQscwqZs,4890
122
122
  huggingface_hub/utils/_typing.py,sha256=Dgp6TQUlpzStfVLoSvXHCBP4b3NzHZ8E0Gg9mYAoDS4,2903
123
123
  huggingface_hub/utils/_validators.py,sha256=dDsVG31iooTYrIyi5Vwr1DukL0fEmJwu3ceVNduhsuE,9204
124
- huggingface_hub/utils/_xet.py,sha256=Qr-F1NrkSeZtWMsni8PBLT2MxTt9a6ULlDN3JcjwEnU,7500
124
+ huggingface_hub/utils/_xet.py,sha256=JXgVCli8lD7O1MsvkgqnWY6S9giq1XMrHmtOPPeLmDQ,7020
125
125
  huggingface_hub/utils/endpoint_helpers.py,sha256=9VtIAlxQ5H_4y30sjCAgbu7XCqAtNLC7aRYxaNn0hLI,2366
126
126
  huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-SQJgucEEXDbU,1058
127
127
  huggingface_hub/utils/logging.py,sha256=0A8fF1yh3L9Ka_bCDX2ml4U5Ht0tY8Dr3JcbRvWFuwo,4909
128
128
  huggingface_hub/utils/sha.py,sha256=OFnNGCba0sNcT2gUwaVCJnldxlltrHHe0DS_PCpV3C4,2134
129
129
  huggingface_hub/utils/tqdm.py,sha256=xAKcyfnNHsZ7L09WuEM5Ew5-MDhiahLACbbN2zMmcLs,10671
130
- huggingface_hub-0.30.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
131
- huggingface_hub-0.30.2.dist-info/METADATA,sha256=EIYpeFwEendNmFnsE0LVZoFFv0t1RzBhBaUjxc4OKuo,13551
132
- huggingface_hub-0.30.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
133
- huggingface_hub-0.30.2.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
134
- huggingface_hub-0.30.2.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
135
- huggingface_hub-0.30.2.dist-info/RECORD,,
130
+ huggingface_hub-0.31.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
131
+ huggingface_hub-0.31.0.dist-info/METADATA,sha256=rnqIS5nuv9al47GoiM0jl2fR3oqtxdm2b3vHQ89eRXk,13719
132
+ huggingface_hub-0.31.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
133
+ huggingface_hub-0.31.0.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
134
+ huggingface_hub-0.31.0.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
135
+ huggingface_hub-0.31.0.dist-info/RECORD,,