-
Notifications
You must be signed in to change notification settings - Fork 43
Added server logging for displaying feedback while loading models #687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
…hrough an exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
Depends on transformerlab/transformerlab-app#882 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tail field in job data stored things correctly for me, but I think the initial startup of the subprocess isthe one that takes time and there is no output in console then. Which is why you'll only see Starting model... for most plugins while only some whose actual process also takes time, those will show these things.
Maybe @dadmobile can help us resolve but I think this wont solve the problem right?
Also side note, we wouldn't need to add a new server logs route in API right?
I thought you were just reading from job data directly on the frontend already
Just for reference this is what tail had in job data:
{
"tail": [
"2025-11-17 07:55:03 | INFO | model_worker | Loading the model ['Qwen3-0.6B'] on workerb617e619, worker type: MLX worker...",
"2025-11-17 07:55:03 | INFO | model_worker | Model architecture: Qwen3ForCausalLM",
"2025-11-17 07:55:04 | ERROR | stderr | \rFetching 7 files: 0%| | 0/7 [00:00<?, ?it/s]",
"2025-11-17 07:55:04 | ERROR | stderr | \rFetching 7 files: 100%|██████████| 7/7 [00:00<00:00, 30551.64it/s]",
"2025-11-17 07:55:04 | ERROR | stderr |",
"2025-11-17 07:55:05 | INFO | stdout | Context length: 40960"
]
}
I updated the code to use the JobData and removed a separate serverlog route |
|
To be ported into transformerlab/transformerlab-app#882 |
|
@deep1401 I already added this code to the linked pull request on the app. We can probably close this :) |
|
Code has been ported to App so closing this |


I am getting these errors quite frequently from the API after I fetched the latest version from main