transformerlab / transformerlab-app

Open Source Application for Advanced LLM Engineering: interact, train, fine-tune, and evaluate large language models on your own computer.
https://transformerlab.ai/
GNU Affero General Public License v3.0
403 stars 23 forks source link

App freezes up when you try to run a model you deleted from Hugging Face cache #174

Open dadmobile opened 4 days ago

dadmobile commented 4 days ago

Reported by discord user laubonghaudoi:

A weird thing happened. So I ran huggingface-cli delete-cache to delete all models, but the UI still shows these models. And if I select and run one of these models, it will get stuck for a long time and eventually return a model not found error. Is this a bug? I think the model list should auto update if a model is removed?

deletedmodel

laubonghaudoi commented 19 hours ago

This is not critical, but will get more confusing when the number of models goes up. If I try a hundred models and they all remain in the list, it will be very difficult to find models that are not deleted.