Skip to content

docs(qwen35): TP2 implementation record + knowledge-eval tooling (split 4/4 of #946) - #1006

Open
Ma1oneZhang wants to merge 4 commits into
pegainfer-project:mainfrom
Ma1oneZhang:dev/qwen35-tp-eval-docs
Open

docs(qwen35): TP2 implementation record + knowledge-eval tooling (split 4/4 of #946)#1006
Ma1oneZhang wants to merge 4 commits into
pegainfer-project:mainfrom
Ma1oneZhang:dev/qwen35-tp-eval-docs

Conversation

@Ma1oneZhang

Copy link
Copy Markdown
Contributor

Description

Split 4/4 of #946, tracked in #1001. Independent of splits 1–3 (docs + bench tooling only; no runtime dependency).

  • Documents the Qwen3.5 TP implementation record and the 27B TP2 knowledge-eval setup.
  • Fixes scripts/eval_mc.py MMLU-Redux extraction (absorbs the codex review comment from feat(qwen35): shard GDR state per TP rank + batched eager/graph decode under TP (+27B benchmark validation) #946): answers are extracted via the shared sg_extract_labels(text, 'ABCD') marker logic instead of a first-capital-letter regex, matching the other benchmarks.
  • Flags the 27B TP2 MMLU-Redux 94.09 figure in the doc as produced by the pre-fix extractor: do not cite until rerun with the fixed extractor.

Type of Change

  • Documentation update
  • Bug fix (non-breaking change which fixes an issue)

Evidence

Checklist

  • My code follows the style guidelines of this project (see docs/conventions/coding-style.md).
  • I have performed a self-review of my own code.
  • I have formatted my commits according to Commitizen conventions.
  • I have run the local test suite and all tests pass (see CLAUDE.md).

Signed-off-by: Ziyang Zhang <hafuhafu@qq.com>
…eval

- tp-implementation.md: Phase 2a/2b + Step 3 batched-decode landing record
- benchmarks/qwen35-27b-tp2-knowledge-eval.md: MMLU-Redux 94.09 vs 93.2,
  C-Eval 88.11 vs 90.5 (full runs, truncation rerun-merged); in band
- scripts/eval_mc.py + eval_rerun_truncated.py: benchmark runner
  (OpenCompass/lm-eval recipe replicas over the chat completions API)
- developer-onboarding: NCCL libnccl.so dlopen note

Signed-off-by: Ziyang Zhang <hafuhafu@qq.com>
The MMLU-Redux extractor searched the whole completion for the first
[ABCD], so any answer prefixed with "Answer: B" scored as the "A" in
"Answer", silently marking correct B/C/D responses wrong (codex review
on pegainfer-project#946). Reuse the SuperGPQA marker-preferring patterns restricted to
A-D, and drop the now-dead MMLUREDUX_RE. Redo the MMLU-Redux numbers
before citing them.

Signed-off-by: Ziyang Zhang <hafuhafu@qq.com>
The 94.09 snapshot predates the answer-extraction fix; mark it as not
citable until rerun with the marker-preferring extractor.

Signed-off-by: Ziyang Zhang <hafuhafu@qq.com>
@Ma1oneZhang

Copy link
Copy Markdown
Contributor Author

@codex please review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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