Skip to content

@huggingface/inference should not call /api/tasks when endpoint url is providedΒ #1321

@coyotte508

Description

@coyotte508

cc @hanouticelina @Wauplin @SBrandeis for viz

/api/tasks is only called to load default HF model, and should only be called when no model and no endpoint url is provided.

I think maybe originates in #1107 (where model could either be an url or a string)

See also https://github.com/huggingface-internal/moon-landing/pull/13175 cc @Kakulukian

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginference@huggingface/inference related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions