Repository navigation
Conversation
jiapingW
requested review from
FlamingoPg,
FrankLeeeee,
shuaills and
sleepcoo
as code owners
August 10, 2026 11:26
Collaborator
Author
|
@maocheng23 help cc. |
maocheng23
reviewed
Aug 20, 2026
| *, | ||
| max_attempts: int = 40, | ||
| retry_interval_s: float = 0.5, | ||
| max_attempts: int = DEFAULT_PENDING_DRAIN_MAX_ATTEMPTS, |
Collaborator
There was a problem hiding this comment.
But this means the default would be 8x0.25s, will it be too low?
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.
Motivation
This PR fixes inconsistencies between offline capture behavior, documentation, and the PyPI release process.
In particular:
Offline hidden-state preparation independently re-read --draft-model-config as a local JSON file, preventing target-derived
configurations from working correctly.
Explicit "draft_vocab_size": null could incorrectly fall back to vocab_size.
Several documentation paths, Mooncake guarantees, Kimi K3 revision descriptions, and gate instructions were outdated or
misleading.
The PyPI workflow only produced an sdist, mixed token and OIDC authentication, and unintentionally packaged unrelated top-level
modules.
Modifications
Resolve draft_vocab_size from the canonical capture_plan.draft_config.
Correct documentation:
Improve PyPI packaging and publishing:
Related Issues
N/A.
Accuracy Test
Not applicable. This PR does not change kernels, model architecture, forward computation, or numerical behavior.
Validation performed:
26 targeted unit tests passed:
python -m unittest -v
tests.test_scripts.test_prepare_hidden_states
tests.test_runtime.test_model_loading
Both distributions passed strict metadata validation:
python -m build
python -m twine check --strict dist/*
The wheel passed archive-integrity, isolated installation, version, import, and CLI smoke tests.
The PyPI publishing workflow completed successfully.
specforge==0.2.0 was downloaded from public PyPI and installed successfully.
Benchmark & Profiling
Checklist