Skip to content

Commit

Permalink
Merge branch 'main' into deprecate-hf-inference-specific-features
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Feb 12, 2025
2 parents 2337a56 + 85694fe commit 411486e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1917,10 +1917,12 @@ def test_list_models_non_gated_only(self):
for model in self._api.list_models(expand=["gated"], gated=False, limit=5):
assert model.gated is False

@pytest.mark.skip("Inference parameter is being revamped")
def test_list_models_inference_warm(self):
for model in self._api.list_models(inference=["warm"], expand="inference", limit=5):
assert model.inference == "warm"

@pytest.mark.skip("Inference parameter is being revamped")
def test_list_models_inference_cold(self):
for model in self._api.list_models(inference=["cold"], expand="inference", limit=5):
assert model.inference == "cold"
Expand Down

0 comments on commit 411486e

Please sign in to comment.