Repository navigation
2.40.0: vision memory modes, quantize and soundtrack fields, job cancel - #55
Merged
Merged
Conversation
… fields; discovery lists memory modes, sound support and measured memory peaks; generation jobs can be cancelled; one in-process generation at a time; responses carry no filesystem paths and every error has error.code; the load route preloads with the route's defaults; test photos carry no location or serial data. Details in CHANGELOG.md.
…0.3.38 needs mlx-gen>=0.40.3 The client-disconnect test assumed the cancel arrives during step 0; on a slow runner the model load outlasted the server's first 0.5 s poll, the run was cancelled before generate (409, correct) and the call-count assertion failed. It now covers the three orderings (mid-run, during the load, while waiting for the gate), each signalled by events. Job waits join the job's thread instead of polling a clock (contract, rc and image-endpoint suites); the gate test waits for the second run to find the gate held instead of sleeping; the loopback server gets its bound socket and a startup event; the mlx_gen fixture fails a test that leaves the generation gate held. Also: the shell-session reap waits for the exit itself, the process-tree cancel reads the grandchild pid from the job's streamed line (no half-written pid file), and the console-tui download test holds the job at 42% until it has seen it. CHANGELOG, docs/server.md and llms-full.txt (regenerated) state mlx-gen>=0.40.3,<0.41 from AbstractVision 0.3.38.
…er a timeout After a timed-out command the session interrupts it and reads until a fresh sync marker; a command that outlived the interrupt (bash continuing a loop past it, or a trapped SIGINT) left the old drain fallback handing its output to the next command. Each attempt now interrupts again with a new marker, up to three; a session that never syncs is closed and that call fails (the next shell_exec starts a new session). The terminal is set up in the child before the shell starts: set from the parent it raced bash's startup, and readline then echoed every command, sentinel included (seen under load in test_exit_code_captured). Tests: a child that leaves at its second SIGINT, a child that ignores SIGINT, and a terminal setting that lands late; each fails on the previous code. The faked installed mlx-gen in the MLX version-bound test is 0.40.3, inside AbstractVision 0.3.38's bound.
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.
Release 2.40.0. One commit over
main.What changes for users
memory_mode,quantizeand the video soundtrack fields;/vision/modelslists the memory modes, sound support and measured memory peaks of each model.CHANGELOG.md.Tier
Full (release branch).
Local gate before the push
scripts/ci_local.sh <checkout> --release-tag v2.40.0 --allow-skipped: exit 0.ci: tests on Python 3.9, 3.10, 3.11, 3.12, 3.13; local-model tests; build; docs; console-tui crate and MSRV; changelog: all pass.[email protected]: tests on Python 3.9 to 3.13; local-model tests; docs; distributions; console-tui crate: all pass.