Repository navigation
Commit 038fc0a
committed
Extract TileLang tutorial into standalone Astro site
0 parents commit 038fc0a
1,207 files changed
Lines changed: 183111 additions & 0 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- docs
- public
- scripts/tutorial
- src
- components
- tutorial
- data/tutorial/generated
- code
- layouts
- lib
- pages
- code
- notes
- styles
- tutorial
- code
- 01-why-tile-dsl
- 01-op-cost-model
- 02-first-tile-kernel
- 02-from-pytorch-to-kernels
- 01-op-traffic-model
- 02-step-budget
- 03-design-philosophy
- 01-layer-inventory
- 02-one-kernel-two-levels
- 03-schedule-as-annotation
- 04-architecture-and-compilation-flow
- compile-path-check
- pass-order
- quickstart-gemm
- repo-map
- 05-comparisons
- 01-unified-gemm-relu
- 02-abstraction-layers
- 06-hardware-intro-nv-vs-ascend
- 01-onchip-footprint
- 02-pipeline-timeline
- 03-target-sketch
- 07-quickstart
- 01-first-kernel
- 02-inspect-source
- 03-jit-and-cache
- 04-api-surface-check
- 05-ascend-first-kernel
- 06-env-check
- 08-language-basics
- 01-kernel-grid
- 02-dtypes
- 03-memory-scopes
- 04-loops
- 05-control-flow
- 06-python-boundary
- 09-core-primitives
- 01-primitive-ir-map
- 02-copy-predicate-model
- 03-thread-reduce-model
- 04-copy-gemm-sketches
- 05-ascend-primitives
- 10-layout-and-memory-intro
- 01-layout-algebra
- 02-plot-layout
- 03-annotate-layout
- 11-pipeline-and-autotuning
- 01-pipeline-timeline
- 03-autotune-config-space
- 04-tilelang-pipelined-gemm
- 05-tilelang-autotune-gemm
- 12-debugging-and-profiling
- 01-tool-inventory
- 02-tolerance-model
- 03-compile-only
- 04-lower-trace
- 05-print-and-assert
- 06-ascend-dump
- 13-operators-elementwise-norm-rope
- 01-ledger
- 02-elementwise
- 03-norm
- 04-rope
- 05-fusion
- 06-ascend
- 07-api-audit
- 14-operators-gemm
- 01-gemm-ledger
- 02-tilelang-ladder
- 03-gemm-variants
- 04-low-precision
- 05-ascend-gemm
- 06-bench-methodology
- 15-operators-attention
- 01-traffic-model
- 02-online-softmax
- 03-split-kv-combine
- 04-block-flash-attention
- 05-official-example-map
- 06-ascend-map
- 16-operators-moe-mla
- 01-cost-ledger
- 02-moe-routing
- 03-mla-kv
- 04-moe-kernel-map
- 05-sparse-index-map
- 06-ascend-map
- 17-e2e-training-7b
- 01-plan-ledger
- 02-data-pipeline
- 03-tilelang-norm-torch
- 04-verify-numerics
- 05-ascend-integration
- 06-train-loop
- 18-e2e-inference-serving
- 01-prefill-decode-roofline
- 02-kv-ledger
- 04-serving-schedule-sim
- 05-bench-methodology
- 06-tilelang-decode-attention
- 07-tilelang-moe-and-quant
- 08-ascend-aclgraph
- 19-ascend-hands-on
- 01-env-check
- 02-elementwise-ub
- 03-elementwise-pipeline
- 04-gemm-l1-l0c
- 05-gemm-dialect
- 06-ascendc-baseline
- 07-vector-modes
- 08-msprof-bench
- 09-aclgraph
- 10-debug-and-dump
- 11-exception-dump
- 12-tuning-sweep
- 20-ir-and-pass-pipeline
- 01-pass-order
- 02-ir-snippet-extract
- 03-lower-trace-walkthrough
- 04-version-diff
- 21-layout-inference
- 01-layout-algebra
- 02-plot-layout
- 03-infer-visualization
- 04-layout-conflict
- 05-ascend-nz-layout
- 22-pipeline-sync-multibuffer
- 01-num-stages-ir-diff
- 02-buffer-version-model
- 03-sync-count-vs-perf
- 04-ascend-flag-budget
- 23-autoschedule-smt
- pass_order
- toy_scheduler
- 24-nvidia-backend-codegen
- 01-copy-inst-selection
- 02-gemm-inst-selection
- 03-tma-descriptor
- 04-warp-specialize-gemm
- 05-tcgen05-gemm
- 25-ascend-backend-codegen
- 01-route-map
- 02-scope-dma-pipes
- 03-api-presence-matrix
- 04-cite-check
- 05-emit-ascend-c
- 26-runtime-jit-abi
- 01-runtime-anchor-check
- 02-cache-dir-inspect
- 03-packed-abi-sim
- 04-torch-stream-call
- 05-compile-only-inspect
- 06-ascend-aclgraph
- 27-low-precision-quantization
- 01-number-formats
- 02-quant-dequant
- 03-error-model
- 04-vs-reference
- 05-mx-scale-layout
- 06-tilelang-audit
- 28-operator-design-methodology
- 01-op-ledger
- 02-roofline-misuse
- 03-carver-cost-model
- 04-tile-size-decision
- 05-fusion-split
- 06-case-norm-rope-quant
- 07-ascend-latency-model
- 29-compiler-engineering
- 01-python-pass
- 02-cpp-pass-template
- 03-verify-pass-template
- 04-regression-judge
- 30-frontier
- 01-state-audit
- 02-tree-diff
- 03-upstream-watch
- 31-contributing
- 01-pr-scope-linter
- 02-rfc-lint
- 03-checklist-gate
- 32-deepseek-ascend-release
- 01-verify-checklist
- 33-tilekernels-two-backends
- 01-topk-gate-minimal
- 02-call-the-library
- 03-map-and-diff
- 34-tilekernels-engram-mhc
- 01-engram-gate-shapes
- 02-sinkhorn-iterations
- 03-mhc-mix-flow
- 04-engram-hash-lookup
- 35-deepgemm-ascend
- 01-python-api
- 02-perf-ledger
- 03-config-search
- 04-hc-prenorm-tilelang
- 36-flashmla-ascend
- 01-head-roofline
- 02-fixpipe-bound
- 03-online-softmax-skip-scale
- 04-tilelang-expressibility
- 37-deepselect-topk
- 01-deepselect-python
- 02-block-order-experiment
- 03-complexity-tables
- 38-deepep-ascend
- 01-ep-minimal
- 02-comm-ledger
- 03-buffer-size
- 04-bandwidth-normalize
- 39-deepseek-e2e-supernode
- 01-train-step-budget
- 02-inference-latency-model
- 03-bottleneck-map
- content
- figures
- 01-why-tile-dsl
- 02-from-pytorch-to-kernels
- 03-design-philosophy
- 04-architecture-and-compilation-flow
- 05-comparisons
- 06-hardware-intro-nv-vs-ascend
- 07-quickstart
- 08-language-basics
- 09-core-primitives
- 10-layout-and-memory-intro
- 11-pipeline-and-autotuning
- 12-debugging-and-profiling
- 13-operators-elementwise-norm-rope
- 14-operators-gemm
- 15-operators-attention
- 16-operators-moe-mla
- 17-e2e-training-7b
- 18-e2e-inference-serving
- 19-ascend-hands-on
- 20-ir-and-pass-pipeline
- 21-layout-inference
- 22-pipeline-sync-multibuffer
- 23-autoschedule-smt
- 24-nvidia-backend-codegen
- 25-ascend-backend-codegen
- 26-runtime-jit-abi
- 27-low-precision-quantization
- 28-operator-design-methodology
- 29-compiler-engineering
- 30-frontier
- 31-contributing
- 32-deepseek-ascend-release
- 33-tilekernels-two-backends
- 34-tilekernels-engram-mhc
- 35-deepgemm-ascend
- 36-flashmla-ascend
- 37-deepselect-topk
- 38-deepep-ascend
- 39-deepseek-e2e-supernode
- notes
- quiz
- source-figures
- 01-why-tile-dsl
- 02-from-pytorch-to-kernels
- 03-design-philosophy
- 04-architecture-and-compilation-flow
- 05-comparisons
- 06-hardware-intro-nv-vs-ascend
- 07-quickstart
- 08-language-basics
- 09-core-primitives
- 10-layout-and-memory-intro
- 11-pipeline-and-autotuning
- 12-debugging-and-profiling
- 13-operators-elementwise-norm-rope
- 14-operators-gemm
- 15-operators-attention
- 16-operators-moe-mla
- 17-e2e-training-7b
- 18-e2e-inference-serving
- 19-ascend-hands-on
- 20-ir-and-pass-pipeline
- 21-layout-inference
- 22-pipeline-sync-multibuffer
- 23-autoschedule-smt
- 24-nvidia-backend-codegen
- 25-ascend-backend-codegen
- 26-runtime-jit-abi
- 27-low-precision-quantization
- 28-operator-design-methodology
- 29-compiler-engineering
- 30-frontier
- 31-contributing
- 32-deepseek-ascend-release
- 33-tilekernels-two-backends
- 34-tilekernels-engram-mhc
- 35-deepgemm-ascend
- 36-flashmla-ascend
- 37-deepselect-topk
- 38-deepep-ascend
- 39-deepseek-e2e-supernode
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments