Skip to content

Misc fixes: upstream JACCL all_sum, API, etc. + Add Kimi K2.6 - #1952

Merged
rltakashige merged 7 commits into
mainfrom
leo/fix-tp-2
Apr 22, 2026
Merged

rltakashige merged 7 commits into
mainfrom
leo/fix-tp-2

Conversation

@rltakashige

@rltakashige rltakashige commented Apr 21, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

This fixes a bunch of observed model quality issues introduced upstream in JACCL, as well as API issues and prefix cache calculation.

Test Plan

Manual Testing

Tested a bunch

Automated Testing

Added a test, automated eval tool calls on Kimi K2.6, Minimax M2.7, GPT OSS and Qwen3.6 models.

@rltakashige
rltakashige marked this pull request as draft April 21, 2026 08:00
@rltakashige
rltakashige force-pushed the leo/fix-tp-2 branch 10 times, most recently from 728b4e9 to 080d7e8 Compare April 21, 2026 13:51
@rltakashige
rltakashige marked this pull request as ready for review April 21, 2026 15:31
@rltakashige
rltakashige force-pushed the leo/fix-tp-2 branch 4 times, most recently from 22742cd to 8f69f1e Compare April 21, 2026 22:28
@rltakashige rltakashige changed the title Fix tensor parallelism Misc fixes for TP, API, etc. Apr 21, 2026
@rltakashige rltakashige changed the title Misc fixes for TP, API, etc. Misc fixes for TP, API, etc. + Add Kimi K2.6 model card Apr 21, 2026
@rltakashige
rltakashige requested a review from Evanev7 April 21, 2026 23:41
@rltakashige rltakashige changed the title Misc fixes for TP, API, etc. + Add Kimi K2.6 model card Misc fixes: upstream JACCL all_sum, API, etc. + Add Kimi K2.6 model card Apr 21, 2026
@rltakashige
rltakashige force-pushed the leo/fix-tp-2 branch 8 times, most recently from 965e0e6 to 1761d5c Compare April 22, 2026 01:07
@rltakashige
rltakashige force-pushed the leo/fix-tp-2 branch 2 times, most recently from cfc7847 to 603ed36 Compare April 22, 2026 01:09
@rltakashige rltakashige changed the title Misc fixes: upstream JACCL all_sum, API, etc. + Add Kimi K2.6 model card Misc fixes: upstream JACCL all_sum, API, etc. + Add Kimi K2.6 Apr 22, 2026

@Evanev7 Evanev7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably needs a more thorough review of the upstream code changes.
adapters code is fine.
cache & utils code is fine.
vision code is hacky. c'est la vie.
worker changes confuse me slightly - is image transfer broken?

@Evanev7 Evanev7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright, looks good!

@rltakashige
rltakashige force-pushed the leo/fix-tp-2 branch 4 times, most recently from 1b847da to 36a31cd Compare April 22, 2026 13:33
## Motivation

<!-- Why is this change needed? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here -->

## Changes

<!-- Describe what you changed in detail -->

## Why It Works

<!-- Explain why your approach solves the problem -->

## Test Plan

### Manual Testing
<!-- Hardware: (e.g., MacBook Pro M1 Max 32GB, Mac Mini M2 16GB,
connected via Thunderbolt 4) -->
<!-- What you did: -->
<!-- - -->

### Automated Testing
<!-- Describe changes to automated tests, or how existing tests cover
this change -->
<!-- - -->
@rltakashige
rltakashige enabled auto-merge (squash) April 22, 2026 15:39
@rltakashige
rltakashige merged commit 7a312a1 into main Apr 22, 2026
6 checks passed
@rltakashige
rltakashige deleted the leo/fix-tp-2 branch April 22, 2026 15:43
rltakashige added a commit that referenced this pull request Apr 22, 2026
adurham pushed a commit to adurham/exo that referenced this pull request Apr 27, 2026
Pulls 27 upstream commits into the fork main, including:
- Add DeepSeek V4 Flash/Pro (exo-explore#1978) — replaces fork's MoE-only DSv4
  sharding with upstream's interleaved-per-group head sharding
  (DeepseekV4ShardingStrategy + _AllSumLinear + ShardedMoEV4)
- Misc fixes: upstream JACCL all_sum, API, Kimi K2.6 (exo-explore#1952)
- swap camelcasemodels for frozenmodels globally (exo-explore#1957) — drops
  CamelCaseModel; fork's PauseDownload* / TraceEventResponse /
  SamplingValues / ModelCard moved to FrozenModel
- Add sampling defaults (exo-explore#1947)
- Extend bench/eval tooling (exo-explore#1905) — restructures parts.nix's
  mkPythonSet with explicit members parameter
- Fork's already-merged: in-flight task routing fix (exo-explore#1989) and
  presence/frequency penalty mapping (exo-explore#1991)

22 conflicts resolved; fork-only optimizations preserved (radix
prefix cache, MTP P2P weight propagation, MiniMax tracing/_minimax_span,
MiniMax fused gate+up gather_qmm, Phase-3 fused QKV/RoPE,
sampling resolver, prometheus metrics endpoint).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants