huggingface-hub 0.34.5__py3-none-any.whl → 0.35.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 +19 -1
  2. huggingface_hub/_jobs_api.py +159 -2
  3. huggingface_hub/_tensorboard_logger.py +9 -10
  4. huggingface_hub/cli/auth.py +1 -1
  5. huggingface_hub/cli/cache.py +3 -9
  6. huggingface_hub/cli/jobs.py +551 -1
  7. huggingface_hub/cli/repo.py +6 -4
  8. huggingface_hub/commands/delete_cache.py +2 -2
  9. huggingface_hub/commands/scan_cache.py +1 -1
  10. huggingface_hub/commands/user.py +1 -1
  11. huggingface_hub/hf_api.py +522 -78
  12. huggingface_hub/hf_file_system.py +3 -1
  13. huggingface_hub/hub_mixin.py +5 -3
  14. huggingface_hub/inference/_client.py +18 -181
  15. huggingface_hub/inference/_common.py +72 -70
  16. huggingface_hub/inference/_generated/_async_client.py +35 -201
  17. huggingface_hub/inference/_generated/types/chat_completion.py +2 -0
  18. huggingface_hub/inference/_mcp/_cli_hacks.py +3 -3
  19. huggingface_hub/inference/_mcp/cli.py +1 -1
  20. huggingface_hub/inference/_mcp/constants.py +1 -1
  21. huggingface_hub/inference/_mcp/mcp_client.py +28 -11
  22. huggingface_hub/inference/_mcp/types.py +3 -0
  23. huggingface_hub/inference/_mcp/utils.py +7 -3
  24. huggingface_hub/inference/_providers/__init__.py +5 -0
  25. huggingface_hub/inference/_providers/_common.py +28 -4
  26. huggingface_hub/inference/_providers/black_forest_labs.py +1 -1
  27. huggingface_hub/inference/_providers/fal_ai.py +2 -2
  28. huggingface_hub/inference/_providers/hf_inference.py +15 -7
  29. huggingface_hub/inference/_providers/publicai.py +6 -0
  30. huggingface_hub/inference/_providers/replicate.py +1 -1
  31. huggingface_hub/repocard.py +2 -1
  32. huggingface_hub/utils/_git_credential.py +1 -1
  33. huggingface_hub/utils/_typing.py +24 -4
  34. huggingface_hub/utils/_xet_progress_reporting.py +31 -10
  35. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/METADATA +7 -4
  36. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/RECORD +40 -39
  37. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/LICENSE +0 -0
  38. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/WHEEL +0 -0
  39. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/entry_points.txt +0 -0
  40. {huggingface_hub-0.34.5.dist-info → huggingface_hub-0.35.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,6 @@
1
+ from ._common import BaseConversationalTask
2
+
3
+
4
+ class PublicAIConversationalTask(BaseConversationalTask):
5
+ def __init__(self):
6
+ super().__init__(provider="publicai", base_url="https://api.publicai.co")
@@ -14,7 +14,7 @@ class ReplicateTask(TaskProviderHelper):
14
14
  def __init__(self, task: str):
15
15
  super().__init__(provider=_PROVIDER, base_url=_BASE_URL, task=task)
16
16
 
17
- def _prepare_headers(self, headers: Dict, api_key: str) -> Dict:
17
+ def _prepare_headers(self, headers: Dict, api_key: str) -> Dict[str, Any]:
18
18
  headers = super()._prepare_headers(headers, api_key)
19
19
  headers["Prefer"] = "wait"
20
20
  return headers
@@ -771,7 +771,8 @@ def metadata_update(
771
771
  raise ValueError("Cannot update metadata on a Space that doesn't contain a `README.md` file.")
772
772
 
773
773
  # Initialize a ModelCard or DatasetCard from default template and no data.
774
- card = card_class.from_template(CardData())
774
+ # Cast to the concrete expected card type to satisfy type checkers.
775
+ card = card_class.from_template(CardData()) # type: ignore[return-value]
775
776
 
776
777
  for key, value in metadata.items():
777
778
  if key == "model-index":
@@ -27,7 +27,7 @@ GIT_CREDENTIAL_REGEX = re.compile(
27
27
  ^\s* # start of line
28
28
  credential\.helper # credential.helper value
29
29
  \s*=\s* # separator
30
- (\w+) # the helper name (group 1)
30
+ ([\w\-\/]+) # the helper name or absolute path (group 1)
31
31
  (\s|$) # whitespace or end of line
32
32
  """,
33
33
  flags=re.MULTILINE | re.IGNORECASE | re.VERBOSE,
@@ -15,7 +15,7 @@
15
15
  """Handle typing imports based on system compatibility."""
16
16
 
17
17
  import sys
18
- from typing import Any, Callable, List, Literal, Type, TypeVar, Union, get_args, get_origin
18
+ from typing import Any, Callable, List, Literal, Optional, Set, Type, TypeVar, Union, get_args, get_origin
19
19
 
20
20
 
21
21
  UNION_TYPES: List[Any] = [Union]
@@ -33,7 +33,7 @@ CallableT = TypeVar("CallableT", bound=Callable)
33
33
  _JSON_SERIALIZABLE_TYPES = (int, float, str, bool, type(None))
34
34
 
35
35
 
36
- def is_jsonable(obj: Any) -> bool:
36
+ def is_jsonable(obj: Any, _visited: Optional[Set[int]] = None) -> bool:
37
37
  """Check if an object is JSON serializable.
38
38
 
39
39
  This is a weak check, as it does not check for the actual JSON serialization, but only for the types of the object.
@@ -43,19 +43,39 @@ def is_jsonable(obj: Any) -> bool:
43
43
  - it is an instance of int, float, str, bool, or NoneType
44
44
  - it is a list or tuple and all its items are json serializable
45
45
  - it is a dict and all its keys are strings and all its values are json serializable
46
+
47
+ Uses a visited set to avoid infinite recursion on circular references. If object has already been visited, it is
48
+ considered not json serializable.
46
49
  """
50
+ # Initialize visited set to track object ids and detect circular references
51
+ if _visited is None:
52
+ _visited = set()
53
+
54
+ # Detect circular reference
55
+ obj_id = id(obj)
56
+ if obj_id in _visited:
57
+ return False
58
+
59
+ # Add current object to visited before recursive checks
60
+ _visited.add(obj_id)
47
61
  try:
48
62
  if isinstance(obj, _JSON_SERIALIZABLE_TYPES):
49
63
  return True
50
64
  if isinstance(obj, (list, tuple)):
51
- return all(is_jsonable(item) for item in obj)
65
+ return all(is_jsonable(item, _visited) for item in obj)
52
66
  if isinstance(obj, dict):
53
- return all(isinstance(key, _JSON_SERIALIZABLE_TYPES) and is_jsonable(value) for key, value in obj.items())
67
+ return all(
68
+ isinstance(key, _JSON_SERIALIZABLE_TYPES) and is_jsonable(value, _visited)
69
+ for key, value in obj.items()
70
+ )
54
71
  if hasattr(obj, "__json__"):
55
72
  return True
56
73
  return False
57
74
  except RecursionError:
58
75
  return False
76
+ finally:
77
+ # Remove the object id from visited to avoid side‑effects for other branches
78
+ _visited.discard(obj_id)
59
79
 
60
80
 
61
81
  def is_simple_optional_type(type_: Type) -> bool:
@@ -3,20 +3,29 @@ from typing import List
3
3
 
4
4
  from hf_xet import PyItemProgressUpdate, PyTotalProgressUpdate
5
5
 
6
+ from . import is_google_colab, is_notebook
6
7
  from .tqdm import tqdm
7
8
 
8
9
 
9
10
  class XetProgressReporter:
10
- def __init__(self, n_lines: int = 10, description_width: int = 40):
11
+ """
12
+ Reports on progress for Xet uploads.
13
+
14
+ Shows summary progress bars when running in notebooks or GUIs, and detailed per-file progress in console environments.
15
+ """
16
+
17
+ def __init__(self, n_lines: int = 10, description_width: int = 30):
11
18
  self.n_lines = n_lines
12
19
  self.description_width = description_width
13
20
 
21
+ self.per_file_progress = is_google_colab() or not is_notebook()
22
+
14
23
  self.tqdm_settings = {
15
24
  "unit": "B",
16
25
  "unit_scale": True,
17
26
  "leave": True,
18
27
  "unit_divisor": 1000,
19
- "nrows": n_lines + 3,
28
+ "nrows": n_lines + 3 if self.per_file_progress else 3,
20
29
  "miniters": 1,
21
30
  "bar_format": "{l_bar}{bar}| {n_fmt:>5}B / {total_fmt:>5}B{postfix:>12}",
22
31
  }
@@ -40,8 +49,13 @@ class XetProgressReporter:
40
49
  def format_desc(self, name: str, indent: bool) -> str:
41
50
  """
42
51
  if name is longer than width characters, prints ... at the start and then the last width-3 characters of the name, otherwise
43
- the whole name right justified into 20 characters. Also adds some padding.
52
+ the whole name right justified into description_width characters. Also adds some padding.
44
53
  """
54
+
55
+ if not self.per_file_progress:
56
+ # Here we just use the defaults.
57
+ return name
58
+
45
59
  padding = " " if indent else ""
46
60
  width = self.description_width - len(padding)
47
61
 
@@ -74,6 +88,10 @@ class XetProgressReporter:
74
88
  self.completed_items.add(name)
75
89
  new_completed.append(name)
76
90
 
91
+ # If we're only showing summary information, then don't update the individual bars
92
+ if not self.per_file_progress:
93
+ continue
94
+
77
95
  # If we've run out of bars to use, then collapse the last ones together.
78
96
  if bar_idx >= len(self.current_bars):
79
97
  bar = self.current_bars[-1]
@@ -111,10 +129,11 @@ class XetProgressReporter:
111
129
 
112
130
  del self.item_state[name]
113
131
 
114
- # Now manually refresh each of the bars
115
- for bar in self.current_bars:
116
- if bar:
117
- bar.refresh()
132
+ if self.per_file_progress:
133
+ # Now manually refresh each of the bars
134
+ for bar in self.current_bars:
135
+ if bar:
136
+ bar.refresh()
118
137
 
119
138
  # Update overall bars
120
139
  def postfix(speed):
@@ -136,6 +155,8 @@ class XetProgressReporter:
136
155
  def close(self, _success):
137
156
  self.data_processing_bar.close()
138
157
  self.upload_bar.close()
139
- for bar in self.current_bars:
140
- if bar:
141
- bar.close()
158
+
159
+ if self.per_file_progress:
160
+ for bar in self.current_bars:
161
+ if bar:
162
+ bar.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 0.34.5
3
+ Version: 0.35.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.
@@ -48,7 +48,7 @@ Requires-Dist: pytest-env; extra == "all"
48
48
  Requires-Dist: pytest-xdist; extra == "all"
49
49
  Requires-Dist: pytest-vcr; extra == "all"
50
50
  Requires-Dist: pytest-asyncio; extra == "all"
51
- Requires-Dist: pytest-rerunfailures; extra == "all"
51
+ Requires-Dist: pytest-rerunfailures<16.0; extra == "all"
52
52
  Requires-Dist: pytest-mock; extra == "all"
53
53
  Requires-Dist: urllib3<2.0; extra == "all"
54
54
  Requires-Dist: soundfile; extra == "all"
@@ -57,6 +57,7 @@ Requires-Dist: gradio>=4.0.0; extra == "all"
57
57
  Requires-Dist: numpy; extra == "all"
58
58
  Requires-Dist: ruff>=0.9.0; extra == "all"
59
59
  Requires-Dist: libcst>=1.4.0; extra == "all"
60
+ Requires-Dist: ty; extra == "all"
60
61
  Requires-Dist: typing-extensions>=4.8.0; extra == "all"
61
62
  Requires-Dist: types-PyYAML; extra == "all"
62
63
  Requires-Dist: types-requests; extra == "all"
@@ -83,7 +84,7 @@ Requires-Dist: pytest-env; extra == "dev"
83
84
  Requires-Dist: pytest-xdist; extra == "dev"
84
85
  Requires-Dist: pytest-vcr; extra == "dev"
85
86
  Requires-Dist: pytest-asyncio; extra == "dev"
86
- Requires-Dist: pytest-rerunfailures; extra == "dev"
87
+ Requires-Dist: pytest-rerunfailures<16.0; extra == "dev"
87
88
  Requires-Dist: pytest-mock; extra == "dev"
88
89
  Requires-Dist: urllib3<2.0; extra == "dev"
89
90
  Requires-Dist: soundfile; extra == "dev"
@@ -92,6 +93,7 @@ Requires-Dist: gradio>=4.0.0; extra == "dev"
92
93
  Requires-Dist: numpy; extra == "dev"
93
94
  Requires-Dist: ruff>=0.9.0; extra == "dev"
94
95
  Requires-Dist: libcst>=1.4.0; extra == "dev"
96
+ Requires-Dist: ty; extra == "dev"
95
97
  Requires-Dist: typing-extensions>=4.8.0; extra == "dev"
96
98
  Requires-Dist: types-PyYAML; extra == "dev"
97
99
  Requires-Dist: types-requests; extra == "dev"
@@ -123,6 +125,7 @@ Requires-Dist: itsdangerous; extra == "oauth"
123
125
  Provides-Extra: quality
124
126
  Requires-Dist: ruff>=0.9.0; extra == "quality"
125
127
  Requires-Dist: libcst>=1.4.0; extra == "quality"
128
+ Requires-Dist: ty; extra == "quality"
126
129
  Requires-Dist: mypy<1.15.0,>=1.14.1; python_version == "3.8" and extra == "quality"
127
130
  Requires-Dist: mypy==1.15.0; python_version >= "3.9" and extra == "quality"
128
131
  Provides-Extra: tensorflow
@@ -147,7 +150,7 @@ Requires-Dist: pytest-env; extra == "testing"
147
150
  Requires-Dist: pytest-xdist; extra == "testing"
148
151
  Requires-Dist: pytest-vcr; extra == "testing"
149
152
  Requires-Dist: pytest-asyncio; extra == "testing"
150
- Requires-Dist: pytest-rerunfailures; extra == "testing"
153
+ Requires-Dist: pytest-rerunfailures<16.0; extra == "testing"
151
154
  Requires-Dist: pytest-mock; extra == "testing"
152
155
  Requires-Dist: urllib3<2.0; extra == "testing"
153
156
  Requires-Dist: soundfile; extra == "testing"
@@ -1,14 +1,14 @@
1
- huggingface_hub/__init__.py,sha256=rv3FvQosoKR8MvPywT4KVkRA8MmMN0CmBPLTjmVp_LI,51837
1
+ huggingface_hub/__init__.py,sha256=TLNSZ_0Z_2Uig7E5-f2ZqlCsvFzIwaEa1mQgvVUO6oU,52476
2
2
  huggingface_hub/_commit_api.py,sha256=68HxFnJE2s-QmGZRHQav5kOMTseYV_ZQi04ADaQmZUk,38979
3
3
  huggingface_hub/_commit_scheduler.py,sha256=tfIoO1xWHjTJ6qy6VS6HIoymDycFPg0d6pBSZprrU2U,14679
4
4
  huggingface_hub/_inference_endpoints.py,sha256=ahmbPcEXsJ_JcMb9TDgdkD8Z2z9uytkFG3_1o6dTm8g,17598
5
- huggingface_hub/_jobs_api.py,sha256=Fm59WJ-P3E5mkCthQWgGugTlbXnQe4nxDKIwZ_jtpt8,5344
5
+ huggingface_hub/_jobs_api.py,sha256=kD44rRMpfpAEMmBy2nP8YuBUQiC3gDPFlQmsjRrFUq0,10803
6
6
  huggingface_hub/_local_folder.py,sha256=2iHXNgIT3UdSt2PvCovd0NzgVxTRypKb-rvAFLK-gZU,17305
7
7
  huggingface_hub/_login.py,sha256=rcwx9EZdFUB3vuowC5QBiSYS4ImUnBzo04igR1Z8l40,20256
8
8
  huggingface_hub/_oauth.py,sha256=75ya9toHxC0WRKsLOAI212CrssRjTSxs16mHWWNMb3w,18714
9
9
  huggingface_hub/_snapshot_download.py,sha256=b-NzYQcvktsAirIfGQKgzQwu8w0S6lhBTvnJ5S6saw8,16166
10
10
  huggingface_hub/_space_api.py,sha256=jb6rF8qLtjaNU12D-8ygAPM26xDiHCu8CHXHowhGTmg,5470
11
- huggingface_hub/_tensorboard_logger.py,sha256=ZkYcAUiRC8RGL214QUYtp58O8G5tn-HF6DCWha9imcA,8358
11
+ huggingface_hub/_tensorboard_logger.py,sha256=r7I9Us9A0dBxOBFos9t8jJ3t95Jxc6Q4_X8wt7DojWE,8439
12
12
  huggingface_hub/_upload_large_folder.py,sha256=l2YWLZttOw69EGdihT3y_Nhr5mweLGooZG9L8smNoHY,30066
13
13
  huggingface_hub/_webhooks_payload.py,sha256=Xm3KaK7tCOGBlXkuZvbym6zjHXrT1XCrbUFWuXiBmNY,3617
14
14
  huggingface_hub/_webhooks_server.py,sha256=5J63wk9MUGKBNJVsOD9i60mJ-VMp0YYmlf87vQsl-L8,15767
@@ -18,55 +18,55 @@ huggingface_hub/dataclasses.py,sha256=sgPdEi2UDprhNPP2PPkiSlzsHdC1WcpwVTLwlHAEcr
18
18
  huggingface_hub/errors.py,sha256=D7Lw0Jjrf8vfmD0B26LEvg-JWkU8Zq0KDPJOzFY4QLw,11201
19
19
  huggingface_hub/fastai_utils.py,sha256=DpeH9d-6ut2k_nCAAwglM51XmRmgfbRe2SPifpVL5Yk,16745
20
20
  huggingface_hub/file_download.py,sha256=E-NWON01pprbAsw7Kz477JX6f8HTWsdpEdQAtA37t5c,78974
21
- huggingface_hub/hf_api.py,sha256=a12ywN6Lc43A12B36xxK4dJzXsgtmjQTZqYAC4gjTzY,465077
22
- huggingface_hub/hf_file_system.py,sha256=nrNOoNHRwf1swebtQvZExSblRjQg9rHKxL7Cslk72uw,46899
23
- huggingface_hub/hub_mixin.py,sha256=MArtbUxjXiYeOvOmNBG9I_j5t02m2xCVAcge4waip1w,38091
21
+ huggingface_hub/hf_api.py,sha256=Y0rA53vl0pz8SvRMBDKGuaM3ehUVfyCAa9m5ByNE830,483625
22
+ huggingface_hub/hf_file_system.py,sha256=qgNfEKL4JVbGic4qBZdli1OnZXtt9ztaJQDhqDIRQm8,47033
23
+ huggingface_hub/hub_mixin.py,sha256=Ii3w9o7XgGbj6UNPnieW5IDfaCd8OEKpIH1hRkncRDQ,38208
24
24
  huggingface_hub/inference_api.py,sha256=b4-NhPSn9b44nYKV8tDKXodmE4JVdEymMWL4CVGkzlE,8323
25
25
  huggingface_hub/keras_mixin.py,sha256=WGNQZROdw6yjJ1DGTPZPwKAxf1UbkzAx1dRidkeb2fk,19553
26
26
  huggingface_hub/lfs.py,sha256=n-TIjK7J7aXG3zi__0nkd6aNkE4djOf9CD6dYQOQ5P8,16649
27
27
  huggingface_hub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- huggingface_hub/repocard.py,sha256=KxQoJTvnMVA6mKpi7660O6dKtbw4wRJMBxyXuP7vvzU,34751
28
+ huggingface_hub/repocard.py,sha256=1gask5OzfyJDvnXBMRm49VT0SCiIspCYUukSOGNafHE,34857
29
29
  huggingface_hub/repocard_data.py,sha256=hr4ReFpEQMNdh_9Dx-L-IJoI1ElHyk-h-8ZRqwVYYOE,34082
30
30
  huggingface_hub/repository.py,sha256=Lerq3kr7tC-oUdZk5i1CdhAA84ZvYiqjaGR77j2iOyk,54536
31
31
  huggingface_hub/cli/__init__.py,sha256=xzX1qgAvrtAX4gP59WrPlvOZFLuzuTgcjvanQvcpgHc,928
32
32
  huggingface_hub/cli/_cli_utils.py,sha256=Nt6CjbkYqQQRuh70bUXVA6rZpbZt_Sa1WqBUxjQLu6g,2095
33
- huggingface_hub/cli/auth.py,sha256=BO6sJJcdHhjouMEH5JpUmC0qg3vaukX4I5DtA7ohLes,7296
34
- huggingface_hub/cli/cache.py,sha256=zPLEWP5MidLElo0FeLvkUjCT0EYlX1pmC-2TkCa8kD0,15871
33
+ huggingface_hub/cli/auth.py,sha256=XSsbU7-_TS5IXdASkgUCdQeoXVG82VUyGYvOS4oLLRs,7317
34
+ huggingface_hub/cli/cache.py,sha256=fQjYfbRUapeHsK10Y6w_Ixu9JKyuZyM7pJzExJGd_2c,15855
35
35
  huggingface_hub/cli/download.py,sha256=PUpW-nbu6ZAP6P9DpVhliAKSSlxvXWkVh0U2KZoukhQ,7115
36
36
  huggingface_hub/cli/hf.py,sha256=SQ73_SXEQnWVJkhKT_6bwNQBHQXGOdI5qqlTTtI0XH0,2328
37
- huggingface_hub/cli/jobs.py,sha256=QPF8YT31hoyjXXp_pD-LK_VHNFXF09su-nLeP4b9WGQ,21538
37
+ huggingface_hub/cli/jobs.py,sha256=eA6Q7iy_-7vjU4SjYPvn71b2aVo2qt3q-pVxLyXCWqg,44317
38
38
  huggingface_hub/cli/lfs.py,sha256=J9MkKOGUW6GjBrKs2zZUCOaAGxpatxsEoSbBjuhDJV8,7230
39
- huggingface_hub/cli/repo.py,sha256=lNDEZbOpLW8SQVBYDQ1xofw9nJ7M8AUsd2kBIV_m_do,10576
39
+ huggingface_hub/cli/repo.py,sha256=CuOqQZ7WELLk9Raf3tnyXILt9e93OrlS8Dyxx3BqdQA,10618
40
40
  huggingface_hub/cli/repo_files.py,sha256=L-Ku52l2vZ04GCabp_OhVXqLzE9dsKQqaQKudGzjWg4,4831
41
41
  huggingface_hub/cli/system.py,sha256=eLSYME7ywt5Ae3tYQnS43Tai2pR2JLtA1KGImzPt5pM,1707
42
42
  huggingface_hub/cli/upload.py,sha256=qOGccIcBYJtodmlQlFyGfV_ZGHYhWlAARr3fxgYLDnE,14349
43
43
  huggingface_hub/cli/upload_large_folder.py,sha256=dEb1EKbPi2nRpFS-gz4P0D49-Rlf26MAs6kgl7l2vJk,6151
44
44
  huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928
45
45
  huggingface_hub/commands/_cli_utils.py,sha256=ePYTIEWnU677nPvdNC5AdYcEB1400L6qYEUxMkVUzME,2329
46
- huggingface_hub/commands/delete_cache.py,sha256=GpeDKs2I16rfxGnGX1widy9TBZSZM8PQ1qmHHRcwd-o,17734
46
+ huggingface_hub/commands/delete_cache.py,sha256=035yACUtVUIG8tEtc5vexDoFFphzdk5IXkFTlD4WMiw,17738
47
47
  huggingface_hub/commands/download.py,sha256=0QY9ho7eiAPvFndBPttGtH6vXNk3r9AioltNwc8h1Z4,8310
48
48
  huggingface_hub/commands/env.py,sha256=qv4SmjuzUz9exo4RDMY2HqabLCKE1oRb55cBA6LN9R4,1342
49
49
  huggingface_hub/commands/huggingface_cli.py,sha256=gDi7JueyiLD0bGclTEYfHPQWpAY_WBdPfHT7vkqa5v0,2654
50
50
  huggingface_hub/commands/lfs.py,sha256=xdbnNRO04UuQemEhUGT809jFgQn9Rj-SnyT_0Ph-VYg,7342
51
51
  huggingface_hub/commands/repo.py,sha256=WcRDFqUYKB0Kz0zFopegiG614ot6VOYTAf6jht0BMss,6042
52
52
  huggingface_hub/commands/repo_files.py,sha256=ftjLCC3XCY-AMmiYiZPIdRMmIqZbqVZw-BSjBLcZup4,5054
53
- huggingface_hub/commands/scan_cache.py,sha256=Er5y0paRv0feXnwxe-eAwuJA6xlZ-OdEQ1FbB80BqNU,8670
53
+ huggingface_hub/commands/scan_cache.py,sha256=gQlhBZgWkUzH4wrIYnvgV7CA4C7rvV2SuY0x2JCB7g0,8675
54
54
  huggingface_hub/commands/tag.py,sha256=4fgQuXJHG59lTVyOjIUZjxdJDL4JZW4q10XDPSo-gss,6382
55
55
  huggingface_hub/commands/upload.py,sha256=eAJIig4ljtO9FRyGjiz6HbHS-Q4MOQziRgzjQrl5Koo,14576
56
56
  huggingface_hub/commands/upload_large_folder.py,sha256=_1id84BFtbL8HgFRKZ-el_uPrijamz1qWlzO16KbUAc,6254
57
- huggingface_hub/commands/user.py,sha256=MjG1lwMq1p5QAlBolFnRX_pUxE3Kd3UiPl-nEEQSgXg,7537
57
+ huggingface_hub/commands/user.py,sha256=dDpi0mLYvTeYf0fhPVQyEJsn7Wrk6gWvR5YHC6RgebU,7516
58
58
  huggingface_hub/commands/version.py,sha256=rGpCbvxImY9eQqXrshYt609Iws27R75WARmKQrIo6Ok,1390
59
59
  huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
- huggingface_hub/inference/_client.py,sha256=__SCWGGXY6tivLdWJUiL5YZXYEyaOXNOMmwo_6UksZo,165054
61
- huggingface_hub/inference/_common.py,sha256=6qAIauugyl1eHk0FhWdjBNEXBNF33_VXC8lc1GR8t7s,15874
60
+ huggingface_hub/inference/_client.py,sha256=DzuCZ4-hwTH68J70Irq9IdshCAsfdtHaGg69ZfDzsm0,157486
61
+ huggingface_hub/inference/_common.py,sha256=dI3OPg0320OOB0FRy_kqftW9F3ghEnBVA5Gi4VaSctg,15778
62
62
  huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
- huggingface_hub/inference/_generated/_async_client.py,sha256=7u6ZvDz6nDQ5fhs2qaBAVDw4QZgshGZiBeq-hdRZoL0,171289
63
+ huggingface_hub/inference/_generated/_async_client.py,sha256=kqYLXuhvihMT5oyrTQdLZxNH8dxVQ_Nz6YNsHufAGJM,163395
64
64
  huggingface_hub/inference/_generated/types/__init__.py,sha256=9WvrGQ8aThtKSNzZF06j-CIE2ZuItne8FFnea1p1u38,6557
65
65
  huggingface_hub/inference/_generated/types/audio_classification.py,sha256=Jg3mzfGhCSH6CfvVvgJSiFpkz6v4nNA0G4LJXacEgNc,1573
66
66
  huggingface_hub/inference/_generated/types/audio_to_audio.py,sha256=2Ep4WkePL7oJwcp5nRJqApwviumGHbft9HhXE9XLHj4,891
67
67
  huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=8CEphr6rvRHgq1L5Md3tq14V0tEAmzJkemh1_7gSswo,5515
68
68
  huggingface_hub/inference/_generated/types/base.py,sha256=4XG49q0-2SOftYQ8HXQnWLxiJktou-a7IoG3kdOv-kg,6751
69
- huggingface_hub/inference/_generated/types/chat_completion.py,sha256=6EqWnpbeT0zsiLNZjoJDzrmZ34M2j01S99oMMayZg9Y,11182
69
+ huggingface_hub/inference/_generated/types/chat_completion.py,sha256=j1Y8G4g5yGs4g7N4sXWbipF8TwkQG0J-ftL9OxejkBw,11254
70
70
  huggingface_hub/inference/_generated/types/depth_estimation.py,sha256=rcpe9MhYMeLjflOwBs3KMZPr6WjOH3FYEThStG-FJ3M,929
71
71
  huggingface_hub/inference/_generated/types/document_question_answering.py,sha256=6BEYGwJcqGlah4RBJDAvWFTEXkO0mosBiMy82432nAM,3202
72
72
  huggingface_hub/inference/_generated/types/feature_extraction.py,sha256=NMWVL_TLSG5SS5bdt1-fflkZ75UMlMKeTMtmdnUTADc,1537
@@ -96,29 +96,30 @@ huggingface_hub/inference/_generated/types/zero_shot_classification.py,sha256=BA
96
96
  huggingface_hub/inference/_generated/types/zero_shot_image_classification.py,sha256=8J9n6VqFARkWvPfAZNWEG70AlrMGldU95EGQQwn06zI,1487
97
97
  huggingface_hub/inference/_generated/types/zero_shot_object_detection.py,sha256=GUd81LIV7oEbRWayDlAVgyLmY596r1M3AW0jXDp1yTA,1630
98
98
  huggingface_hub/inference/_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
- huggingface_hub/inference/_mcp/_cli_hacks.py,sha256=cMZirVFe4N0EM9Nzzs9aEmzUBUEBYR4oYZpByTWlZCM,3182
99
+ huggingface_hub/inference/_mcp/_cli_hacks.py,sha256=KX9HZJPa1p8ngY3mtYGGlVUXfg4vYbbBRs-8HLToP04,3284
100
100
  huggingface_hub/inference/_mcp/agent.py,sha256=VahvSqldiC1R72CFH4T05l80uEXl5OjLwboWQFUJbsw,4281
101
- huggingface_hub/inference/_mcp/cli.py,sha256=UY4K20zp5ydGx7Gzp4goVXVIDV2gB2arKFeGWK1AzwE,9625
102
- huggingface_hub/inference/_mcp/constants.py,sha256=AnOp_oR5Vty0d5J3AynGGNK9i1I9KgGhCd9nPoZcD1M,2495
103
- huggingface_hub/inference/_mcp/mcp_client.py,sha256=ndaTcZZPbU1ZTNUeB9-WdaOx7bHD3lsrXnKxCeiwpUg,15788
104
- huggingface_hub/inference/_mcp/types.py,sha256=ic8VSR9JY1d-vPWsBVXYtXtIU669-HbGQ3m12Szs7BQ,815
105
- huggingface_hub/inference/_mcp/utils.py,sha256=VsRWl0fuSZDS0zNT9n7FOMSlzA0UBbP8p8xWKWDt2Pc,4093
106
- huggingface_hub/inference/_providers/__init__.py,sha256=j3kMOwM1nopVGZeYAbw78sv0yvQiwB2Nzpm9pQqqnSg,8594
107
- huggingface_hub/inference/_providers/_common.py,sha256=mUL5T9v3iqM1d7cYIh0qEyVC8w7UliQz_LEni2srekI,11350
108
- huggingface_hub/inference/_providers/black_forest_labs.py,sha256=wO7qgRyNyrIKlZtvL3vJEbS4-D19kfoXZk6PDh1dTis,2842
101
+ huggingface_hub/inference/_mcp/cli.py,sha256=AmSUT6wXlE6EWmI0SfQgTWYnL07322zGwwk2yMZZlBc,9640
102
+ huggingface_hub/inference/_mcp/constants.py,sha256=kldRfaidXMdyMl_jLosaQomgWDv4shvnFe3dnQNwXSU,2511
103
+ huggingface_hub/inference/_mcp/mcp_client.py,sha256=iKGOY6fD0cph8wp9rXlofJglDLcfXGxedsJ3GLV1z-g,16745
104
+ huggingface_hub/inference/_mcp/types.py,sha256=3gq-P_mrmvPI6KWBqjCxavtMPiGz10YXog7wg4oJYAo,941
105
+ huggingface_hub/inference/_mcp/utils.py,sha256=KFsGOC8dytS3VgaugBzibdteWasZ9CAnp83U2SyIlMw,4188
106
+ huggingface_hub/inference/_providers/__init__.py,sha256=0tJIYaeg1vO0aiIsddvknZsB0Af_0AaN_qYtdk9hGSw,8740
107
+ huggingface_hub/inference/_providers/_common.py,sha256=JwvxrQYjsRwYkD8aOCrxPXSv7Lmtv4Xfn0QjQbQdAF0,12334
108
+ huggingface_hub/inference/_providers/black_forest_labs.py,sha256=FIukZoIFt_FDrTTDfpF-Vko5sXnmH0QvVIsMtV2Jzm8,2852
109
109
  huggingface_hub/inference/_providers/cerebras.py,sha256=QOJ-1U-os7uE7p6eUnn_P_APq-yQhx28be7c3Tq2EuA,210
110
110
  huggingface_hub/inference/_providers/cohere.py,sha256=O3tC-qIUL91mx_mE8bOHCtDWcQuKOUauhUoXSUBUCZ8,1253
111
- huggingface_hub/inference/_providers/fal_ai.py,sha256=Z3-MPddtsfjWT1Zmvni0m8LPBSFjOa_wyv8xV9FNtoA,9860
111
+ huggingface_hub/inference/_providers/fal_ai.py,sha256=CsMCHQ46tVU3ukrZ4qQXK2275HqjEMieCBtifC370eU,9880
112
112
  huggingface_hub/inference/_providers/featherless_ai.py,sha256=QxBz-32O4PztxixrIjrfKuTOzvfqyUi-cVsw0Hf_zlY,1382
113
113
  huggingface_hub/inference/_providers/fireworks_ai.py,sha256=Id226ITfPkOcFMFzly3MW9l-dZl9l4qizL4JEHWkBFk,1215
114
114
  huggingface_hub/inference/_providers/groq.py,sha256=JTk2JV4ZOlaohho7zLAFQtk92kGVsPmLJ1hmzcwsqvQ,315
115
- huggingface_hub/inference/_providers/hf_inference.py,sha256=P4FJdzk3M2T6GdSTumBvpcr8NNRixWLXymv4ptpHroI,9508
115
+ huggingface_hub/inference/_providers/hf_inference.py,sha256=0yi3cR-EJ4HYx3mSzOsMOTVmvVBkaajTzTfKB8JXQpk,9540
116
116
  huggingface_hub/inference/_providers/hyperbolic.py,sha256=OQIBi2j3aNvuaSQ8BUK1K1PVeRXdrxc80G-6YmBa-ns,1985
117
117
  huggingface_hub/inference/_providers/nebius.py,sha256=VJpTF2JZ58rznc9wxdk-57vwF8sV2vESw_WkXjXqCho,3580
118
118
  huggingface_hub/inference/_providers/novita.py,sha256=HGVC8wPraRQUuI5uBoye1Y4Wqe4X116B71GhhbWy5yM,2514
119
119
  huggingface_hub/inference/_providers/nscale.py,sha256=qWUsWinQmUbNUqehyKn34tVoWehu8gd-OZ2F4uj2SWM,1802
120
120
  huggingface_hub/inference/_providers/openai.py,sha256=GCVYeNdjWIgpQQ7E_Xv8IebmdhTi0S6WfFosz3nLtps,1089
121
- huggingface_hub/inference/_providers/replicate.py,sha256=BuLb1x4nUlH5SfazBwvMiFwwcs-OS99U87m3QWdx2is,3810
121
+ huggingface_hub/inference/_providers/publicai.py,sha256=1I2W6rORloB5QHSvky4njZO2XKLTwA-kPdNoauoT5rg,210
122
+ huggingface_hub/inference/_providers/replicate.py,sha256=otVfPkfBtlWrpjQub4V__t7g_w8Ewc7ZU3efiOauW-I,3820
122
123
  huggingface_hub/inference/_providers/sambanova.py,sha256=Unt3H3jr_kgI9vzRjmmW1DFyoEuPkKCcgIIloiOj3j8,2037
123
124
  huggingface_hub/inference/_providers/scaleway.py,sha256=Jy81kXWbXCHBpx6xmyzdEfXGSyhUfjKOLHuDSvhHWGo,1209
124
125
  huggingface_hub/inference/_providers/together.py,sha256=KHF19CS3qXS7G1-CwcMiD8Z5wzPKEKi4F2DzqAthbBE,3439
@@ -139,7 +140,7 @@ huggingface_hub/utils/_deprecation.py,sha256=HZhRGGUX_QMKBBBwHHlffLtmCSK01TOpeXH
139
140
  huggingface_hub/utils/_dotenv.py,sha256=RzHqC8HgzVxE-N4DFBcnemvX0NHmXcV0My2ASK0U1OQ,2017
140
141
  huggingface_hub/utils/_experimental.py,sha256=3-c8irbn9sJr2CwWbzhGkIrdXKg8_x7BifhHFy32ei8,2470
141
142
  huggingface_hub/utils/_fixes.py,sha256=xQV1QkUn2WpLqLjtXNiyn9gh-454K6AF-Q3kwkYAQD8,4437
142
- huggingface_hub/utils/_git_credential.py,sha256=SDdsiREr1TcAR2Ze2TB0E5cYzVJgvDZrs60od9lAsMc,4596
143
+ huggingface_hub/utils/_git_credential.py,sha256=ao9rq-rVHn8lghSVZEjDAX4kIkNi7bayY361TDSgSpg,4619
143
144
  huggingface_hub/utils/_headers.py,sha256=w4ayq4hLGaZ3B7nwdEi5Zu23SmmDuOwv58It78wkakk,8868
144
145
  huggingface_hub/utils/_hf_folder.py,sha256=WNjTnu0Q7tqcSS9EsP4ssCJrrJMcCvAt8P_-LEtmOU8,2487
145
146
  huggingface_hub/utils/_http.py,sha256=her7UZ0KRo9WYDArpqVFyEXTusOGUECj5HNS8Eahqm8,25531
@@ -150,18 +151,18 @@ huggingface_hub/utils/_runtime.py,sha256=L7SOYezdxKcwd4DovAY0UGY3qt27toXO-QjceID
150
151
  huggingface_hub/utils/_safetensors.py,sha256=GW3nyv7xQcuwObKYeYoT9VhURVzG1DZTbKBKho8Bbos,4458
151
152
  huggingface_hub/utils/_subprocess.py,sha256=u9FFUDE7TrzQTiuEzlUnHx7S2P57GbYRV8u16GJwrFw,4625
152
153
  huggingface_hub/utils/_telemetry.py,sha256=54LXeIJU5pEGghPAh06gqNAR-UoxOjVLvKqAQscwqZs,4890
153
- huggingface_hub/utils/_typing.py,sha256=Dgp6TQUlpzStfVLoSvXHCBP4b3NzHZ8E0Gg9mYAoDS4,2903
154
+ huggingface_hub/utils/_typing.py,sha256=z-134-HG_qJc0cjdSXkmDm3vIRyF5aEfbZgJCB_Qp2Y,3628
154
155
  huggingface_hub/utils/_validators.py,sha256=dDsVG31iooTYrIyi5Vwr1DukL0fEmJwu3ceVNduhsuE,9204
155
156
  huggingface_hub/utils/_xet.py,sha256=f8qfk8YKePAeGUL6lQiQ1w_3bcs78oWwbeACYdUeg5k,7312
156
- huggingface_hub/utils/_xet_progress_reporting.py,sha256=i1nOjoUtaUpbWV7Tkn5H9cEJZ0CduVz3Q6eIjNvyBhk,5450
157
+ huggingface_hub/utils/_xet_progress_reporting.py,sha256=JK64hv8orABfNnk1_Wd0YyD_5FfeyVeBvelKpjaNIvs,6169
157
158
  huggingface_hub/utils/endpoint_helpers.py,sha256=9VtIAlxQ5H_4y30sjCAgbu7XCqAtNLC7aRYxaNn0hLI,2366
158
159
  huggingface_hub/utils/insecure_hashlib.py,sha256=iAaepavFZ5Dhfa5n8KozRfQprKmvcjSnt3X58OUl9fQ,1142
159
160
  huggingface_hub/utils/logging.py,sha256=0A8fF1yh3L9Ka_bCDX2ml4U5Ht0tY8Dr3JcbRvWFuwo,4909
160
161
  huggingface_hub/utils/sha.py,sha256=OFnNGCba0sNcT2gUwaVCJnldxlltrHHe0DS_PCpV3C4,2134
161
162
  huggingface_hub/utils/tqdm.py,sha256=xAKcyfnNHsZ7L09WuEM5Ew5-MDhiahLACbbN2zMmcLs,10671
162
- huggingface_hub-0.34.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
163
- huggingface_hub-0.34.5.dist-info/METADATA,sha256=67CHYP_fg-DqvhmXT82RONWfD5P-YOKwqc8INQsDWSY,14699
164
- huggingface_hub-0.34.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
165
- huggingface_hub-0.34.5.dist-info/entry_points.txt,sha256=HIzLhjwPTO7U_ncpW4AkmzAuaadr1ajmYagW5mdb5TM,217
166
- huggingface_hub-0.34.5.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
167
- huggingface_hub-0.34.5.dist-info/RECORD,,
163
+ huggingface_hub-0.35.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
164
+ huggingface_hub-0.35.0.dist-info/METADATA,sha256=A4I4EKLkP6i_E7DpR7LL6JPAz_Zjs3MLJBg_vJfSIU4,14820
165
+ huggingface_hub-0.35.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
166
+ huggingface_hub-0.35.0.dist-info/entry_points.txt,sha256=HIzLhjwPTO7U_ncpW4AkmzAuaadr1ajmYagW5mdb5TM,217
167
+ huggingface_hub-0.35.0.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
168
+ huggingface_hub-0.35.0.dist-info/RECORD,,