Skip to content

feat: add lossless MXFP4 expert scale compression - #1802

Merged
AlpinDale merged 2 commits into
mainfrom
feat/mxfp4-scale-compression
Nov 12, 2026
Merged

AlpinDale merged 2 commits into
mainfrom
feat/mxfp4-scale-compression

Conversation

@AlpinDale

@AlpinDale AlpinDale commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Kimi-K3.1-Pro-NF12 · 8× NVIDIA B300 · 131,072 input / 2,048 output tokens · No speculative decoding

Lossless compression of MXFP4 expert scales.

Metric Normal scales Compressed scales Change
Model memory per GPU ≈193.80 GiB ≈187.52 GiB 6.28 GiB saved
Model memory across 8 GPUs ≈1,550.4 GiB ≈1,500.2 GiB 50.2 GiB saved
Available KV memory per GPU 50.76 GiB 57.11 GiB +12.5%
Output throughput, C=1 70.37 tok/s 68.02 tok/s −3.3%
Output throughput, C=8 164.78 tok/s 160.96 tok/s −2.3%
Mean time per output token, C=1 9.88 ms 10.36 ms +4.8%
Mean time per output token, C=8 28.64 ms 29.68 ms +3.6%

Throughput includes prefill. Time per output token excludes the initial prefill but includes stalls from other requests' prefills.

Signed-off-by: AlpinDale <alpindale@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T13:57:43.102954Z 60add1d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af6addaf62

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: AlpinDale <alpindale@gmail.com>
@AlpinDale

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 60add1d38b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AlpinDale
AlpinDale merged commit 3a05f89 into main Nov 12, 2026
2 checks passed
@AlpinDale
AlpinDale deleted the feat/mxfp4-scale-compression branch November 12, 2026 13:58
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.

1 participant