Fix model pull timeouts with retry, resume, and stall detection#1
Open
darrylmorley wants to merge 3 commits intomainfrom
Open
Fix model pull timeouts with retry, resume, and stall detection#1darrylmorley wants to merge 3 commits intomainfrom
darrylmorley wants to merge 3 commits intomainfrom
Conversation
…rashes Concurrent API requests could each independently trigger stop/start cycles, killing processes mid-startup. Added ModelSwitchCoordinator actor to serialize switches: same-model requests coalesce, different-model requests use last-writer-wins with cancellation, and a reentrant-safe loop prevents duplicate switch tasks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…on macOS 26 huggingface-hub 1.8.0 installs the CLI as `hf` instead of `huggingface-cli`, breaking install_mlx_lm.sh on clean machines. The script now checks for both binaries and creates a symlink when only `hf` is present. Also fixes an NSHostingView constraint crash on macOS 26 Tahoe by setting explicit contentSize on the NSPopover, adding bounded frames to all views, and moving the Pull Model sheet to a standalone NSWindow (sheets on popovers deadlock and crash on Tahoe). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Downloads on slow connections would stall indefinitely with no retry. Now uses --resume-download to continue interrupted downloads, retries up to 3 times with 5s delay, and kills stalled processes after 60s of no progress output. Retry status is surfaced via PullProgress events. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--resume-downloadflag tohuggingface-cli downloadso interrupted downloads resume from where they left offPullProgressevents (e.g. "Retrying... (attempt 2/3)")Test plan
ollmlx pulla large model on a slow/throttled connection🤖 Generated with Claude Code