Repository navigation
TileLens 3.1
TileLens 3.1 is the first release under the new name. It continues Triton-Viz 3.0: the Python package is now tilelens, the PyPI distribution is now tilelens, and the CLI commands are now tile-*.
Install
pip install tilelensUpgrading from triton-viz
Uninstall triton-viz first. The two distributions ship some of the same files, so keeping both installed can break imports and CLI commands.
pip uninstall -y triton-viz
pip install tilelensIf you already installed both, run pip uninstall triton-viz and then pip install --force-reinstall --no-deps tilelens. Restart Python or your notebook kernel after upgrading.
Existing code keeps working:
import triton_vizandtriton_viz.*submodule imports resolve to the sametilelensmodules.- The
TRITON_VIZ_VERBOSE,TRITON_VIZ_NUM_SMS, andTRITON_VIZ_PORTvariables are still read. TheTILELENS_*value wins when both are set. - The
triton-sanitizer,triton-profiler,triton-race-detector, andtriton-visualizercommands still work. - Existing
.tvztraces still load.
In multithreaded programs, import triton_viz in the main thread before other threads import its submodules.
Breaking changes
- The PyPI distribution is
tilelens.triton-viz3.0 is the last release under the old name. - The primary CLI commands are
tile-sanitizer,tile-profiler,tile-race, andtile-visualizer. - The environment variables are
TILELENS_VERBOSE,TILELENS_NUM_SMS, andTILELENS_PORT. - Traces saved by TileLens cannot be loaded by Triton-Viz 3.0 or earlier.
- The web UI stores its theme under a new key, so a saved theme resets once. The API base override is now
window.__TILELENS_API__. triton_vizis now a thin compatibility package. After a bareimport triton_viz, import submodules such astriton_viz.coreexplicitly.
What's Changed
- [DOCS] Add Triton-Sanitizer BibTeX citation to README by @mark14wu in #254
- [DOCS] Update installation instructions for PyPI by @mark14wu in #256
- [CI] Add GitHub Actions workflow for automatic PyPI publishing by @mark14wu in #257
- [FIX][SANITIZER]Fix shape property to use
isinstancecheck by @mark14wu in #262 - [FIX] Add outer loop constraints when checking nested loops by @mark14wu in #258
- [CI] Install neuronx-cc from AWS Neuron repo by @mark14wu in #255
- [FIX] Update dtype/shape handling in ExpandDims and Broadcast by @mark14wu in #259
- [REFACTOR] Extract SymbolicExpr hierarchy into clients/symbolic_engine.py by @mark14wu in #264
- [REFACTOR] Consolidate traceback utilities into
triton_viz/utils/traceback_utils.pyby @mark14wu in #265 - [FIX] Skip warmup in interpreter mode to avoid NoneType error by @mark14wu in #268
- windows install instructions + debloat readme by @latentCall145 in #269
- [NKI+FIX] fix misc. "transpose_x=True" issues with nki matmul by @latentCall145 in #270
- [FIX] Fix Code Context pointing to CLI entry point instead of kernel by @mark14wu in #267
- [FEAT][SANITIZER] Support Block Tensor by @mark14wu in #266
- [COMPAT] Store triton attribute in our own scope to not need triton >= 3.6.0 by @latentCall145 in #272
- [VIZ/FEAT] add dimension lines to selections for load/store by @latentCall145 in #274
- [NKI/REFACTOR] remove nki builder load/store + fix load_transpose2d bugs by @latentCall145 in #273
- [VIZ + FIX] misc visualizer fixes by @latentCall145 in #275
- [DOCS]Add NKI install command on homepage by @mark14wu in #276
- [FEATURE] reject nested trace calls with different clients by @latentCall145 in #279
- [CI/FEAT] Add sanitizer performance benchmark with PR commenting by @mark14wu in #280
- [FEAT+VIZ] N-dimensional visualizer by @latentCall145 in #284
- [REFACTOR] code frame refactor by @latentCall145 in #277
- [CI] Increase benchmark measured iterations from 5 to 20 by @mark14wu in #286
- [REFACTOR] Extract SymbolicClient base class from sanitizer into symbolic_engine by @mark14wu in #281
- [DOCS] Add CONTRIBUTING.md with contributor guidelines by @mark14wu in #285
- [FIX] Convert grid tuple to plain ints to fix unhashable tensor error by @mark14wu in #288
- Ndim viz fixes by @latentCall145 in #290
- Fix CLI wrapper + @triton_viz.trace() decorator conflict by @mark14wu in #291
- [FIX][SANITIZER] Propagate block_type dtype through LoadSymbolicExpr by @mark14wu in #292
- [FIX][SANITIZER] Fix ValueError: Cannot broadcast, rank mismatch by @mark14wu in #289
- native python typing by @latentCall145 in #295
- [FIX][TEST] Use block_type dtype in test_reduce_expr_eval by @mark14wu in #301
- [NKI] nki beta 2 integration (pt 1. dtypes) by @latentCall145 in #297
- [FIX] Normalize scalar NDArray values by @gujialiang123 in #293
- [BENCH][FEAT]Reduce CI benchmark noise by @mark14wu in #294
- [FIX][TEST] Add device attr to FakeTensor for OOB report by @mark14wu in #302
- [REFACTOR] Replace manual try/finally config save/restore with pytest fixtures by @mark14wu in #307
- [REFACTOR] Simplify _CombinedLoopHooks by delegating hook management to ClientManager by @mark14wu in #304
- [REFACTOR] Replace autouse fixtures with explicit per-test fixtures by @mark14wu in #314
- [CI] Use latest Triton from main and add pytest-xdist by @mark14wu in #315
- [FIX] Propagate dtype in UnarySymbolicExpr by @mark14wu in #311
- [REFACTOR] Separate dtype and shape in SymbolicExpr by @mark14wu in #322
- allow tracer records to be saved/loaded by @latentCall145 in #323
- [FEATURE] add download tensor button in viz UI by @latentCall145 in #324
- Add argmax/argmin as symbolic reduce ops with Z3 reasoning by @mark14wu in #316
- [BENCH] Add SwiGLU, Cross Entropy, and Fused Linear JSD benchmarks by @mark14wu in #308
- [REFACTOR] Deduplicate dtype/shape unpacking and remove redundant conversions by @mark14wu in #325
- [FIX] Unwrap TensorWrapper in sanitizer arg_callback by @mark14wu in #326
- Nki beta 2 pt2 by @latentCall145 in #321
- [FIX] Handle stride-0 expanded tensors in sanitizer by @mark14wu in #327
- [FIX] Set shape/dtype on DotSymbolicExpr for reduce ops by @mark14wu in #329
- [FIX] Handle data-dependent loop bounds with integer division in sanitizer by @mark14wu in #328
- [FIX] Handle missing interpreter_builder attributes gracefully by @mark14wu in #354
- Nki beta 2 pt3 by @latentCall145 in #355
- fix nki version install by @latentCall145 in #357
- [FEAT] race_detector PR1: Add race_detector client scaffold with symbolic access capture by @mark14wu in #356
- [FEAT] Add triton-race-detector CLI entry point by @mark14wu in #367
- [FIX] get_physical_addr_from_tensor_slice: do not double-count storage_offset by @mark14wu in #370
- [FEAT] Sanitizer: detect strided 1-D view OOB (issue triton-lang/triton#10336) by @mark14wu in #368
- [DOCS] Add repository contributor guide by @Jokeren in #371
- [DOCS] Simplify README usage guide by @Jokeren in #378
- [FIX] Patch Triton extra builtins in trace mode by @Jokeren in #372
- [FIX] Support inline asm in traced kernels by @Jokeren in #379
- [FIX] Support symbolic sort in traced kernels by @Jokeren in #373
- [FIX] Normalize symbolic reduction axes by @Jokeren in #374
- [REFACTOR] Simplify sanitizer tensor address ranges by @Jokeren in #375
- [FIX] Support pointer tuples in sanitizer by @Jokeren in #376
- [FIX] Support cumsum-derived sanitizer indexes by @Jokeren in #377
- [FIX] Support symbolic ashr checks by @Jokeren in #385
- [FIX] Support symbolic where materialization by @Jokeren in #386
- [FIX] Materialize loaded sanitizer checks by @Jokeren in #387
- [FIX] Add triton kernels masked compaction sanitizer test by @Jokeren in #388
- [TEST] Add ragged metadata sanitizer cases by @Jokeren in #391
- [FIX] Concretize symbolic expressions used by topk by @Jokeren in #397
- [FIX] Patch Triton trace helpers for topk by @Jokeren in #395
- [TEST] Add topk sanitizer e2e cases by @Jokeren in #396
- [TEST] Add swiglu sanitizer e2e cases by @Jokeren in #399
- [FIX] Patch symbolic transpose at builder level by @Jokeren in #401
- [TEST] Add MXFP sanitizer E2E cases by @Jokeren in #400
- [REFACTOR] Refactor frontend structure and remove deprecated components by @Jokeren in #403
- [FEATURE] Refactor concrete function registration by @Jokeren in #404
- [REFACTOR] Remove Triton dependency from symbolic engine by @Jokeren in #405
- [TEST] Run triton_kernels sanitizer tests on CPU by @Jokeren in #406
- [codex] Add Triton kernels benchmark CI by @Jokeren in #412
- [PERF] Reduce frontend runtime dispatch overhead by @Jokeren in #407
- [PERF] Add sanitizer concrete access fast path by @Jokeren in #416
- [PERF] Cache sanitizer symbolic access path by @Jokeren in #417
- [PERF] Add sanitizer loop range summaries by @Jokeren in #418
- [FEAT] Add Gluon tracing and sanitizer support by @Jokeren in #420
- [REFACTOR] Clean up Gluon load adapters by @Jokeren in #424
- [FEAT] Add Gluon simulation runtime foundation by @Jokeren in #437
- [FEAT] Add Gluon descriptor memory simulation by @Jokeren in #438
- [FEAT] Add Gluon matrix and helper simulation ops (#440) by @Jokeren in #450
- [FEAT] Add Gluon simulation patching and interpreter by @Jokeren in #441
- [FEAT] Wire Gluon tracing to CPU simulation by @Jokeren in #442
- [TEST] Cover Gluon CPU simulation core by @Jokeren in #443
- [FEAT] Add Gluon warp-specialize simulation by @Jokeren in #432
- [TEST] Cover Gluon core simulation ops by @Jokeren in #451
- [TEST] Cover Gluon async copy simulation ops by @Jokeren in #452
- [TEST] Cover Gluon TMA simulation ops by @Jokeren in #453
- [TEST] Cover Gluon Blackwell TMA gather scatter ops by @Jokeren in #454
- [TEST] Cover Gluon Blackwell TMA bitwise atomics by @Jokeren in #455
- [TEST] Cover Gluon TMA im2col ops by @Jokeren in #456
- [TEST] Cover Gluon Hopper WGMMA ops by @Jokeren in #457
- [TEST] Cover Gluon Blackwell tensor memory ops by @Jokeren in #458
- [TEST] Cover Gluon Blackwell tcgen05 ops by @Jokeren in #459
- [REFACTOR] Key loop hooks by LoopSite by @mark14wu in #435
- [REFACTOR] Rename Triton-Viz to TileLens by @pd-hung in #477
New Contributors
Full Changelog: v3.0...v3.1