Skip to content

Add full end-to-end Ampere validation runner - #12

Merged
groxaxo merged 2 commits into
mainfrom
docs/full-ampere-validation-script
Jul 11, 2026
Merged

Add full end-to-end Ampere validation runner#12
groxaxo merged 2 commits into
mainfrom
docs/full-ampere-validation-script

Conversation

@groxaxo

@groxaxo groxaxo commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

Adds scripts/validate_gptq_pro_ampere.sh, a single end-to-end validation command for physical Ampere systems.

The runner:

  • automatically selects the least-busy GPU or accepts an explicit physical GPU index;
  • refuses a busy GPU unless explicitly overridden;
  • records Git, Python, CUDA, driver, package, and GPU metadata;
  • runs isolated qweight/dispatch/source contract tests;
  • compiles the standalone validator for sm_80/sm_86/sm_87 plus PTX, or native-only by request;
  • executes the numerical CUDA validator;
  • runs compute-sanitizer memcheck and optional racecheck;
  • builds/imports the real versioned PyTorch CUDA extension;
  • benchmarks AUTO, GEMV, Ampere, and legacy paths across decode/prefill shapes;
  • enforces configurable numerical gates;
  • reports AUTO-vs-legacy timing without falsely requiring a speedup by default;
  • writes validation-report.json, SHA-256 artifact hashes, and VALIDATION_PASSED only after all enabled correctness checks pass.

Usage

bash scripts/validate_gptq_pro_ampere.sh
bash scripts/validate_gptq_pro_ampere.sh --quick
bash scripts/validate_gptq_pro_ampere.sh --gpu 2 --racecheck

The permanent kernel CI is extended to run bash -n and the runner's --help path.

@groxaxo
groxaxo merged commit 61db082 into main Jul 11, 2026
3 of 5 checks passed
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