Repository navigation
Releases
AOTriton 0.15 Beta
Overview
AOTriton 0.15 is a maintenance release in the maintenance-feature cadence
introduced in 0.13. It keeps the 0.14 kernels, the AITER pin and, for most
architectures, the Triton compiler. It is ABI compatible with 0.14b: an
application built against 0.14b can switch to 0.15b as a drop-in replacement
(replace aotriton.images too).
The tuning database changes in this release are regression fixes: they
restore performance that 0.14b was expected to deliver but lost to tuner
defects. The compiler changes only for the gfx110x pack, whose tables were
rebuilt, and for the gfx1250 tech preview.
Headline changes
Performance Regression Fixes
The tuner used to time every cell of the tuning database at batch 3 x 5
heads. At short sequence lengths this leaves the GPU mostly idle, so launch
overhead decided the pick: small tiles and the single-launch fused backward,
which lose once batch x heads reaches the hundreds. On gfx1100, a second
tuner defect hid every large tile of the widened 0.14 attn_fwd search
space (#250).
The tuner now times each cell at batch x heads x seqlen_q ~ 2^17 and keeps
batch 3 x 5 heads for accuracy checks only (#270). The affected tables are
fixed as follows:
- gfx950: BERT-family and gpt2 training, slower in 0.13b/0.14.2b than in
0.11.2b, are re-picked from measurements at the reported shapes (#267) - gfx1100: the 0.14 tables are rolled back to 0.13b's and retuned on top of
that base with the corrected tuner (#267, #270)- gfx1101-gfx1103 copy these cells; gfx115x and gfx117x inherit them where
their own tables do not override
- gfx1101-gfx1103 copy these cells; gfx115x and gfx117x inherit them where
gfx950, BERT-family and gpt2 Workloads
Unforced operator, median ms (seqlen x batch). 0.11.2b is the last release
before the regression, timed through perfmon. 0.14 DB and 0.15b DB are
two AOT builds that differ only in the tuning database, timed with the same
script.
| Workload | Pass | 0.11.2b | 0.14 DB | 0.15b DB |
|---|---|---|---|---|
| roberta-large 384 x 512 | fwd | 1.86 | 5.79 | 1.89 |
| roberta-large 384 x 512 | bwd | 5.41 | 10.44 | 6.16 |
| bert-large-uncased 512 x 192 | bwd | 3.23 | 5.72 | 3.40 |
| distilbert-base-uncased 512 x 384 | bwd | 4.78 | 8.46 | 5.00 |
| gpt2 1024 x 72 | fwd | 0.74 | 0.865 | 0.731 |
| gpt2 1024 x 72 | bwd | 2.44 | 3.70 | 2.45 |
The 0.15b DB column was measured on a GPU shared with other jobs. On an idle
GPU through perfmon, the fixed times are 3-8% lower: within 4% of 0.11.2b,
and faster than 0.11.2b for the roberta-large forward and gpt2.
gfx1100, Forward
Median ms, the same two-build comparison as above:
| Shape | 0.14 DB | 0.15b DB |
|---|---|---|
| bf16 hdim 128, batch 3 x 5 heads, seqlen 2048 | 0.831 | 0.474 |
| fp16 hdim 64, batch 3 x 5 heads, seqlen 2048 | 0.489 | 0.249 |
| bf16 hdim 128, batch 1 x 16 heads, seqlen 8192 | 15.61 | 8.70 |
| LTX (bf16, 32 heads, hdim 128), seqlen 6630 | 20.74 | 11.81 |
| LTX (bf16, 32 heads, hdim 128), seqlen 15300 | 110.3 | 61.2 |
Diffusion workloads (LTX, Wan, SD 3.5, Qwen-Image, Hunyuan, Flux.2) lost
10-60% of wall time with 0.14b; this recovers it.
gfx1100, Backward
0.14b's backward was up to ~3x slower than 0.13b at short sequence lengths.
0.15b starts from 0.13b's tables (plus the #267 forward cells) and retunes
on top of them. Median ms, the 0.13b-based tables vs 0.15b:
| dtype | hdim | seqlen | 0.13b-based | 0.15b |
|---|---|---|---|---|
| fp16 | 64 | 2048 | 5.15 | 5.16 |
| fp16 | 64 | 4096 | 9.56 | 9.43 |
| fp16 | 128 | 128 | 4.82 | 3.19 |
| fp16 | 128 | 2048 | 18.47 | 17.69 |
| fp16 | 128 | 4096 | 35.03 | 32.65 |
| bf16 | 128 | 512 | 11.39 | 7.69 |
| bf16 | 128 | 2048 | 20.19 | 17.09 |
Bottom-Right Aligned Sliding Windows (VarlenBits::principal_diagonal_choice)
AOTriton measures numeric sliding windows from the top-left diagonal, while
flash-attention measures them from the bottom-right one. Dense callers can
shift the window on the host, but under varlen the shift differs per
sequence, so bottom-right numeric windows were not expressible
(pytorch/pytorch#201930).
VarlenBits::principal_diagonal_choice (bit 18) selects the diagonal per
call (#268):
VarlenPrincipalDiagonal::TOP_LEFT(0, default) keeps the previous
behaviorVarlenPrincipalDiagonal::BOTTOM_RIGHT(1) follows flash-attention: a
numeric window becomesL = wl - d,R = wr + dwith
d = seqlen_k - seqlen_qtaken per sequence- Sentinel windows (causal masks) are never shifted
PyTorch uses it to fix pytorch/pytorch#203417 (numeric sliding windows
aligned top-left on ROCm). See docs/Generalized Sliding Window Attention.md
for the semantics and how to reproduce flash-attention's masks.
Human-Readable Tuning Database
The tuning database is no longer shipped as sqlite archives (5.5 MiB binary)
but as git-diffable text files (1.1 MiB), so tuning changes can be reviewed
as diffs and submitted incrementally (#257). The format is specified in
docs/Human Readable Tuning Database Format.md:
amd/<arch>/<iface>.txtdbtensor files, one block per functional, with
run-length encoding<iface>.<NNNN>-<name>.dbpatchfiles hold only the cells that differ, and
apply in numeric order#! basereferences another architecture's table (not a symlink, which
breaks on Windows)- Replaces
AOTRITON_TUNING_DATABASE_REUSE
- Replaces
All 0.15b database fixes above ship as .dbpatch layers.
Major Changes from Release 0.14 Beta
API Changes
VarlenBits::principal_diagonal_choice(#268)attn_fwd_params::kVersion4 -> 5,attn_bwd_params::kVersion7 -> 8- 0.14b callers are translated with
TOP_LEFT; a 0.14b params struct with
bit 18 set (reserved there) is rejected withhipErrorInvalidValue
GPU_AMD_ARCH_GFX1250_STRICT_MOD0for runtimes that report
gfx1250-strict(#264)
GPU Targets
- Experimental: gfx1170 and gfx1171 added (#241)
- gfx1152/gfx1153 now use gfx1151's tuning instead of gfx1100's (#257)
- gfx1150/gfx1151 use their own tuning, as
.dbpatchlayers over gfx1100
(#257)- The previous reuse map silently preferred gfx1100's rows
- Tech preview: gfx1250 and gfx1250-strict, built with
triton==3.9.0from
PyPI and a tuned database (#264)
Triton Compiler and Databases
- gfx1100-gfx1103 build with
triton==3.9.0(#270); other arches keep
their 0.14b pins - Tuning database fixes for gfx950 and gfx1100, see
Performance Regression Fixes (#267, #270)
Kernel Bug Fixes
bwd_kernel_fuse: fix NaN or zeroed gradients forsm_scale<= 0 (#245)- gfx1201
flyc: round P to nearest instead of truncating to bf16 (#266)- Truncation biased O low; bf16 dQ at
head_dim>= 128 was ~6x less
accurate than on gfx1151. Max dQ error drops from 4.4-7.5e-3 to
0.97-1.23e-3
- Truncation biased O low; bf16 dQ at
attn_fwd: the early-exit zero store is bounded byHdim_vo, not
BLOCK_DMODEL(#268)
Build Changes
- BREAKING
--database_root/AOTRITON_TUNING_DATABASE_ROOTrenamed
--external_tuning_database/AOTRITON_EXTERNAL_TUNING_DATABASE(#257) - ROCm installed through TheRock is found without setting
ROCM_PATHor
CMAKE_PREFIX_PATH, viarocm-sdk(#258)- Resolution order:
ROCM_PATH->rocm-sdk path --root->/opt/rocm - Configuration stops with
rocm-sdk's own error when it is onPATHbut
fails
- Resolution order:
- Fix the Win32 build by removing
AOTRITON_APIfromutil.h(#258) - Fix builds without
NDEBUG(e.g. noCMAKE_BUILD_TYPE), which failed on
a missing<iostream>(#262) AOTRITON_TRITON_WHEEL_PEP508takes any pip requirement; altwheel YAML
entries accept{pep508: <req>}(#264)
pgDEF and Perfmon
- pgDEF: the distributed execution framework of Tuner v3.5 is extracted
intoaotriton.pgdef, an application-independent framework on PostgreSQL
(#252). The tuner is ported onto it as its first application.- CAVEAT: no migration path. The tuning database schema changes
completely; re-initialize the work directory - BREAKING
.tunescripts require--category <app>[,<sub category>],
andpython -m aotriton.tune.dispatchrequires--pool(or--arch) - Claimed tasks have a lease, so restarting a worker no longer leaves its
tasks stuck inrunning - Idle connections get TCP keepalives, and CPU handlers retry once after a
lost connection, which used to lose result rows (#270) - See
docs/Distributed Execution Framework.mdfor the design
- CAVEAT: no migration path. The tuning database schema changes
- Perfmon: the second pgDEF application, which measures the public flash
operators of released builds end to end (#261)- Each entry is timed through the unforced operator (what users get) and
through the operator forced to each backend. A forced backend that beats
the operator's own choice is a fault in the tuning database - Inputs are sized to fill the GPU: 704 synthetic entries plus 10 shapes
from regression reports (roberta-large, bert-large-uncased,
distilbert-base-uncased, gpt2) - Results are committed to
modules/flash/perfdb/as a human-readable
performance database, with data for 0.12.1b, 0.13b and 0.14.2b on
gfx942, gfx90a, gfx1201 and gfx1100 python -m aotriton.perfmon.perfdb compare <tag> <tag>compares
releases; perfmon reproduced the gfx950 BERT-family and gpt2 regressions
fixed in this release
- Each entry is timed through the unforced operator (what users get) and
.tune/is split into.def/(shared),.tune/and.perfmon/; the WebUI
gains a perfmon page (#261)
Minor Changes from Release 0.14 Beta
python -m aotriton.unaks2lists and extracts kernel images from.aks2
archives (#256)docs/attention-kernel-numerical-error-lessons/: 16 numerical mistakes of
the Triton attention kernels, with fixin...
AOTriton 0.14.50 Tech Preview
Based on AOTriton 0.14.2b, with gfx1250 specific fixes.
AOTriton 0.14.2 Beta
CRITICAL ATTENTION KERNEL BUG FIXES OVER 0.14b
- flyc gfx950 kernel baked scaling factors to in-register fp16/bf16 Q tensor,
losing precision in proportion tosm_scale * sqrt(head_dim).- This is a known problem to Triton kernel and was fixed in AOTriton 0.7.1b.
- Triton backward kernels mishandle scaling factor, which would produce NaN for
non-positive scaling factors
The following sections are the original 0.14b release notes, with updated performance numbers.
Overview
AOTriton 0.14 is a feature release in the maintenance-feature cadence
introduced in 0.13: it synchronizes Triton with upstream, adds kernel features,
and updates the tuning database.
Headline changes:
FlyDSL SDPA Kernel Ship as the flyc backend
- Available for gfx950/gfx1201
- Feature Parity with Triton kernel
Gfx950 Performance Boost from 0.13b
d_head |
fwd non-causal | fwd causal | bwd non-causal | bwd causal |
|---|---|---|---|---|
| 16 | 190.22 -> 281.60 (+48%) | 112.99 -> 264.19 (+134%) | 182.33 -> 235.04 (+29%) | 148.20 -> 213.27 (+44%) |
| 32 | 504.22 -> 524.55 (+4%) | 362.20 -> 486.40 (+34%) | 346.44 -> 444.47 (+28%) | 181.91 -> 448.87 (+147%) |
| 48 | 264.04 -> 550.03 (+108%) | 261.12 -> 491.72 (+88%) | 132.04 -> 122.59 (-7%) | 93.13 -> 123.92 (+33%) |
| 64 | 766.14 -> 702.96 (-8%) | 541.01 -> 647.96 (+20%) | 352.41 -> 575.62 (+63%) | 236.42 -> 512.58 (+117%) |
| 80 | 513.93 -> 553.47 (+8%) | 361.59 -> 501.04 (+39%) | 118.29 -> 139.90 (+18%) | 103.03 -> 143.44 (+39%) |
| 96 | 691.68 -> 779.73 (+13%) | 515.01 -> 727.48 (+41%) | 282.85 -> 572.99 (+103%) | 243.93 -> 314.80 (+29%) |
| 128 | 935.18 -> 954.24 (+2%) | 626.29 -> 833.67 (+33%) | 287.56 -> 313.02 (+9%) | 285.44 -> 313.63 (+10%) |
| 160 | 682.18 -> 769.90 (+13%) | 543.54 -> 635.24 (+17%) | 279.08 -> 497.56 (+78%) | 279.70 -> 468.14 (+67%) |
| 192 | 565.78 -> 772.51 (+37%) | 579.85 -> 628.40 (+8%) | 293.93 -> 540.77 (+84%) | 294.18 -> 478.10 (+63%) |
| 224 | 523.02 -> 798.72 (+53%) | 541.90 -> 650.04 (+20%) | 188.06 -> 408.00 (+117%) | 213.46 -> 333.53 (+56%) |
| 256 | 577.49 -> 805.72 (+40%) | 576.41 -> 623.51 (+8%) | 265.44 -> 534.89 (+102%) | 261.40 -> 342.45 (+31%) |
| 384 | 99.28 -> 248.74 (+151%) | 88.67 -> 233.98 (+164%) | 59.02 -> 50.69 (-14%) | 58.79 -> 50.84 (-14%) |
| 512 | 345.45 -> 489.85 (+42%) | 364.06 -> 375.48 (+3%) | 160.84 -> 298.87 (+86%) | 154.53 -> 306.42 (+98%) |
d_head=512 is measured with sq/sk=8192.
Geomean over all 100 points: forward 1.41x, backward 1.46x, overall 1.44x.
Gfx1201 Performance Boost from 0.13b
d_head |
fwd non-causal | fwd causal | bwd non-causal | bwd causal |
|---|---|---|---|---|
| 16 | 43.08 -> 57.04 (+32%) | 26.24 -> 50.94 (+94%) | 34.65 -> 40.28 (+16%) | 33.86 -> 33.33 (-2%) |
| 32 | 56.29 -> 69.99 (+24%) | 38.12 -> 67.55 (+77%) | 43.49 -> 53.53 (+23%) | 41.44 -> 49.29 (+19%) |
| 48 | 58.01 -> 72.87 (+26%) | 40.39 -> 71.34 (+77%) | 38.82 -> 51.54 (+33%) | 39.26 -> 49.58 (+26%) |
| 64 | 65.35 -> 89.19 (+36%) | 53.33 -> 78.17 (+47%) | 45.98 -> 59.36 (+29%) | 44.20 -> 56.26 (+27%) |
| 80 | 61.92 -> 92.67 (+50%) | 43.89 -> 87.98 (+100%) | 40.19 -> 56.40 (+40%) | 41.00 -> 53.24 (+30%) |
| 96 | 64.22 -> 91.62 (+43%) | 47.41 -> 86.75 (+83%) | 39.31 -> 57.80 (+47%) | 40.55 -> 55.25 (+36%) |
| 128 | 69.26 -> 80.30 (+16%) | 49.10 -> 78.54 (+60%) | 37.94 -> 57.24 (+51%) | 40.48 -> 52.91 (+31%) |
| 160 | 65.03 -> 85.88 (+32%) | 50.33 -> 79.92 (+59%) | 25.01 -> 48.88 (+95%) | 27.80 -> 47.44 (+71%) |
| 192 | 61.45 -> 54.91 (-11%) | 47.12 -> 46.93 (-0%) | 26.62 -> 45.71 (+72%) | 27.17 -> 44.61 (+64%) |
| 224 | 43.19 -> 84.08 (+95%) | 39.55 -> 81.23 (+105%) | 17.65 -> 39.50 (+124%) | 20.58 -> 37.90 (+84%) |
| 256 | 50.95 -> 84.32 (+65%) | 43.95 -> 80.61 (+83%) | 20.51 -> 45.45 (+122%) | 24.27 -> 29.95 (+23%) |
| 384 | 13.23 -> 19.93 (+51%) | 13.20 -> 19.55 (+48%) | 6.43 -> 5.86 (-9%) | 6.79 -> 6.09 (-10%) |
| 512 | 28.44 -> 20.19 (-29%) | 27.66 -> 19.73 (-29%) | 10.51 -> 26.58 (+153%) | 10.75 -> 28.12 (+162%) |
d_head=384/512 is measured with sq/sk=8192 due to VRAM limits.
Geomean over all 98 measured points: forward 1.47x, backward 1.45x, overall
1.46x.
VarlenBits supersedes VarlenType
VarlenBits massively expands the expressibility of specifying varlen inputs:
users can now configure sequence accessing independently for Q and K, along
three choice axes:
- Input tensor shape is BHSD or 1THD
- Certain varlen inputs are not stacked (
T) but padded toSuniformly
- Certain varlen inputs are not stacked (
- Sequence lengths are uniform, given as cumulative sums, or specified
individually by an array - Sequence offsets are uniform, re-used from the cumulative sums above, or
specified by a second array
Concretely, VarlenBits is defined as (abridged from
include/aotriton/flash.h):
struct VarlenMode { // one side's three axes, one byte
uint8_t stacked : 1, length : 2, position : 2, reserved : 3;
};
struct alignas(uint32_t) VarlenBits {
VarlenMode qmode; // bits 7:0 -- Q and K decode independently,
VarlenMode kmode; // bits 15:8 so mixed addressing is expressible
uint16_t lse_layout : 2; // bits 17:16
uint16_t reserved : 14; // bits 31:18
};The extra lse_layout enables both HT and TH memory layouts for the LSE
tensor.
API BREAKING, BUT ABI STABLE. AOTriton has no plan to promise
source-level compatibility, due to the maintenance cost. However, AOTriton
begins delivering ABI compatibility with 0.14b. Applications targeting 0.13b
can upgrade to 0.14b as a drop-in replacement (note that aotriton.images
needs to be replaced in this process as well). The library automatically
translates passed-in 0.13b params structs to 0.14b.
Full Modularization
The source tree is fully modularized: everything flash-specific now lives
under modules/flash/.
pip install . at the root of the source tree installs the Python package
aotriton into the environment, which serves as the family-neutral toolchain
that transforms Triton/FlyDSL kernels into a C++ library with precompiled GPU
kernels.
pytest-gpu-lease: one GPU per pytest-xdist worker
A standalone pytest plugin (#215, #223), shipped in-tree but useful to anyone
running GPU tests under pytest-xdist:
pip install ./python/pytest-gpu-leaseIt activates through the pytest11 entry point — no conftest.py wiring.
Each worker leases exactly one GPU through fcntl byte-range locks on a shared
lock file, and tests take it from the gpu_id (int) or gpu_device
('cuda:3') fixture. Set GPU_LEASE_PIN to bypass leasing and pin every
worker to one GPU instead.
The optional watchdog monitors the heartbeat timestamp each pytest-xdist
worker writes into the lock file, and terminates a worker that stops making
progress with a SIGTERM-then-SIGKILL escalation, separated by a grace period.
Monitoring out-of-process sidesteps the limits of in-process stall detection
like pytest-timeout, whose SIGALRM only takes effect at the next bytecode
boundary — which a thread parked in a blocking HIP call never reaches.
export GPU_LEASE_LOCKFILE=/dev/shm/gpu_lease.$$ # both sides must agree
python -m pytest_gpu_lease.watchdog --lockfile "$GPU_LEASE_LOCKFILE" --workers 4 &
pytest -n 4 ...Major Changes from Release 0.13 Beta
API Changes
- BREAKING
VarlenTypeis replaced byVarlenBits(#222).- Spells configurations the enum could not: mixed per-side addressing,
seqused_kon a packed KV cache, and TransformerEngine's(T, H)
logsumexp layout (VarlenLseLayout::TH; default staysHT). - Covers
torch.nn.attention.varlen.
- Spells configurations the enum could not: mixed per-side addressing,
- ABI backward compatibility is now formally supported (#222).
- Backends of the
flashmodule now have names (#230).- For use with
attn_options.force_backend_index. - Declared in the new generated public header
<aotriton/flash/backends.h>.OpAttnFwdBackend/OpAttnBwdBackendconstants.
- Also exposed under
pyaotriton.v3.flashfor the Python testing API.
- For use with
FlyDSL / flyc Backend (new)
- gfx1201 and gfx950 SDPA kernels developed in FlyDSL are vendored under
modules/flash/flyc/, cross-compiled ahead of time by
python/flyc_compile.py, and packed intoaotriton.images(#227, #230). - Operator tuning now probes
flyc; the shipped operator database selects it
for gfx950/gfx1201 training and inferencing on non-fp32 inputs (#239). - 0.14b must not be built from the released
flydsl==0.3.1wheel — upstream
LLVM miscompiles register spills and produces wrong kernels rather than
absent ones..ci/build_llvm_tarball.shand.ci/build_flydsl_wheel.sh
build the pinned LLVM and the compiler wheel from source; the pins live in
third_party/flydsl-{compiler,kernel,llvm}.txt(#234).
Triton Compiler and Databases
- Triton bumped to ROCm/triton
release/internal/3.8.x(3.8.0,aa3cf1a1). - AITER ASM kernels bumped to v0.1.22 (#238), including the backward
odo
argument ABI change — the vendored dispatchers and the pin move together. - Kernel tuning database fully re-tuned for gfx950 and gfx1100;
gfx90a/gfx942/gfx1201 validated against the level-3 UT (#239). - Operator tuning database updated for gfx950/gfx1201 (#239).
- Partial gfx1150/gfx1151 flash databases for
hdim=64,dropout=0.0
(#200) —attn_fwdaverages 61–76% faster than the default configuration.
Kernel Bug Fixes
AOTriton 0.14.1 Beta
PLEASE USE 0.14.2 BETA, THIS RELEASE HAS KNOWN KERNEL BUGS
AOTriton 0.14 Beta
PLEASE USE 0.14.2 BETA, THIS RELEASE HAS KNOWN KERNEL BUGS
[Tech Preview] Mini GFX1250 tuning database + AOTriton 0.13b
Overview
This is a Tech Preview built from Internal Triton Compiler, with validated mini tuning database for gfx1250 that passes all test_transformers.py tests in pytorch 2.11 on real hardware.
What's Changed
- Tech Preview: 0.13.50 with concrete gfx1250 tuning database by @xinyazhang in #204
Full Changelog: 0.13b...0.13.50tp
AOTriton 0.13 Beta
Overview
To match the latest PyTorch release cycle
(released every other month), AOTriton has shifted to a maintenance-feature
release model, i.e., within four months AOTriton will make:
- A maintenance release, which ships changes without changing the compiler
and tuning database - A feature release, which synchronizes Triton with upstream, adds features
to kernels, and updates the tuning database.
Specific to AOTriton 0.13: this is a maintenance release, with no Triton
compiler or database changes.
Major Changes
- AOTriton Template Instantiation (ATI)
- Separation of the code generator from the kernel and build rules
- Now
pythonwill be installed as theaotritonpackage in the venv
for code generation- Conceptually the
aotritonpackage could be considered a "compiler"
that translates JIT kernels to the relevant AOT source code and
kernel build rules - Related unit tests can be found at
python/test
- Conceptually the
- Triton kernel and build rules are migrated to
modules/<family>/
directories
- All
.aks2files are now stored in uncompressed zip containers,
keeping their names inside the archive instead of exposing them to the
file system- Previously the AKS2 file names had to avoid special characters to stay
compatible across many layers, including but not limited to 1) the
Win32 API and 2) Bash/Perl/Python tooling, which may not handle
special characters well - Now that the names live inside the container, this restriction is
lifted and the AKS2 naming scheme is changed to a more human-readable
format, for example:
Q='*fp16:16';BLOCK_DMODEL=16;PADDED_HEAD=False;ENABLE_DROPOUT=False;CAUSAL_TYPE=0;BIAS_TYPE=0
- Previously the AKS2 file names had to avoid special characters to stay
- A performance visualization tool is added to the AOTriton dashboard
- See Performance Visualization for a screenshot
- Proper Win32 support
- Full Unicode path support
- Dropped
dlfcn-win32, whoseGetModuleFileNameAis inherently
non-Unicode;dladdris reimplemented withGetModuleHandleExW
andGetModuleFileNameW
- Dropped
- Replaces
intptr_twith typedeffd_tforint/HANDLE
- Full Unicode path support
- Add debugging facility, enabled with
AOTRITON_DEBUG_LEVEL - Enable ASAN Build with
TRITON_ENABLE_ASAN=1+ TheRock Clang- ASAN packages are released with the
+asanversion suffix, e.g.,
aotriton-0.13b+asan-images-amd-gfx942.tar.gz
- ASAN packages are released with the
- Add gfx1250 Tech Preview Build
- Announced by
isArchTechPreview - Unreleased hardware will not be announced by
isArchExperimentallySupportedfor wider enablement and testing.
- Announced by
Minor Changes
- Remove legacy
v2python/v2srcdirectories - Update
.claude/agents/prwriter.mdto write more concise PR messages.
Performance Visualization
(Exact numbers are masked per the Performance Disclosure Policy)

What's Changed (Auto-generated)
- Remove Legacy Code and Files by @xinyazhang in #174
- test/attn_torch_function: reset persistent atomic tile counter between is_testing pre-flight and real attn_fwd by @mgehre-amd in #180
- Use SHA-256 file names by @xinyazhang in #176
- Group AKS2 files into uncompressed ZIP archive by @xinyazhang in #177
- Performance Visualization by @xinyazhang in #178
- AOTriton Template Instantiation by @xinyazhang in #186
- Rewrite Agent File prwriter.md by @xinyazhang in #189
- Support Windows wide paths for packed kernels by @jammm in #184
- test(ati): add ATI unit tests under python/test/ati/ (193 tests) by @xinyazhang in #190
- Logging with AOTRITON_DEBUG_LEVEL by @xinyazhang in #192
- Port gfx1250 and TheRock ASAN Support to Mainline by @xinyazhang in #182
New Contributors
- @mgehre-amd made their first contribution in #180
Full Changelog: 0.12b...0.13b
AOTriton 0.12.1 Beta
Overview
This is a point release with extra CPU+GPU ASAN packages, and gfx1250 GPU images.
Other GPU image tarballs are copied from 0.12b release directly.
Major Changes from Release 0.12 Beta
- Experimental CPU+GPU ASAN support
- C++ Compiler: TheRock Clang
- Only gfx942 and gfx950 are built.
- PyTorch integration builds cleanly; tests unvalidated
+asanis added as suffix of version numbers for asan build
- Experimental gfx1250 support
- Unlike other experimental architectures, gfx1250 is not traced by
isArchExperimentallySupported()
broader tests without settingTORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 isArchTechPreview()is added to track this situation
- Unlike other experimental architectures, gfx1250 is not traced by
(Auto-generated Release Notes)
What's Changed
- 0.12.1b: asan+gfx1250 support by @xinyazhang in #191
Full Changelog: 0.12b...0.12.1b
[Tech Preview] GFX1250 support + AOTriton 0.12b Rev 2
What's Changed
- [Tech Preview] Initial GFX1250 support Rev.2 by @xinyazhang in #187
Full Changelog: 0.12.50tp...0.12.50tp2
[Tech Preview] GFX1250 support + AOTriton 0.12b
Overview
This tech preview adds gfx1250 support and move it out of experiment status without testing.
All other GPU image tarballs are identical to 0.12b release.
What's Changed
- [Tech Preview] Initial GFX1250 support. by @xinyazhang in #185
Full Changelog: 0.12b...0.12.50tp