You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeat the same workflow for `wrappers/FlashMLA`, `wrappers/FlashKDA`,
101
-
`wrappers/DeepGEMM`, or `wrappers/SageAttention` when those package surfaces
102
-
match your framework.
103
+
For wrapper install commands, use the same external index or follow the local
104
+
build workflow in [`docs/source/install.rst`](docs/source/install.rst).
103
105
104
106
### Verify and Diagnose
105
107
@@ -153,20 +155,6 @@ complete environment variable reference.
153
155
154
156
MATE includes a guarded MUSA allocator that can replace the default `torch_musa` allocator during debugging to help localize out-of-bounds reads and writes across MUSA workloads. Start with `mate guard-run --mode tail -- python your_script.py`, or enable it in tests with `pytest --guard-alloc`. The detailed workflow, pytest defaults, and limitations are documented in [docs/guard_allocator.md](docs/guard_allocator.md).
155
157
156
-
## Wrappers
157
-
158
-
MATE uses the packages under `wrappers/` as a compatibility layer for CUDA-oriented software stacks on MUSA. These wrappers preserve familiar package names and high-level APIs while routing execution to MATE operators and kernels on MUSA, which helps existing integrations migrate with smaller code changes.
159
-
160
-
For the guided wrapper-first documentation path, start with [docs/source/overview.rst](docs/source/overview.rst) and [docs/source/wrapper_tutorials.rst](docs/source/wrapper_tutorials.rst) for the wrapper quickstart flow.
|`wrappers/flash-attention`|`flash_attn_3`|`flash_attn_interface`| FlashAttention-3-compatible APIs on top of MATE attention operators on MUSA |[wrapper README](wrappers/flash-attention/README.md), [compatibility summary](docs/source/wrappers/flash_attention_forward_compatibility.md)|
165
-
|`wrappers/SageAttention`|`sageattention`|`sageattention`| SageAttention-compatible dense quantized attention wrapper on top of MATE on MUSA |[wrapper README](wrappers/SageAttention/README.md)|
166
-
|`wrappers/FlashMLA`|`flash_mla`|`flash_mla`| FlashMLA-compatible MLA dense/sparse decode and sparse prefill APIs on top of MATE MLA operators on MUSA |[wrapper README](wrappers/FlashMLA/README.md)|
167
-
|`wrappers/FlashKDA`|`flash_kda`|`flash_kda`| FlashKDA-compatible KDA forward APIs on top of MATE KDA operators on MUSA |[wrapper README](wrappers/FlashKDA/README.md)|
168
-
|`wrappers/DeepGEMM`|`deep-gemm`|`deep_gemm`| DeepGEMM-compatible APIs on top of MATE GEMM operators on MUSA |[wrapper README](wrappers/DeepGEMM/README.md)|
169
-
170
158
## Repository Layout
171
159
172
160
| Path | Purpose |
@@ -180,15 +168,11 @@ For the guided wrapper-first documentation path, start with [docs/source/overvie
180
168
## Quick Links
181
169
182
170
- Official documentation: [https://mate-docs.mthreads.com/latest/](https://mate-docs.mthreads.com/latest/)
0 commit comments