Skip to content

Commit 2855402

Browse files
[Internal] prepare for 0.33.0 release (#3138)
* revert and update deprecation version * style * update version
1 parent deeccf1 commit 2855402

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/huggingface_hub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
from typing import TYPE_CHECKING
4747

4848

49-
__version__ = "0.31.0.dev0"
49+
__version__ = "0.33.0.dev0"
5050

5151
# Alphabetical order of definitions is ensured in tests
5252
# WARNING: any comment added in this dictionary definition will be lost when

src/huggingface_hub/inference/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,7 +3196,7 @@ def zero_shot_image_classification(
31963196
return ZeroShotImageClassificationOutputElement.parse_obj_as_list(response)
31973197

31983198
@_deprecate_method(
3199-
version="0.33.0",
3199+
version="0.35.0",
32003200
message=(
32013201
"HF Inference API is getting revamped and will only support warm models in the future (no cold start allowed)."
32023202
" Use `HfApi.list_models(..., inference_provider='...')` to list warm models per provider."
@@ -3386,7 +3386,7 @@ def health_check(self, model: Optional[str] = None) -> bool:
33863386
return response.status_code == 200
33873387

33883388
@_deprecate_method(
3389-
version="0.33.0",
3389+
version="0.35.0",
33903390
message=(
33913391
"HF Inference API is getting revamped and will only support warm models in the future (no cold start allowed)."
33923392
" Use `HfApi.model_info` to get the model status both with HF Inference API and external providers."

src/huggingface_hub/inference/_generated/_async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,7 @@ async def zero_shot_image_classification(
32603260
return ZeroShotImageClassificationOutputElement.parse_obj_as_list(response)
32613261

32623262
@_deprecate_method(
3263-
version="0.33.0",
3263+
version="0.35.0",
32643264
message=(
32653265
"HF Inference API is getting revamped and will only support warm models in the future (no cold start allowed)."
32663266
" Use `HfApi.list_models(..., inference_provider='...')` to list warm models per provider."
@@ -3496,7 +3496,7 @@ async def health_check(self, model: Optional[str] = None) -> bool:
34963496
return response.status == 200
34973497

34983498
@_deprecate_method(
3499-
version="0.33.0",
3499+
version="0.35.0",
35003500
message=(
35013501
"HF Inference API is getting revamped and will only support warm models in the future (no cold start allowed)."
35023502
" Use `HfApi.model_info` to get the model status both with HF Inference API and external providers."

0 commit comments

Comments
 (0)