List all downloaded models
Is your feature request related to a problem? Please describe. I want to list all models which are downloaded to my system,
Describe the solution you'd like Maybe run
hf models list
Describe alternatives you've considered
hf cache scan
Additional context Willing to work on this one
on your local system specifically, or would a similar feature but inside hf.co/settings (i.e. hosted remotely) fit your use case?
Hey @maifeeulasad, what information would you like to see in hf models list that is not already mentioned in hf cache scan? (trying to gauge what's needed)
Note that the issue with "listing models" is that from an huggingface_hub point of view we can only list files in cache, but we cannot tell you if the model is runnable only with the local files. This information depends on the library which will be used to run the models
@julien-c thanks adding one more use case to this.
@Wauplin , exactly I want to develop this feature. So this way we can just see oh, these models are downloaded in my system. I can start playing with them right away. And yes, cache doesn't gurantee their absolute existance. And that's the reason why I want this as a new feature.
Please let me know if this is something you guys also want. I can tell that I want it. If you guys want, we can discuss and start implementing it. And I am open for contribution.
Thanks! Have a good weeked. I was finalizing a self hosted agentic system.
Thanks a lot for proposing yourself @maifeeulasad. I'm still unsure where we want to go with this feature since as I said it's hard to implement a rule "is this model cached?" directly in huggingface_hub. We will give it some thoughts and let you know if we want to move forward 🤗