Repository navigation
Nemotron 3.5 Lightning MTP: serve long prompts (SDK assistant pool fix) - #2614
Merged
Merged
Conversation
…nt pool fix Pins mlx-swift-lm b98bcd3343 (#528, landed on SDK main by merge commit 4bb2b43ee8). With MTP on, the assistant's private paged pool was granted its pages plus 4 MiB while the segmented pool charges whole segments, so a request's first step failed with capacityExhausted from 165,849 tokens of prompt plus output, in bands, and at every length from 176,121. The assistant now grants the pool's own charge for its row. The provider already maps a remaining capacityExhausted to retryable capacity (503).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7 tasks done
This branch was successfully deployed
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
With MTP on, the Nemotron 3.5 Lightning assistant's private paged pool was granted its pages plus 4 MiB, while the segmented pool charges whole segments. A request's first step therefore failed with
capacityExhaustedfrom 165,849 tokens of prompt plus output, in bands, and at every length from 176,121.This PR pins mlx-swift-lm
b98bcd3343(Layr-Labs/mlx-swift-lm#528, landed on SDKmainby merge commit4bb2b43ee8). There the assistant grants the pool's own charge for its row, as Inkling 2 Mini's drafter does since #527. The provider already maps a remainingcapacityExhaustedto retryable capacity (503).8fcc6457ecb98bcd3343; a note in the Lightning MTP row of the inference architecture page; changelogLinked issue
None.
Test plan
NemotronH35MTPPoolSizingTests). Red control Red control for #528: Nemotron 3.5 MTP pool sizing tests only (do not merge) mlx-swift-lm#529 fails without the change.Components touched