transformerlab-app icon indicating copy to clipboard operation
transformerlab-app copied to clipboard

The foundation page shows a particular model as selected even though the model has been deleted

Open ParamThakkar123 opened this issue 1 month ago • 7 comments

I downloaded a Qwen model in the TransformerLab application and set it as the active model for chat. Although the model initially appeared on the Foundation page, after deleting it from there, the model continued to appear as the currently selected one. This suggests that the model reference was not properly cleared after deletion.

ParamThakkar123 avatar Nov 03 '25 16:11 ParamThakkar123

Are you saying that you deleted a model while you were running it? What happens after you stop the model? Is it still in the model list?

dadmobile avatar Nov 03 '25 16:11 dadmobile

I mean I selected the model on the model zoo page and then deleted it after selecting (and without ejecting) but still it was visible on the foundation page

ParamThakkar123 avatar Nov 03 '25 16:11 ParamThakkar123

Oh so it wasn't running but it was selected. Got it. So could unselect it if it gets deleted I guess.

dadmobile avatar Nov 03 '25 16:11 dadmobile

Actually I was thinking that if the model has been deleted then it should not be actually visible on the foundation page at all

ParamThakkar123 avatar Nov 03 '25 17:11 ParamThakkar123

Yeah my suspicion is that if you eject the model it will be deleted from the model list, it's just we didn't add the code to also remove it as the selected model. I don't know what happens i fyou try to hit the Run button...probably an error.

dadmobile avatar Nov 03 '25 17:11 dadmobile

It wont be an error as if its a huggingface model, the fields set in experiment config would still start it correctly. The error would only be for local models

deep1401 avatar Nov 04 '25 15:11 deep1401

Yeah. I meant the problem seems to be mostly on the frontend side where the state of the application isn't updated properly I think

ParamThakkar123 avatar Nov 04 '25 17:11 ParamThakkar123