Maxtext Jax LLM

Expert guidance for MaxText and the JAX LLM stack — training and serving frontier-scale LLMs (Llama, Gemma, Mistral, DeepSeek, Qwen, Mixtral/MoE) on TPU pods and GPU. Use when working with MaxText configs (base.yml/model YAML, ici_*_parallelism / dcn_*_parallelism, per_device_batch_size, remat_policy, attention=flash, weight_dtype/quantization=int8), JAX sharding (Mesh, PartitionSpec, NamedSharding, logical_axis_rules, GSPMD), Flax (linen/NNX), Optax, Grain, Orbax, Pathways, or JetStream inference; scaling to multi-host / multislice TPU (ICI vs DCN); chasing MFU, OOM, or recompilation; or launching on GKE with XPK/JobSet. Covers the FSDP/TP/sequence/expert sharding mental model and the TPU-JAX-vs-GPU-PyTorch decision.

sanjeevrg89 22bc0f3 5 files · 41.2 KB Updated

File contents

sanjeevrg89/arete/tree/main/skills/maxtext-jax-llm commit 22bc0f3454

Frequently asked questions

npx skillmds@latest add sanjeevrg89/maxtext-jax-llm