> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m-star.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose your hardware

> Match a model and a deployment config to an NVIDIA, AMD, or Intel GPU.

Linux with NVIDIA GPUs is the supported serving platform. AMD ROCm support is in progress. Start with the model’s [default GPU count and config](https://docs.m-star.org/models.md#matrix). The count describes placement. Memory use also depends on the weights, input size, KV cache, and capture settings. Check the family guide for the configuration that was exercised.

## Platform support

| Platform | Support | Installation |
| - | - | - |
| NVIDIA H100/H200 and Blackwell B200/GB200/B300 | Supported | [Linux wheel](https://docs.m-star.org/installation.md#install-from-pypi) |
| NVIDIA Ampere, Ada and RTX Blackwell | Varies by model and kernel | [CUDA toolkit](https://docs.m-star.org/installation.md#cuda-toolkit) |
| AMD Instinct `gfx942` and `gfx950` | In progress | [ROCm from source](https://docs.m-star.org/installation.md#rocm-flashinfer) |
| Intel XPU | BAGEL only | [XPU container](https://docs.m-star.org/installation.md#docker) |

CPU-only machines can run the CPU tests. Serving requires an accelerator.

## NVIDIA

Hopper-specific kernels include the fused Qwen3-TTS depth kernel and the GLM SM90 block-scale GEMM. On Blackwell, dense attention uses FlashInfer ragged prefill. MXFP8 and NVFP4 linears for FLUX.2 klein and Z-Image require compute capability 10.0 or later.

If a Blackwell `sm_100` or `sm_103` launch logs a warning about Triton’s assembler, point `TRITON_PTXAS_BLACKWELL_PATH` at ptxas 13.1.115 or newer. The runtime first tries the copy bundled with PyTorch. For per-device kernel measurements, see the [kernel tables](https://github.com/mstar-project/mstar/tree/main/mstar/kernels/tables).

## AMD Instinct

ROCm support is in progress on main. Use a ROCm build of PyTorch and install the AMD attention libraries from the [source installation guide](https://docs.m-star.org/installation.md#rocm-flashinfer). M\* uses AITER for eligible paged, cross, and ragged attention. Windowed attention and some page sizes require AMD’s FlashInfer fork. Configs that use NVIDIA MPS to share a GPU between workers need a different placement on AMD. These ROCm changes landed on main after the 0.3.0 release.

## Intel XPU

The [XPU container](https://docs.m-star.org/installation.md#docker) includes the `bagel_xpu` dependencies. Use a shipped config that selects `xpu_paged` attention.

| Config | Placement |
| - | - |
| `configs/bagel_xpu_tp2.yaml` | Three GPUs. The encoders and VAE share one, and the LLM uses two. |
| `configs/bagel_xpu_cfg_tp2.yaml` | Seven GPUs. The LLM and each guidance branch use two. |

## Identify your GPU

```bash theme={null}
python -c "from mstar.platforms import current_platform; print(current_platform, current_platform.arch())"
```

For example, an H200 reports `sm_90` and an MI300X reports `gfx942`. On NVIDIA, `nvidia-smi --query-gpu=name,compute_cap --format=csv` also lists the visible devices.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.