esp32-ai
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.
它借助 JAX 的 GSPMD 编译器原生支持数据并行、全分片数据并行和张量并行,代码量远少于等效的 PyTorch 方案;内建光谱 μTransfer 用于超参数缩放;可在笔记本电脑到大型 TPU Pod 上运行。
Jaxotron is a highly-scalable, educational, and production-ready JAX adaptation of Hugging Face's Nanotron, heavily inspired by the Google DeepMind "How to Scale Your Model" JAX book.
Jaxotron proves that you can build state-of-the-art 3D parallelized LLM training pipelines in a fraction of the code compared to PyTorch, all by leveraging JAX's GSPMD compiler magic and functional programming.
AllGather and ReduceScatter collectives based on semantic mesh rules.jax.lax.scan loop cleanly calculates gradient accumulations without blowing out accelerator HBM memory.equinox for clean PyTree OOP modules, optax for optimization, orbax for async multi-host checkpointing, and wandb for logging.jaxotron/
├── app.py # Entry point for training
├── config.py # Strongly typed dataclasses for topology/model/training
├── data/
│ ├── collator.py # Asynchronous JAX data prefetcher
│ └── nanoset.py # Fast memory-mapped binary dataset reader
├── models/
│ ├── attention.py # GQA Attention & SwiGLU MLP
│ ├── layers.py # RMSNorm & Exact RoPE math
│ └── llama.py # Main LlamaForCausalLM model
├── optim/
│ ├── build.py # Optax AdamW + LR Schedulers
│ └── mup.py # Spectral muP initialization & LR multipliers
├── parallel/
│ ├── mesh.py # JAX device mesh creation
│ ├── partitioning.py # Megatron/FSDP logical axis rules
│ └── sharding_utils.py # PyTree node sharding applier
└── serialize/
└── orbax_utils.py # Async P
A minimal, 3D-parallel LLM trainer written in pure JAX and Equinox.
根据分类、Topic 和编程语言匹配的相似项目。
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.
Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.