Skip to content

[ci] Install B200 nightlies from the cu132 index - #6345

Merged
shuhuayu merged 2 commits into
mainfrom
shuhuayu/b200-ci-cu132
Nov 24, 2026
Merged

shuhuayu merged 2 commits into
mainfrom
shuhuayu/b200-ci-cu132

Conversation

@shuhuayu

@shuhuayu shuhuayu commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary (human-written)

udpate b200 ci to cu132.

Why

The B200 workflows install the latest PyTorch nightly without a pin, from the
cu130 index. PyTorch stopped publishing cu130 nightlies on 2026-11-03
(pytorch/pytorch#203260). The newest wheel on that index is
torch==2.16.0.dev20261102+cu130, so every B200 run since then has tested a
three-week-old PyTorch:

Index Newest torch nightly (checked 2026-11-23)
nightly/cu130 (B200 today) 2.16.0.dev20261102
nightly/cu132 (other CUDA lanes) 2.16.0.dev20261123

Example. pytorch/pytorch#205562, the fix for the cuDNN varlen backward
wrong-dQ bug (pytorch/pytorch#205493), landed on 2026-11-19. It never reaches
B200 CI, and kimi_k3_dist_moe_fsdp_ep_cp in #5684 keeps crashing with
cuDNN SDPA ... illegal memory access.

The other CUDA lanes moved to cu132 in #4661. The two B200 workflows were not
updated.

What changed

  • integration_test_b200.yaml and integration_test_b200_graph_trainer.yaml
    install torch, torchvision and torchao from nightly/cu132 instead of
    nightly/cu130.
  • The container image stays nvidia/cuda:13.0.3-cudnn-devel-ubuntu22.04. The
    torch wheels ship their own CUDA runtime and cuDNN as nvidia-* pip
    packages.
  • The torchao pin (0.19.0.dev20261103) is published on cu132, so
    .github/requirements-torchao.txt is unchanged.

Testing

The B200 and B200 graph-trainer workflows run on this PR through the
ciflow/b200 label. The run log should show torch==2.16.0.dev2026112x+cu132.

PyTorch stopped publishing cu130 nightlies on 2026-11-03 (pytorch/pytorch#203260), so the unpinned B200 installs have resolved to torch 2.16.0.dev20261102 since then. Use cu132, as the other CUDA lanes have since #4661.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 23, 2026
@shuhuayu shuhuayu added the ciflow/b200 Trigger B200 CI label Nov 23, 2026
@shuhuayu
shuhuayu marked this pull request as ready for review November 23, 2026 23:10
@pytorch-bot pytorch-bot Bot added the ciflow/fake-pg Run 1-GPU Fake PG integration tests label Nov 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do you know what's the source of numerics change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not yet, running a debug session for it now. but the numerics changes are from both cuda version and pytorch version
image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if from pytorch as well, I wonder if our non-B200 numerics tests would be affected as well, unless cu132 is only for Blackwell?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

confirmation from debugging. two sources of changes that only affect kimi k3's golden files, only kimi k3's golden numeric baseline used vision encoder:

  1. pytorch, [CUDA] Add deterministic bilinear2d backward" ([CUDA] Add deterministic bilinear2d backward pytorch#197714), this bilinear2d is used in the vision encoder.
  2. cuda, "CUDA Math: Release 13.2" (https://docs.nvidia.com/cuda/archive/13.2.0/cuda-toolkit-release-notes/index.html). It says: "erff(): 5% to 10% faster, with minor accuracy improvements … from algorithmic simplifications, reduced branching, and tighter approximations. this changed the GELU numerics, which is only used in k3's golden test recipe.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for confirming!

@shuhuayu
shuhuayu merged commit ed38677 into main Nov 24, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/b200 Trigger B200 CI ciflow/fake-pg Run 1-GPU Fake PG integration tests CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants