Conversation
zheliuyu
force-pushed
the
main
branch
3 times, most recently
from
September 16, 2026 07:21
60a9049 to
d1d4ee8
Compare
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.
Summary
Hard-cap Ascend UB tiles by detected UB / (bits × 4/3). Triton-Ascend 3.2.2 defaults to auto-multi-buffer (~4/3 live tiles). The margin-only path can still pick an A5-sized tile (e.g. GLU fwd 16384) when reported UB is below 256KB. Cap uses detected UB only: A3=192KB, A5=256KB.
Expected GLU tiles (
safety_margin=0.9, fp32): A3 8192/4096, A5 16384/8192.Details
multiplier * 2; that would cut A5 GLU fwd 16384→8192.multibuffer=Falselaunches are unchanged.Testing Done
make testto ensure correctnessmake checkstyleto ensure code stylemake test-convergenceto ensure convergenceub_managerold vs new: SwiGLU / RMSNorm / RoPE tile+latency unchanged; CE V=32k/128k flat; FLCEBT=2048,H=4096,V=32000fwd about +3% from the plain-CE fwd tile cut.