Skip to content

Cannot re-download model through catalog after using /api/pull API endpoint #3406

@amisskii

Description

@amisskii

Bug description

A model is not being downloaded after it has been installed via the /api/pull endpoint and then deleted (see Steps to Reproduce for details).

Operating system

macOs

Installation Method

from ghcr.io/containers/podman-desktop-extension-ai-lab container image

Version

next (development version)

Steps to reproduce

Download the model using the /api/pull endpoint.
Delete the model from the models catalog.
Try to download it again through the model catalog UI.

Relevant log output

the error in the developer console

VM5:2 main ↪️ [ai-lab] Something went wrong while scanning cache. Error: ENOENT: no such file or directory, stat '/Users/amisskii/.cache/huggingface/hub'
console.<computed>	@	VM5:2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions