Repository navigation
Highlights
- Ascend 950 PTO backend and VMI vectorization (#3310, #3516, #3512, #3485, #3678): add
target="pto"withtvm_ffiexecution by default,T.vmivirtual machine instructions with automaticT.Parallelvectorization insideT.SimdVF, independent AIV execution, shared scalar (SS) storage, exact on-chip buffer placement, and scheduled FlashMLA kernels. - Expanded CuTeDSL backend (#3685, #3772, #3868, #3875): support cluster TMA (
multicast,gather4,scatter4), SM120/SM121 block-scaled MMA, FP8 arithmetic and sparse WGMMA/MMA, Philox4x32-10 RNG,T.alloc_global, explicit-width loads/stores, warp vote/match intrinsics, andsm_103a/sm_107atargets, alongside per-launch cooperativesync_gridbarriers. - Scalable JIT, multi-root caching, and NVRTC on
tvm_ffi(#3903, #3807, #3756, #4511, #3285): add process-basedpar_compile(..., executor="process"), ordered multi-root cache lookup viaTILELANG_CACHE_DIR, SGID group-readable shared cache entries, toolchain-aware kernel/binary cache keys, and NVRTC device compilation undertvm_ffi(tl.cuda_compiler="nvrtc"). - Host-mapped buffers, CUDA hardware intrinsics, and reduction/GEMM optimizations (#3802, #3909, #3490, #3605, #3714, #3715, #3692, #3430, #3286): add zero-copy
T.annotate_host_mapped_bufferson CUDA and Ascend, CUDA L1/L2 prefetching andT.clamp_symmetric, round-to-nearest-even TF32 casts, single-round cross-warpAllReducewithredux.sync, and SM120/SM121 block-scaled GEMM improvements. - ROCm and CPU backend advances (#3729, #3549, #3665, #3109, #4389): add
gfx1200linear shared layouts for FP16/BF16 WMMA, pip-SDK ROCm 10 support, HIPE8M0and alignedFP4casts, DeepSeek NSA/mHC and safe-gated KDA examples, and OpenMP grid-loop parallelization (tl.cpu_parallel) on CPU.
Ascend 950
- Add
target="pto"for Huawei Ascend 950 withtvm_ffias the default execution backend, while retainingexecution_backend="pto"for the legacy Cython launcher (#3310, #3316, #3516). - Add
T.vmivirtual machine intrinsics and vectorizeT.Parallelloops insideT.SimdVFto PTO VMI, while preserving legacy explicit SIMD parallel loops (#3512, #3793, #3796, #3894). - Support independent AIV sub-core execution in
AutoSchedule,T.alloc_ssshared scalar storage, exact on-chip byte-address placement (T.annotate_buffer_addresses), andwrite_countermulti-buffering (#3485, #3514, #3607, #3629). - Support explicit host-mapped buffer parameters (
T.annotate_host_mapped_buffers) acrosstvm_ffiand Cython (#3909). - Support batched 3D GM-to-L1
ND2NZcopies, partial L0 copies with explicitl0_pitch, partial UB-to-L1 copies forNZbuffers, and independent layouts across buffer-view aliases (#3689, #3511, #3530, #3623). - Tighten
AutoScheduleperiod lower bounds, propagate dependency distances as ranges inInsertSync, and remove the redundant Z3 scheduler lock (#3776, #4486, #3812). - Add
TILELANG_ASCEND_PROFILEhost-to-device profiling correlation,aclrtDeviceL2CacheFlushbenchmark cache flushing,tl.emit_line_directivesin AscendC codegen, andTILELANG_CLEANUP_TEMP_FILES=0support in the Bisheng wrapper (#3321, #3516, #3891, #3447, #3461). - Add scheduled FlashMLA prefill/decode kernels,
FP4 x FP4DeepGEMM examples with unified heuristics/epilogues, and selectable targets across Ascend examples (#3678, #3589, #3577, #3474). - Fix
SimdVFmulti-rowdim=1reductions and multi-bufferedT.fill, multi-group cross-warpAllReduce,mode=0cross-core sync batch mode, grouped GM-to-L1 OOB padding, scalarsqrt/rsqrtoutside VF scopes, RNG resets across kernels, periodic buffer lifetimes, and access-region analysis (#3437, #3455, #3494, #3614, #3543, #3466, #3331, #3606, #3624, #3625, #3627, #3686, #3805, #3890). - Fix PTO
while-loop branch scalar inputs, signed integer atomics andwarp_reduce_max/min, SIMT vector local buffers, typed vectorRampemission,boolx256mask initialization, and exponential MAD-direction predicate growth (#4418, #3792, #3794, #3582, #3523, #3535, #4390, #3581, #3469, #3330).
See the Ascend 950 guide for AscendC and PTO usage details.
CUDA and CuTeDSL
- Add
T.annotate_host_mapped_buffersfor zero-copy host-mapped tensor parameters,T.prefetch_l1/T.prefetchu_l1/T.prefetch_l2with optional eviction policies,T.clamp_symmetric(min.NaN.xorsign.abs, SM86+), round-to-nearest-even TF32T.cast(..., round="rn"), and per-launchname=onT.Kernel/T.ClusterKernel(#3802, #3490, #3605, #3714, #3816). - Support NVRTC device compilation under
tvm_ffiviatl.cuda_compiler="nvrtc", enable NVRTC line info by default, and fix CUDA 13 NVRTC programmatic dependent launch (PDL) compilation (#3285, #3685). - Collapse cross-warp
AllReduceinto a single shared-memory exchange round and useredux.syncfor eligible full-warp reductions (#3715, #3692). - Enable SM120 block-scaled MMA on SM121 (
GB10), and unroll K atoms with per-atom shared scale packing for SM120 register-A block-scaled GEMM (#3430, #3286). - Complete 16-bit inverse and binary math overloads (
asin,acos,asinh,acosh,atanh,log1p,atan2,hypot,copysign,ldexp,nextafter), emit packed FP16/BF16 vector comparisons, and optimize vectorizedBF16 -> FP32conversions (#3172, #3303, #3595). - Fix pure-TMA producer barrier arrivals under warp specialization, bulk TMA load cache hints, constant row indices in TMA gather/scatter, validated TMA descriptor recording, and shared-region offsets in LDSM copies (#3503, #3683, #3365, #3484, #3441).
- Support
uint8sparse GEMM operands and signed/narrow integerpopcount; fixint64atomic_max/minandAtomicStore, nested predicatedLDG, 256-bitfloat32x8broadcasts, NVFP4UE4M3NaN scale decoding, and non-finite FP8/FP4 reduction constants (#3297, #3300, #3307, #3390, #3748, #3334, #3189). - CuTeDSL: add cluster TMA, SM120/SM121 block-scaled MMA, FP8 arithmetic, FP8/
u8mma.sp::ordered_metadataand sparse WGMMA, Philox4x32-10 RNG,T.alloc_global, explicit-width loads/stores, NaN-propagatingmin/max, 8-bitstmatrix, warp vote/match/bit-search intrinsics, andsm_103a/sm_107aTMA support (#3685, #3772). - CuTeDSL: synchronize
sync_gridon per-launch cooperative grid workspaces, preserve unsigned buffer element types and signed integer truncating division, zero-fill predicatedcp.async, and handle participating thread offsets in scans (#3400, #3868, #3875, #3551, #3685, #3576). - Add the DeepSelect Top-K example, fix candidate buffer overflow in the DeepSeek V3.2 Top-K selector, optimize GLM-5.3 K-pool Hadamard barriers, and adapt attention examples to 99 KiB shared-memory budgets on
sm_86/sm_89/sm_120(#3304, #3280, #3419, #3702, #3845).
Language and Compiler
- Expose per-kernel Z3 resource budgets via
arith.z3_rlimit(default100,000) and update TVM with Z3 fixes for constant signed right shifts, low-bit masks, truncated div/mod, andCodegenClet-binding state (#3752, #4422, #4482). - Make
LayoutandFragmentown bound placeholderVars and preserve bindings across FFI serialization (#4410, #4416). - Extend
tl.emit_line_directivesandTILELANG_EMIT_LINE_DIRECTIVESwith level>= 2per-line#lineanchoring, preserve eager Python source spans, reuse@T.macroAST transformation templates, and emitpragma_import_cpayloads after backend headers (#3703, #3558, #3760, #3289). - Preserve wide integer predicates in vote/sync intrinsics, run
T.ws(-1)across all threads, preserve scalar bit widths inT.view, coerceT.Parallelcoalesced_widthtoIntImm, and fixinterleave_weight1/2-bit masks (#3777, #3354, #3382, #3374, #3140). - Prevent double expansion of shared buffers across sibling
T.Pipelinedloops, preserve transitive pipeline copy dependencies across thread domains, unroll runtime-trip pipeline epilogues, and fix warp-specialized prelude placement and sharedT.cumsum(#2342, #2822, #3356, #3685, #3536). - Keep partial-sync barrier IDs unique across storage scopes while reusing proven dense barriers, treat
T.address_ofconservatively as read/write inThreadSync, respectForloop steps, detect same-iteration cross-thread shared WAW conflicts, preserve_handle-suffixed non-restrict buffers, and mark barecall_externdata vars as written (#3643, #3761, #3346, #3427, #2821, #3366, #2618). - Fix vectorization for nonzero loop minima, skipped or condition-cast widths, scalar read index coefficients,
int64index-promotion casts, analyzer cloning, and post-partition bindings (#3579, #3734, #3759, #3453, #3429, #3612, #3226). - Preserve empty stepped loops during unrolling, fall back to full waits for non-constant
cp.asyncwait depths, exclude-0.0from async-copy zero-fill matching, guard batchedAllReducethread ranges, complete batchedfinalize_reducerlowering, supportkeep-dimdestinations in fragment reductions, and skip unreachable branches inLegalizeNegativeIndex(#2887, #3547, #3343, #3341, #3070, #2815, #3712).
ROCm and CPU
- ROCm: support linear shared layouts for
gfx1200FP16/BF16 WMMA, pip-SDK ROCm 10 architecture detection andDockerfile.rocm10, active-device auto-target detection, andgfx950/ Wave64 scan dispatch (#3729, #3549, #3594, #2326). - ROCm: fix
float -> FP4casts, printFP4constants, addE8M0matching CUDA's upward power-of-two rounding, and fix ties-to-evenT.round(#3665, #3548, #3299). - ROCm: pass
compile_flagsandtl.device_compile_flagstohipcc, addoccupancy_reporttohip_resource_info, skip LDS workspaces for single-wavefront reductions, and clarifyT.gemmsmall-tile diagnostics (#3954, #3958, #3959, #3956). - ROCm: reuse already-loaded
libamdhip64runtimes in HIP stubs and returnhipErrorNoDevicegracefully when HIP is absent (#3899, #4422). - ROCm: add DeepSeek NSA forward/decode, DeepSeek mHC pre/post, safe-gated KDA decode, and feasible flash-decoding tile selection (#3152, #3156, #3249, #3149).
- CPU: support opt-in OpenMP grid-loop parallelization (
tl.cpu_parallel,tl.cpu_parallel_min_trip, andT.Kernel(..., cpu_num_threads=...)), serialany_of/all_oflowering, and target-region clearing in scalar GEMM (#3109, #4389, #3709).
Runtime, Build, and Tooling
- Add process-based parallel compilation via
tilelang.par_compile(..., executor="process")(#3903). - Support ordered multi-root cache lookup in
TILELANG_CACHE_DIR(writing only to the first root), publish SGID group-readable shared cache entries, and include CUDA, Ascend, and PTO toolchain identities in kernel and binary cache keys (#3807, #3756, #3691, #3516, #4511). - Restore the caller's current device after cross-device
tvm_fficalls, raise dynamic shared-memory limits on every device a Cython kernel launches on, allocateout_idxoutputs on caller-supplied launch streams, and honor tensor-device streams in NVRTC and CuTeDSL (#3872, #3882, #3649, #3359). - Support
bfloat16scalar parameters in packed/Cython calls, resolve scalar parameters in output shapes, preserve caller-ownedout_idxlists, variadic lazy-JIT arguments, single-argument NVRTC launches, and parameter identity in NVRTC/CuTeDSL wrappers (#3361, #3602, #3318, #3435, #3880, #3414). - Autotuner and Profiler: compile independent JIT candidates concurrently, add experimental
AutoTuner.run(on_trial=...)structured trial reporting, includecompile_flagsand decorator profiler settings in tuning cache keys, fixset_autotune_inputsdevice alignment and input-tensor reuse, fix NVRTC autotune saves after disk-cache hits, and flush L2 caches with read-only operations (#3476, #3393, #3338, #3337, #3546, #3415, #3193, #3534, #3357, #3457, #3486). - Build, Debug, and CI: add Windows ARM64 support, use MSVC as the NVCC host compiler on Windows, publish nightly wheels to GitHub Releases and Huawei Cloud OBS, validate Linux wheels on Ascend NPUs in Dist CI, separate host and device source files in
LowerTrace, and reject non-positive--jobsintilelang.autodd(#2962, #3510, #3315, #4411, #4419, #3496, #3385).
Compatibility Notes
- Revert NaN-propagating
T.clamplowering (#3205) back toT.min(T.max(dst, min_val), max_val)(#3628); usetilelang.cuda.language.clamp_symmetric(x, limit)on CUDA SM86+ when single-instruction NaN-propagating symmetric clipping is needed (#3605). - Reject arch-less CUDA targets (
target="cuda"ortarget="auto"on hosts without a visible GPU) instead of silently falling back tosm_50; specify an explicit architecture such astarget={"kind": "cuda", "arch": "sm_90"}orTILELANG_DEFAULT_TARGET(#2860). - Invalid, incomplete, or corrupted entries in
TILELANG_CACHE_DIRnow raiseValueErrorinstead of being silently treated as cache misses or automatically deleted; remove the affected per-key directory offline to rebuild (#3807). - Do not lower
T.exp,T.log,T.sin,T.cos, and related math operations to fast-math intrinsics by default on ROCm when fast math is disabled; explicitT.__exp,T.__sin,T.__cos, etc. are exported fromtilelang.rocm.language(#3621). - Omit backend/toolchain suffixes (
+cu12x,+rocm,+cpu) from development and Git-checkout package versions by default, and removeNO_TOOLCHAIN_VERSION(#4409). - Remove the unused legacy
tilelang.language.ast,tilelang.language.parser,tilelang.language.tir.entrymodules andtilelang.language.proxy.Refplaceholder; publicT.prim_func,T.macro, andT.Refexports are unchanged (#3736, #3722). - Enforce stricter compile-time validation for out-of-range negative indices (#3347), out-of-bounds sliced
T.fill/T.clearregions (#3352), float sources in bitwise reductions (#3332), sub-byte reduction accumulators (#3189), unhashable compile-time JIT arguments (#3417), non-unit steps inVectorizeLoop(#3345), and unsupported cast rounding, GEMM/MMA tile/dtype, sparse metadata, and vector/SIMT atomic combinations (#3350, #3245, #3439, #2818, #3125, #3335, #3367, #3369, #3465).
What's Changed
- [Ascend] Add PTO backend for Ascend950 by @LLMZhangYC in #3310
- Support bfloat16 scalar parameters by @dajiaohuang in #3361
- [BugFix] Decode the reserved NVFP4 UE4M3 NaN scale code by @173787247 in #3334
- [Chore] merge two identical branches by @y1lan in #3418
- [BugFix][Transform] Preserve explicit casts during index promotion by @kobecai in #3429
- [Fix] Preserve shared region offsets in LDSM copies by @Ethereal49 in #3441
- [BugFix][CUDA] Gate fp8 T.gemm on SM89 instead of trapping at launch by @shuyilinn in #3439
- [CI] [pre-commit.ci] autoupdate by @pre-commit-ci[bot] in #3431
- [Testing][JIT] Remove unsupported BF16 scalar regression by @LeiWang1999 in #3443
- [BugFix][JIT] Preserve variadic arguments when building lazy kernels by @luicarus in #3435
- [BugFix][ROCm] Fix ties-to-even rounding for T.round by @penguin-wwy in #3299
- [CUDA] Emit packed FP16 and BF16 vector comparisons by @sepcnt in #3303
- [BugFix][CUDA] Support uint8 sparse GEMM operands by @KareemMusleh in #3297
- [Bugfix][Quantize] Use plain int masks in interleave_weight special branches by @rishabhsinha17 in #3140
- [BugFix] Keep -0.0 out of the async copy zero-fill matcher by @173787247 in #3343
- [CI] Speed up Windows wheel builds with stable uv environments by @sepcnt in #3315
- [Refactor][CUDA] Split math codegen dispatch by @SiriusNEO in #3449
- [Perf] Reduce K-pool Hadamard barriers and decode validation waits by @ZenAlexa in #3419
- [Ascend] Support tl.emit_line_directives in the AscendC codegen by @tsung-li in #3447
- [BugFix][JIT] Isolate test caches and cover disk cache hits by @voidLitchi in #3450
- [BugFix][CUDA] Preserve enclosing predicates on nested LDG by @adenzhou1350 in #3390
- [BugFix][Profiler] Synchronize validation tensor devices by @dc-tw in #3457
- [Testing][CUDA] Gate nested LDGSTG tests on CUDA support by @LeiWang1999 in #3463
- [BugFix][Autotuner] Restore compatible input tensor reuse by @cyanseek in #3415
- fix(autodd): reject non-positive --jobs instead of hanging by @li-lizhe in #3385
- [CI] Add intent-based CodeRabbit reviewer suggestions by @SiriusNEO in #3456
- [BugFix] Preserve scalar bit counts in T.view by @adenzhou1350 in #3382
- [Ascend][CI] Validate the Ascend job on the self-built CANN 9.3 image by @CeleNewYear in #3458
- [BugFix][CuTeDSL] Elect one grid-barrier leader per block by @adenzhou1350 in #3400
- [BugFix][CUDA] Support popcount for signed and narrow integers by @KareemMusleh in #3300
- [BugFix][JIT] Preserve caller-owned output indices by @ZenAlexa in #3318
- [BugFix][Transform] Respect For loop steps in
thread_storage_syncand codegen by @y1lan in #3427 - [BugFix] Preserve parameter identity in NVRTC and CuTeDSL wrappers by @adenzhou1350 in #3414
- [CUDA] Enable SM120 block-scaled MMA on SM121 by @christopherowen in #3430
- [BugFix][Language] Reject a float source in bitwise reduce by @173787247 in #3332
- [Test] Improve testing infrastructure by @penguin-wwy in #3313
- Reject unsupported GEMM dtype combos before CUDA codegen by @hywosdpl in #3245
- [Ascend] Vendor the PTODSL SIMT allreduce helpers by @liggest in #3469
- [Feature][Autotune] Add opt-in structured trial reporting by @WenzheWang in #3393
- [Maint] Enable CodeRabbit reviewer auto-assignment by @SiriusNEO in #3487
- [Docs] Clarify regression test contribution policy by @SiriusNEO in #3489
- [ROCm] Select feasible flash-decoding tiles by @andyluo7 in #3149
- [BugFix][Transform] Compute exact thread bounds in
thread_storage_syncby @y1lan in #3291 - [ROCm] Support DeepSeek NSA forward and decode by @andyluo7 in #3152
- [BugFix] Honour TILELANG_CLEANUP_TEMP_FILES in the bisheng wrapper by @173787247 in #3461
- fix(ascend): support SimdVF T.fill in multi-buffered regions by @yyyy999 in #3455
- [ROCm] Add safe-gated KDA decode example by @andyluo7 in #3249
- [ROCm] Support DeepSeek mHC pre and post kernels by @andyluo7 in #3156
- [Ascend] Fix cross-warp allreduce mixing independent reduction groups by @liggest in #3494
- [Ascend] Improve PTO codegen for DeepGEMM kernels by @erhsh in #3330
- [Codegen] Share C-like source emission and preserve import boundaries by @jjppp in #3289
- [CPU] Support OpenMP parallel of grid loops by @penguin-wwy in #3109
- [BugFix][Windows] Use MSVC for NVCC by @sepcnt in #3510
- [Test] Optimize testing infrastructure with cached IR traversal by @penguin-wwy in #3502
- [ROCm] Fix scan wavefront dispatch and gfx950 targets by @zhangnju in #2326
- [Ascend] Support independent AIV execution by @AutumnKite in #3485
- [Ascend] Allow selecting target for examples by @erhsh in #3474
- [Chore] Enable CodeRabbit automatic labels for PRs and issues by @SiriusNEO in #3513
- [Test] Eliminate unnecessary compilation time by @penguin-wwy in #3517
- [BugFix][JIT] Reject unhashable compile-time arguments by @luicarus in #3417
- [Ascend] Route PTO execution through PTO codegen by @erhsh in #3316
- [Ascend] Add SS buffer support by @Denverjin in #3514
- [BugFix][Ascend] Store one element per row for SimdVF dim=1 reduce by @sdmyzlp in #3437
- [BugFix][Ascend][RNG] Reset RNG state between device kernels by @liggest in #3331
- [Fix][Pipeline] Prevent double expansion of shared buffers across sibling pipelines by @harelhuang in #2342
- [CUDA][WS] Restrict TMA-only producer in warp 0 by @AkshayM5 in #3503
- [BugFix][Ascend][PTO] Emit Ramp values as typed vectors by @erhsh in #3535
- [Ascend] Support scalar sqrt outside VF scopes by @dangyw18 in #3466
- [BugFix][Ascend] correlate host operators with device kernels in profiling by @yangsichan in #3321
- [CI]: Bump pypa/cibuildwheel from 4.2 to 4.3 by @dependabot[bot] in #3565
- [BugFix][Debug] Separate host and device sources in lower trace by @erhsh in #3496
- [BugFix] Mark bare data vars passed to call_extern as written by @Chennesxu in #2618
- [BugFix][ROCm] Print fp4 (float4_e2m1fn) float constants in HIP codegen by @zhangnju in #3548
- [BugFix] Fix T.cumsum on shared buffers under warp specialization by @samridh10exe in #3536
- [Maint] Add zhangnju as a ROCm CodeRabbit reviewer by @SiriusNEO in #3567
- [BugFix][Autotuner] Forward the decorator's profiler settings to the tuner by @173787247 in #3337
- Add Windows ARM64 support to CI by @chinazhangchao in #2962
- [CI][Ascend] Split build and test steps under one check by @erhsh in #3564
- [CuTeDSL][Scan] Handle participating thread offsets by @LeiWang1999 in #3576
- [Ascend] Support partial L0 copies with explicit pitch by @Denverjin in #3511
- [CI] Pin performance regression to H100 runners by @LeiWang1999 in #3569
- [BugFix] Support keep-dim destinations in fragment reduce by @li-ruinan in #2815
- [BugFix][CUDA] Require explicit K padding for unsupported MMA tiles by @JayceSu98 in #2818
- [BugFix][Transform] Detect cross-thread WAW in shared memory by @JayceSu98 in #2821
- [BugFix][Transform] Respect nonzero loop minima in vectorization by @LeiWang1999 in #3579
- [Ascend][DeepGEMM] Align GEMM heuristics and epilogues by @AutumnKite in #3577
- [BugFix][Ascend] Fix
T.warp_reduce_max/mincompile failure on PTO due to omitting redux signedness by @liggest in #3582 - [BugFix] Reject arch-less CUDA target instead of silent sm_50 (#1049) by @cklxx in #2860
- [BugFix] Validate the (source dtype, destination dtype, round) cast combinations by @173787247 in #3350
- [BugFix][Transform] Preserve transitive pipeline copy dependencies by @JayceSu98 in #2822
- [BugFix][Transform] Preserve empty stepped loops during unrolling by @morluto in #2887
- [CUDA] Optimize vectorized BF16 to FP32 conversion by @LJC00118 in #3595
- Fix incomplete batched finalize_reducer lowering by @jq-wei in #3070
- [BugFix] Preserve eager frontend Python source locations by @Ethereal49 in #3558
- [BugFix][Ascend][PTO] Fix vector local accesses inside SIMT VF by @erhsh in #3523
- [Ascend][PTO] Avoid exponential MAD direction predicate growth by @erhsh in #3581
- [BugFix] Reject non-bijective sm8x sparse metadata shapes by @saiyambharara in #3125
- [Ascend] Support partial UB-to-L1 copies for NZ buffers by @Denverjin in #3530
- [CUDA] Support missing 16-bit inverse and binary math operations by @Chennesxu in #3172
- [BugFix] Avoid stale analyzer bindings after parallel loop partitioning by @sepcnt in #3226
- [Bugfix] Fix candidate buffer overflow in deepseek_v32 topk selector by @liuyun7345 in #3280
- [Transform] Clone analyzer before vectorization rewriting by @sepcnt in #3612
- [Ascend] Preserve complete periodic buffer lifetimes by @Denverjin in #3606
- [Ascend] Add FP4 x FP4 support to DeepGEMM examples by @AutumnKite in #3589
- [BugFix][NVRTC] Fix autotune result saving after kernel disk-cache hits by @Heltion in #3193
- [BugFix][Ascend] Preserve buffer offsets in DMA copies and strided slices by @AutumnKite in #3627
- [Language] Revert NaN-propagating clamp lowering by @LeiWang1999 in #3628
- [Ascend] Promote region bounds before overlap analysis by @Denverjin in #3625
- [BugFix][CUDA] Fix int64 atomic max/min crash and int64/bf16/fp16 crash in AtomicStore by @KareemMusleh in #3307
- [BugFix] Reject a non-unit step in VectorizeLoop by @173787247 in #3345
- [CI][Ascend] Bump Ascend CI image to cann9.3.0-weekly.20261021 by @CeleNewYear in #3630
- [BugFix][ThreadSync] Keep partial-sync barrier ids unique across storage scopes by @lucifer1004 in #3643
- [Ascend] Support exact placement of versioned on-chip buffers by @Denverjin in #3607
- [BugFix][JIT] Resolve scalar parameters in output shapes by @erhsh in #3602
- [Docs] Define PR description guidelines and optional tool disclosure by @LeiWang1999 in #3671
- [CI] Skip backend tests for documentation-only PRs by @LeiWang1999 in #3672
- [Docs] Confirm agent-proposed PR titles by @LeiWang1999 in #3673
- [CodeRabbit] Reduce review noise and improve fix guidance by @LeiWang1999 in #3674
- [CUDA][Reduce] Fix non-finite constants and reject sub-byte accumulators by @saiyambharara in #3189
- [CUDA] SM120 block-scaled register-A GEMM: unroll K atoms and load scales once per atom by @ghostrider0470 in #3286
- [Example] Add DeepSelect Top-K by @sepcnt in #3304
- [BugFix][Layout] Reject an unsupported operand dtype in sm8x sparse metadata by @173787247 in #3335
- [BugFix] Allocate out_idx outputs on the caller-supplied launch stream by @lucifer1004 in #3649
- feat(cuda): support NVRTC device compilation with TVM-FFI by @ZenAlexa in #3285
- [CUDA] Fix cache hints for bulk TMA loads by @LeiWang1999 in #3683
- [Docs] Name the destination element in the atomic reduction examples by @173787247 in #3340
- [BugFix] Run a
T.ws(-1)region on every thread by @173787247 in #3354 - [BugFix] Reject an out-of-range constant negative index by @173787247 in #3347
- [BugFix] Bound a sliced fill by the end of the region, not just its extent by @173787247 in #3352
- [BugFix] Treat an address_of pointer access as a write in ThreadSync by @173787247 in #3346
- [BugFix][Transform] Unroll the epilogue of a pipeline with a runtime trip count by @FeathBow in #3356
- [CI][Ascend] Split AscendC and PTO into separate jobs by @erhsh in #3687
- [Ascend] Allow internal conditionals in PerCoreTask candidates by @AutumnKite in #3686
- [BugFix][Profiler] Use the current CUDA device when no device is specified by @Afloat16 in #3357
- [BugFix][CUDA] Honor tensor-device streams in NVRTC and CuTeDSL by @dajiaohuang in #3359
- Fix constant row indices for TMA gather and scatter by @dajiaohuang in #3365
- [BugFix][Autotuner] Include compile_flags in the tuning cache identity by @173787247 in #3338
- [BugFix][ROCm] Detect the architecture of the current device in auto target by @z1shuu in #3594
- [BugFix][ROCm] Don't lower T.exp, T.sin, and T.cos to fastmath by default on HIP by @jzluo in #3621
- [BugFix][Codegen] Handle non-constant cp_async wait depth by @zhangnju in #3547
- [ROCm] Support pip-SDK ROCm 10 (arch detection + Dockerfile) by @zhangnju in #3549
- [BugFix][CUDA][ROCm] Validate SIMT atomic region shapes by @liuhao-labs in #3465
- [Ascend] Preserve configuration register phases in manual pipelines by @Denverjin in #3624
- [Testing] Compile without the kernel cache where a test inspects compilation by @lucifer1004 in #3695
- [Ascend] Include Bisheng build identity in binary cache keys by @silentCoder-dev in #3691
- Preserve non-restrict buffers with handle suffixes by @dajiaohuang in #3366
- [BugFix] Resolve the thread range for a batched all-reduce by @173787247 in #3341
- Reject sparse MMA K tiles with unhandled tails by @dajiaohuang in #3367
- Reject unsupported atomic_addx4 destination dtypes by @dajiaohuang in #3369
- fix(language): coerce coalesced_width to IntImm in T.Parallel by @Adarsh-mk7 in #3374
- [BugFix] Only record validated TMA descriptor names by @adenzhou1350 in #3484
- [Testing] Route the remaining cache-sensitive tests through without_kernel_cache() by @lucifer1004 in #3696
- [BugFix][Transform] Keep a scalar read's index coefficient out of its lane count by @FeathBow in #3453
- [BugFix][Profiler] Validate output indices consistently by @dc-tw in #3486
- [BugFix][Ascend][OOB] Group GM-to-L1 copies and OOB padding into one task by @liguanglin in #3543
- [Ascend] Preserve buffer view layouts and pointer units by @Denverjin in #3623
- [CUDA] Use redux.sync for eligible full-warp reductions by @SiriusNEO in #3692
- perf(autotuner): compile independent JIT configurations concurrently by @ZenAlexa in #3476
- [CI] Keep ROCm and Metal jobs on compatible PyTorch wheels by @andyluo7 in #3706
- [Ascend][PTO] Vectorize T.Parallel to PTO VMI: pipeline framework and element-wise support by @KurrinQu in #3512
- [Ascend] Add write-counter multi-buffering and reorder DeepGEMM loads by @AutumnKite in #3629
- [Transform] Skip unreachable branches in LegalizeNegativeIndex by @LeiWang1999 in #3712
- [BugFix][CPU] Clear only the target region in scalar GEMM by @penguin-wwy in #3709
- [CUDA] Collapse cross-warp AllReduce into a single shared-memory round by @SiriusNEO in #3715
- [Language] Remove unused Ref placeholders from proxy by @erhsh in #3722
- [ThreadSync] Revert #3291 pending the TIRX migration by @LeiWang1999 in #3733
- [CodeGen] Anchor #line directives per emitted line for accurate debugger mapping by @penguin-wwy in #3703
- [Example] Fit the attention examples in the sm_12x shared-memory budget by @lucifer1004 in #3702
- [Transform] Fix vector widths when cast decoupling is skipped by @LeiWang1999 in #3734
- [Ascend] Add scheduled FlashMLA kernels by @Denverjin in #3678
- Fix/cuda float32x8 bit cast by @KellyFrog in #3748
- [CI] [pre-commit.ci] autoupdate by @pre-commit-ci[bot] in #3758
- [Language] Remove unused legacy TVMScript AST and parser modules by @SiriusNEO in #3736
- [BugFix][Autotuner] Supply
set_autotune_inputstensors on their current device by @liggest in #3546 - [Ascend] Support batched 3D GM-to-L1 ND2NZ copies by @liguanglin in #3689
- [ThreadSync] Reuse partial barriers across storage scopes by @LeiWang1999 in #3761
- [BugFix][Profiler] Flush L2 cache with read-only operations by @LJC00118 in #3534
- [CuTeDSL] Accept sm_103a and sm_107a in the TMA arch gate by @lucifer1004 in #3772
- [Ascend][Testing] Fix async cross-device copy failures in the autotune set-inputs test for AscendC CI by @liggest in #3784
- [CUDA] Support round-to-nearest-even TF32 casts by @sepcnt in #3714
- [Feature][CUDA] Add explicit host-mapped buffer annotations by @LeiWang1999 in #3802
- [Transform] Preserve vector widths for scalar condition casts by @LeiWang1999 in #3759
- Feat/z3 rlimit config by @KellyFrog in #3752
- [Language] Reuse macro transformation templates by @LJC00118 in #3760
- [Ascend] Fix access_ptr regions for dependency analysis by @AutumnKite in #3805
- Feat/multi source cache by @KellyFrog in #3807
- [CUDA] Support names for individual kernel launches by @LeiWang1999 in #3816
- [Ascend] Remove redundant Z3 scheduler lock by @LJC00118 in #3812
- [Feature][CuTeDSL] Close the example gaps: cluster TMA, SM120 block-scaled MMA, Philox by @lucifer1004 in #3685
- [Example] Fit the block-causal varlen test in the sm_12x shared-memory budget by @lucifer1004 in #3845
- [Bugfix][CuTeDSL] Preserve signed integer truncation by @SuperGoodGame in #3551
- [BugFix][CuTeDSL] Synchronize sync_grid on the per-launch grid workspace by @lucifer1004 in #3868
- [Ascend] Restore precise logical access regions for dense views by @AutumnKite in #3890
- [CUDA] Add L2 prefetching instructions with optional eviction policy by @dwindz in #3490
- [CUDA] Add NaN-propagating symmetric clamp by @KellyFrog in #3605
- [CI] Do not restart full CI for PR label changes by @lm10-arg in #3911
- [Ascend] Support the tvm_ffi execution backend for the PTO target by @liggest in #3516
- [Ascend][PTO] Adapt integer atomics to signless carriers by @erhsh in #3794
- [Ascend][AutoSchedule] Tighten period lower bounds for binary search by @buaazhangs in #3776
- [BugFix][Ascend][PTO] Fix T.atomic_add/max/min compile failure on PTO due to signed integer inputs by @liggest in #3792
- [Ascend][PTO] Preserve legacy explicit SIMD parallel loops by @erhsh in #3796
- [Ascend][PTO] Guard scalar cast facts during VMI memory legalization by @erhsh in #3793
- [Ascend][PTO] Fix VMI descriptors and remove redundant logical coverage checks by @KurrinQu in #3894
- [Ascend] cross core sync with mode=0 operator requires setting the batch mode by @kevin3113 in #3614
- [Docs] Update TileLang LSP repository links by @penguin-wwy in #4052
- [BugFix][ROCm] Reuse an already-loaded HIP runtime in the HIP stubs by @zhangnju in #3899
- [BugFix][JIT] Raise a cython kernel's dynamic shared memory limit on every device it launches on by @lucifer1004 in #3882
- [BugFix][NVRTC] Launch kernels with a single argument by @lucifer1004 in #3880
- [BugFix][JIT] Restore the caller's current device after a tvm_ffi call by @lucifer1004 in #3872
- [BugFix][CuTeDSL] Keep values read from unsigned buffers unsigned by @lucifer1004 in #3875
- [Ascend] Use aclrtDeviceL2CacheFlush for benchmark L2 flushing by @LJC00118 in #3891
- [Ascend][Testing] Avoid unsafe cross-NPU probe in autotune tset by @yyyy999 in #4401
- [Test] Limit Z3 solver resources to reduce topk regression test time by @penguin-wwy in #4407
- [CPU] Support serial any_of and all_of lowering by @penguin-wwy in #4389
- [Build] Remove toolchain labels from development versions by @LeiWang1999 in #4409
- [Layout] Preserve placeholder Var bindings across FFI serialization by @LeiWang1999 in #4410
- [Docs] Clarify HIP stub defaults on Windows by @runqiwang777 in #4387
- Bump 3rdparty/tvm to tilelang_main@5fb5cb27 by @kevin3113 in #4422
- [CI] Move CuTeDSL unit tests into the dedicated CuTeDSL CI job by @LeiWang1999 in #4417
- [Ascend][PTO] Preserve branch-defined scalar inputs to while loops by @erhsh in #4418
- [JIT] Add process-based parallel compilation by @LJC00118 in #3903
- [Layout] Make Layout and Fragment own bound placeholder Vars by @LeiWang1999 in #4416
- [CI] Publish shared Linux wheels to OBS by @xuedinge233 in #4411
- [Test][ROCm] Limit Z3 solver resources to reduce TopK test time by @penguin-wwy in #4463
- [BugFix][ROCm] Pass compile_flags and tl.device_compile_flags to hipcc by @ghostrider0470 in #3954
- [BugFix][Language] Preserve wide integer predicates in vote/sync intrinsics by @173787247 in #3777
- [ROCm] Skip the reduce workspace when all reducing threads share a wavefront by @ghostrider0470 in #3959
- [ROCm] Explain T.gemm limits on tiles with few rows per wavefront by @ghostrider0470 in #3956
- [ROCm] Add occupancy_report to hip_resource_info by @ghostrider0470 in #3958
- [BugFix][ROCm] Fix float-to-FP4 casts and add the E8M0 type in the HIP templates by @xiaohong42 in #3665
- [ROCm] Support linear shared layouts for gfx1200 FP16/BF16 WMMA by @gwokhou in #3729
- [Arith][Z3] Bump TVM for right-shift, low-bit mask, and solver soundness fixes by @LeiWang1999 in #4482
- [Test][ROCm] Restore the default Z3 budget in TopK tests by @LeiWang1999 in #4489
- Add Ascend NPU wheel test to the Dist pipeline by @LeonardzzzzZ in #4419
- [Release] Bump version to 0.1.16 by @LeiWang1999 in #3887
- [BugFix][Cache] Publish shared cache entries with group-readable permissions by @KellyFrog in #3756
- [Test][CUDA] Reduce example test time with parallel attention cases by @penguin-wwy in #4485
- [Cache] Include CUDA and Ascend toolchain versions in kernel cache keys by @LeiWang1999 in #4511
- [Feature][Ascend] Support explicit host-mapped buffer parameters by @silentCoder-dev in #3909
- [Ascend] Propagate dependency distances as ranges in InsertSync by @AutumnKite in #4486
- [Ascend][PTO] Use PyPI PTOAS in Ascend CI by @KurrinQu in #4390
New Contributors
- @LLMZhangYC made their first contribution in #3310
- @dajiaohuang made their first contribution in #3361
- @173787247 made their first contribution in #3334
- @y1lan made their first contribution in #3418
- @Ethereal49 made their first contribution in #3441
- @luicarus made their first contribution in #3435
- @KareemMusleh made their first contribution in #3297
- @tsung-li made their first contribution in #3447
- @voidLitchi made their first contribution in #3450
- @adenzhou1350 made their first contribution in #3390
- @dc-tw made their first contribution in #3457
- @cyanseek made their first contribution in #3415
- @li-lizhe made their first contribution in #3385
- @CeleNewYear made their first contribution in #3458
- @christopherowen made their first contribution in #3430
- @hywosdpl made their first contribution in #3245
- @liggest made their first contribution in #3469
- @yyyy999 made their first contribution in #3455
- @AutumnKite made their first contribution in #3485
- @sdmyzlp made their first contribution in #3437
- @AkshayM5 made their first contribution in #3503
- @dangyw18 made their first contribution in #3466
- @yangsichan made their first contribution in #3321
- @samridh10exe made their first contribution in #3536
- @chinazhangchao made their first contribution in #2962
- @jq-wei made their first contribution in #3070
- @saiyambharara made their first contribution in #3125
- @liuyun7345 made their first contribution in #3280
- @Heltion made their first contribution in #3193
- @ghostrider0470 made their first contribution in #3286
- @FeathBow made their first contribution in #3356
- @Afloat16 made their first contribution in #3357
- @z1shuu made their first contribution in #3594
- @jzluo made their first contribution in #3621
- @liuhao-labs made their first contribution in #3465
- @Adarsh-mk7 made their first contribution in #3374
- @liguanglin made their first contribution in #3543
- @KurrinQu made their first contribution in #3512
- @dwindz made their first contribution in #3490
- @lm10-arg made their first contribution in #3911
- @buaazhangs made their first contribution in #3776
- @kevin3113 made their first contribution in #3614
- @runqiwang777 made their first contribution in #4387
- @xuedinge233 made their first contribution in #4411
- @xiaohong42 made their first contribution in #3665
- @gwokhou made their first contribution in #3729
- @LeonardzzzzZ made their first contribution in #4419
Full Changelog: v0.1.15...v0.1.16