Repository navigation
Dev/env to control kernel preload - #4157
Merged
Merged
Conversation
Introduce AITER_MOE_KERNARG_PRELOAD (0/1, default 1) in tensor_shim as a single global toggle for the amdgpu-kernarg-preload compile hint, and wire it into all MoE flydsl kernels. Also make the preload count overridable via AITER_MOE_KERNARG_PRELOAD_COUNT. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…PRELOAD Rename MOE_KERNARG_PRELOAD/_COUNT (and their AITER_MOE_* env vars) to AITER_FLYDSL_KERNARG_PRELOAD/_COUNT since the toggle applies to flydsl kernels generally, not just MoE. Bump the preload count default to 32. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
valarLip
pushed a commit
that referenced
this pull request
Jul 9, 2026
Adds a Claude Code skill at .claude/skills/review-pr/SKILL.md that provides a structured, multi-section checklist for reviewing aiter PRs. Covers: backbone tier safety (B1-B5), data-type consistency (D1-D8), fake/abstract function correctness (D6-D7), correctness hazards (C1-C3), performance flags (P1-P4), hardware-specific checks (HK1-HK11), FP8 correctness (F1-F6), multi-stream sync (G1), and a blind-spot self-check before verdict generation (Step 7.5). Tested against 4 real PRs: aiter #4156, #4157 and ATOM #1527, #1526. Co-authored-by: root <[email protected]>
valarLip
approved these changes
Jul 9, 2026
valarLip
previously approved these changes
Jul 10, 2026
…k memory per_1x32_f4_quant materializes many full-size intermediates in the f32_to_mxfp4 path, OOMing on very large tensors. For >=3D inputs above 4 GiB, iterate the outermost dim and assemble the results, so peak memory scales with a single slice. Quantization is per-block along the last dim, so slicing leading dims is exact; shuffle is applied once on the assembled scale to preserve its cross-row layout. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
valarLip
approved these changes
Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist