Skip to content

Fix test_enumerate_model_list #242

@titaiwangms

Description

@titaiwangms

transformers main is breaking api: HfApi().list_models() and causing:

FAILED _unittests/ut_torch_models/test_hghub_api.py::TestHuggingFaceHubApi::test_enumerate_model_list - TypeError: HfApi.list_models() got an unexpected keyword argument 'task'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions