Skip to content

Show model loading progress across the app - #52

Merged
Blaizzy merged 3 commits into
mainfrom
pc/model-loading-percentage
Jul 23, 2026
Merged

Show model loading progress across the app#52
Blaizzy merged 3 commits into
mainfrom
pc/model-loading-percentage

Conversation

@Blaizzy

@Blaizzy Blaizzy commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • instrument MLX model materialization to emit machine-readable loading progress
  • surface the loading percentage in chat, the Models page, the sidebar/navbar, and the macOS menu
  • disable chat submission until the selected model is ready
  • include existing chat capture and issue-report sources in the generated Xcode project
  • fix authenticated Hugging Face pagination uncovered by the full app build

Why

Large local models could take a while to load while the UI showed only an indeterminate state. Users now get consistent percentage feedback anywhere they monitor or select the active model.

Impact

Model loading now reports bounded progress from 0–100%, keeps the progress protocol out of visible logs, and clears state on success, failure, termination, or server stop.

Validation

  • Full macOS Debug build with xcodebuild succeeded
  • Built bundled mlx-vlm-server launcher passed --help
  • Python overlay passed python3 -m py_compile
  • Synthetic progress hook emitted increasing 0%, 27%, 50%, 72%, and 95% events
  • git diff --check passed
Screenshot 2026-07-23 at 2 02 51 AM

@Blaizzy
Blaizzy marked this pull request as ready for review July 23, 2026 00:08
@Blaizzy
Blaizzy requested a review from lucasnewman July 23, 2026 00:09
…entage

# Conflicts:
#	Nativ.xcodeproj/project.pbxproj
@Lazarus-931

Copy link
Copy Markdown
Collaborator

lgtm!

@Blaizzy
Blaizzy merged commit bee67d6 into main Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants