Skip to content

[Doc] Add LongCat 2.0 FP8 cookbook - #30320

Merged
zijiexia merged 3 commits into
sgl-project:mainfrom
BBuf:longcat2-cookbook-docs
Jul 7, 2026
Merged

zijiexia merged 3 commits into
sgl-project:mainfrom
BBuf:longcat2-cookbook-docs

Conversation

@BBuf

@BBuf BBuf commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Regenerate the LongCat-2.0 FP8 cookbook with the config-driven Deployment / Playground template.
  • Add LongCat config and benchmark data under docs_new/src/snippets/configs/meituan-longcat/.
  • Register the Meituan cookbook page in docs_new/docs.json and add a Meituan card to the autoregressive cookbook overview.

Validation

  • git diff --check origin/main...HEAD
  • node -e "JSON.parse(require('fs').readFileSync('docs_new/docs.json','utf8')); console.log('docs.json ok')"
  • JS syntax parse for docs_new/src/snippets/configs/meituan-longcat/longcat-2.0.jsx and longcat-2.0-benchmarks.jsx
  • Config-cell check: 4 cells, all with the required {hw, variant, quant, strategy, nodes} dimensions and no hardcoded --nnodes, --node-rank, or --dist-init-addr flags
  • Benchmark mapping check: the B300 GSM8K benchmark entry maps to an existing deployment cell
  • rg check for old-template leftovers: no LongCat2Deployment, longcat2-deployment, python3 -m sglang.launch_server, temperature, top_p, markdown table rows, or metatags: remain in the LongCat cookbook/config files

Note: mint is not installed in my local environment, so I could not run mint broken-links locally.

Accuracy / Serving

  • Model: meituan-longcat/LongCat-2.0-FP8
  • Hardware: 8x B300 single node
  • Full GSM8K: 95.8904109589041% on 1314 examples
  • Spot check: 98.0% on 200 GSM8K examples
  • CUDA graph was enabled, and decode CUDA graph capture completed successfully during serving validation

CI States

Latest PR Test (Base): ✅ Run #28886387518
Latest PR Test (Extra): ✅ Run #28886387090

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 7, 2026
@BBuf
BBuf force-pushed the longcat2-cookbook-docs branch from a5c44db to 8e12315 Compare July 7, 2026 02:48
@BBuf

BBuf commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator Author

Updated this PR to follow the new config-driven cookbook template.

Changes:

  • Replaced the custom LongCat deployment component with Deployment / Playground plus docs_new/src/snippets/configs/meituan-longcat/longcat-2.0.jsx.
  • Moved GSM8K accuracy into longcat-2.0-benchmarks.jsx so it renders in the benchmark card.
  • Removed old-template leftovers (launch_server, hardcoded multi-node flags, markdown table, metatags, sampling params in examples).
  • Kept B300 as the verified single-node recipe, and H200/B200/H20 as 2-node TP=16/EP=16 recipes.

Validation is listed in the PR body. Local mint CLI is not installed, so I could not run mint broken-links locally.

@BBuf BBuf added run-ci CI: run the baseline test suite on this PR run-ci-extra CI: also run the extra suite (requires run-ci) and removed run-ci-extra CI: also run the extra suite (requires run-ci) labels Jul 7, 2026
@BBuf BBuf added the run-ci-extra CI: also run the extra suite (requires run-ci) label Jul 7, 2026

@zijiexia zijiexia 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.

some minor followups:

  1. LongCat-2.0 has 3-step MTP module but speculative decoding is missing in the cookbook
  2. Need verify on the given hardwares.

@zijiexia
zijiexia merged commit ead1e49 into sgl-project:main Jul 7, 2026
82 of 85 checks passed
Chronostasys pushed a commit to MindLab-Research/sglang that referenced this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation run-ci CI: run the baseline test suite on this PR run-ci-extra CI: also run the extra suite (requires run-ci)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants