Skip to content

test: add real-expert packed-scale GPU correctness gate - #86

Merged
fank merged 1 commit into
mainfrom
claude/humming-packed-gpu-probe
Nov 4, 2026
Merged

fank merged 1 commit into
mainfrom
claude/humming-packed-gpu-probe

Conversation

@fank

@fank fank commented Nov 4, 2026

Copy link
Copy Markdown
Member

Adds an executable one-GPU gate for #84 using eight real Vision drafter experts at TP2 w13/w2 shapes, indexed top6 routing, FP8 activation quantization and both packed/unpacked scale formats. No full model loading.

Checks finite outputs, repeat stability, bitwise format equality and individual CUDA graph capture/replay with changed/restored inputs. Fail-closed: exit0 plus PACKED_SCALE_KERNEL_GATE_PASS only on success. Timings include harness allocation/initialization, not isolated GEMM latency. Compilation workers capped1 and CPU threads2.

Validated here: syntax, --help and15 repository CPU tests. GPU execution is pending: this script is a test handoff, not evidence the kernels pass. It does not replace full MoE/serving correctness or memory profiling.

Example inside the #84 image, script mounted /probe.py and model mounted read-only:

python3 /probe.py --model /models/revisions/6821d6ad3681a4b137b066b76094fa82ebd0a380 --layer 0 --tp-rank 0 --experts 8 --rows 1 8 48 256 --repeats 10

Use an isolated compile cache, one SM90 GPU,4 CPUs,16GiB RAM. Repeat layers1/2 and TP rank1 if the window permits. No production changes.

@fank
fank marked this pull request as ready for review November 4, 2026 09:51
@fank
fank merged commit 0aef76f into main Nov 4, 2026
5 checks passed
@fank
fank deleted the claude/humming-packed-gpu-probe branch November 4, 2026 09:55
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