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

Model Run button doesn't work because previous model process is still running

Open dadmobile opened this issue 1 year ago • 0 comments

The error you see in the app is that you click Run and it tries ot start up the model and then nothing happens. You might see Exit code 1 somewhere.

In the model log it says: 2025-01-28 16:29:15 | ERROR | stderr | ERROR: [Errno 48] error while attempting to bind on address ('::1', 21002, 0, 0): address already in use

If you do a ps on the command line you can see:

12175 ttys008    0:27.48 /Users/tony/miniconda3/envs/transformerlab/bin/python /Users/tony/workspace/transformerlab-api/transformerlab/plugin_sdk/plugin_harness.py --plugin_dir /Users/tony/.transformerlab/workspace/plugins/mlx_server --model-path mlx-community/DeepSeek
12177 ttys008    0:00.02 /Users/tony/miniconda3/envs/transformerlab/bin/python -c from multiprocessing.resource_tracker import main;main(11)
13340 ttys008    0:00.03 /Users/tony/miniconda3/envs/transformerlab/bin/python -c from multiprocessing.resource_tracker import main;main(27)

A failed Model Run should show proper alert error

dadmobile avatar Jan 28 '25 21:01 dadmobile