Repository navigation
Replay Spindle trainer fixes onto Miles v0.2.0 - #38
Merged
Merged
Conversation
frrad
force-pushed
the
spindle-miles-v0.2.0
branch
from
November 13, 2026 15:41
949b877 to
8e419cc
Compare
frrad
force-pushed
the
spindle-v020-regression-tests
branch
from
November 13, 2026 16:18
e6c491a to
a94f7ae
Compare
frrad
marked this pull request as ready for review
November 13, 2026 23:55
micahtyong
approved these changes
Nov 15, 2026
frrad
added a commit
to modal-labs/spindle
that referenced
this pull request
Nov 16, 2026
modal-projects/miles#38 was squash-merged into spindle-miles-v0.2.0 as 15afe21. That branch also carries the Kimi-K3 W4A16 LoRA change (miles#39), which the earlier pin a94f7ae did not include. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Replay the original Spindle trainer fixes from
9d047db23a5760414de12185b3a133363ca2fde8onto upstream Miles v0.2.0 (8e419cc739fb09b5f21085aeacc7f6fd951084e1). The original author, author date, and commit message are preserved. Replay SHA:a94f7ae2ab58e6f05ba6747a48a8c43f6f4ef855.The replay retains the original behavior:
cp_comm_type.materialize_adapter()enables CPU copying before adapter-list accumulation, restoring the previous scope infinally. Ordinary exports retain upstream tensor identity/device behavior.Minimal v0.2.0 conflict adaptations:
args.backendin both builders.iter_current_adapter()generator; place the original conditional copy in_export_current_adapter(), its list consumer.TrainerConfiginstead ofNamespacein the original MoE test's isolated function namespace because upstream changed the function annotation.The original 85-line MoE test file is retained with that one-line adaptation. Migration-added tests and fixture changes have been removed. No new behavior or tests are included.
Other original commits examined:
0a5ba80ddb446f59f9b9b3423fb0aa568cd00a7a: formatting only; no remaining applicable change because the longerargs.backendexpressions require Black's multiline layout.4b1c2d170bc3624770ba834000b5f0adce92107aand187177a804a227e4a21d2541ac16344198a968b1: old/new Tinker SDK-name fallbacks are superseded by upstream's explicit Tinker 0.36.0 contract.assert_installed_sdk_versionandvalidate_sdk_versionreject other installed/client versions; upstream already uses the modern names.93c7a89c570421776141de7eb06295482763e39b: import formatting for those skipped compatibility imports; consequently inapplicable.Validation: all 20 original MoE cases pass with
pytest --noconftest tests/fast/backends/megatron_utils/lora/test_moe_validation.py; all commit hooks and diff whitespace checks pass. The reduced local environment lacks dependencies for full-suite collection. No deployment, GPU run, or Spindle pin change was performed for this replay.