Repository navigation
feat(rope): --rope-yarn stages a YaRN config for Qwen 3.5/3.6/3.8, warns elsewhere (#729 P1) - #736
Merged
Merged
Conversation
…eps stock RoPE elsewhere (#729 P1), not yet built
Owner
Author
Review (#729 P1)Very clean end-to-end wiring (CLI, Compose,
|
…by rename, so concurrent processes never see a half-written directory (review)
goodmai
marked this pull request as ready for review
November 23, 2026 12:51
goodmai
added a commit
that referenced
this pull request
Nov 23, 2026
…g safety, DSpark config guards, compiled 1-row rewind, HF-aligned YaRN factor (#750) * fix(rope,inkling): staging follows its source's file set and sweeps abandoned temporaries; MTP drafter from the staged config; DSpark block_size within the conv rewind, strictly increasing taps, null mtp_config; compiled 1-row steps keep conv windows; chunked drafter prefill (review) * chore(fork): pin e9feb1e — HF-aligned YaRN attention factor, exact-trim precondition; test the attention-factor rules (review)
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.
#729 P1. The owner chose a plain flag, not an experimental one.
Options:
--rope-yarn FACTORin serve and bench,serve.rope_yarnin the serve config, andrope_yarnin Compose. Compose keeps every engine option in itsexperimentalsection, plain flags likekv_head_splitincluded, sorope_yarngoes there too. A Compose reload that changes it needs a restart.For
qwen3_5*: the engine stages~/.basalt/rope-yarn/<hash>-yarn-xFwith a rewrittenconfig.json:rope_parametersgetsrope_type: yarn, the factor andoriginal_max_position_embeddings= the native context;rope_thetaandpartial_rotary_factorare copied intorope_parameters;max_position_embeddingsis multiplied by the factor;The model and the prompt-cache fingerprint come from that staged directory, so caches split by RoPE config.
Everything else, Gemma 4 and REST hot swaps included: loads with stock RoPE and logs one warning that names the reason (owner's decision).
Not done yet: a
ropefield inGET /v1/models, and a warning when a prompt exceeds the effective context.Review fixes:
config.jsonbytes, same symlink targets) is reused in place;rename;replaceItemAt.#requireinstead ofas!, and its fixture is a computed property under strict concurrency.Verified locally: strict build;
RopeYarnFlagTests|ServeConfigFile|ComposeSchema|ComposeSpec|YarnRoPETests|ComposeProfilesMatrix(18 tests) pass; comment and size gates clean.🤖 Generated with Claude Code
https://claude.ai/code/session_012cicguZMN3jhNGmf5327oh