MCPcopy Index your code
hub / github.com/ROCm/aiter

github.com/ROCm/aiter @FAv3-0.0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release FAv3-0.0.0.1 ↗ · + Follow
879 symbols 2,705 edges 151 files 93 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

aiter

image

AITER is AMD’s centralized repository that support various of high performance AI operators for AI workloads acceleration, where a good unified place for all the customer operator-level requests, which can match different customers' needs. Developers can focus on operators, and let the customers integrate this op collection into their own private/public/whatever framework.

Some summary of the features: * C++ level API * Python level API * The underneath kernel could from triton/ck/asm * Not only inference kernels, but also training kernels and gemm+comm kerenls (so can do any kerne+framework dirty WAs for any arch limit)

clone

git clone --recursive https://github.com/ROCm/aiter.git or git submodule sync ; git submodule update --init --recursive

install into python

under aiter root dir run: python3 setup.py develop

run operators supported by aiter

there are number of op test, you can run them like this: python3 op_tests/test_layernorm2d.py | Ops | Description | |------------|---------------------------------------------------------------------------------------------| |GEMM | D=AxB+C | |FusedMoE | bf16 balabala | |WIP | coming soon... |

Core symbols most depended-on inside this repo

shuffle_weight
called by 17
aiter/ops/shuffle.py
pertoken_quant
called by 11
aiter/ops/quant.py
launch_kernel
called by 9
csrc/py_itfs_cu/asm_fmoe.cpp
get_dtype
called by 5
gradlib/gradlib/gemm_tuner.py
moe_sorting_ck
called by 5
aiter/fused_moe_bf16_asm.py
backward
called by 5
aiter/ops/rope.py
warmup
called by 4
gradlib/gradlib/GemmTuner.py
add_gemm
called by 4
gradlib/gradlib/GemmTuner.py

Shape

Function 675
Method 134
Class 66
Route 3
Enum 1

Languages

Python88%
C++12%

Modules by API surface

aiter/ops/rope.py48 symbols
aiter/rotary_embedding.py46 symbols
csrc/include/rope_common.h43 symbols
op_tests/test_rope.py30 symbols
csrc/py_itfs_cu/fmha_bwd_pre_post_kernel.py26 symbols
aiter/ops/triton/mha.py25 symbols
aiter/ops/mha.py23 symbols
gradlib/gradlib/GemmTuner.py20 symbols
aiter/fused_moe_int8_a8w8.py18 symbols
op_tests/test_pa_ragged.py17 symbols
aiter/fused_moe_gelu.py16 symbols
op_tests/test_layernorm2dFusedAddQuant.py15 symbols

For agents

$ claude mcp add aiter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact