madewithlaya

Catalog / Tools & apps

0092GitHub

Lunar Laya: Atari-style lander with a CUDA-trained Laya checkpoint that lands 30/30 on MLX

Deterministic arcade physics, a browser flight recorder and a supervised Laya fine-tune that landed 30 of 30 held-out flights on Apple MLX. 58% less peak memory with 6-bit weights.

Open source ↗ github.comcostfree, localtime-
mraad/lunar-layaREADME ↗
# Lunar Laya

An Atari-inspired lunar landing experiment with **Laya typed decisions running
locally on Apple MLX**, deterministic arcade physics, and a self-contained
browser flight recorder. Watch rotation, engine power, fuel, terrain contact,
model probabilities, and guidance interventions on the same timeline.

**Now includes an additional CUDA-trained Laya checkpoint and a VanillaJS
mission-control SPA.** The trained model landed 30/30 held-out local MLX flights
without post-inference assistance, following explicit guidance requests.
The original checkpoint and modes remain unchanged. See
[training details and limitations](docs/training.md).



Actual FP16 trained-model recording, seed 3000, played at 4× simulation time.
See [GIF reproduction and provenance](docs/media.md) and
[low-memory native MLX deployment](docs/mlx-optimization.md).

This is a new simulation inspired by **Atari's 1979 vector arcade Lunar Lander**,
not an Atari ROM emulator, a Gymnasium LunarLander wrapper, or the LayaAir game
engine. Laya here means Convai Innovations' decision model. MLX runs its neural
inference; the small physics loop runs in ordinary Python.

## Documentation map

| Guide | Read it for |
|---|---|
| [User guide](docs/user-guide.md) | Installation choices, every command-line option, replay controls, telemetry, offline use, and troubleshooting |
| [Implementation](docs/implementation.md) | Data flow, equations, units, terrain, contact rules, guidance, model interface, and recording schema |
| [Developer and experiment guide](docs/development.md) | Python API examples, replay regeneration, result analysis, reproducibility, testing, and changing the controller |
| [Validation](docs/validation.md) | Actual model and baseline outcomes, latency measurement boundaries, reproductio

Also filed under Tools & apps

  1. 0005

    laya-mlx plays Snake at 60 decisions per second

    介绍比Jev快50倍,在你设备上跑的laya-mlx! 只在你的设备上占用最高1G内存 Laya是一个开源的类似于Jev的,基于文本输出概率的分类系统 我将其移植到MLX,并且做了一些性能优化! 视频中就是这个模型在我的本地M3Max上玩贪吃蛇 这个模型能够以每秒决策60次的速度玩贪吃蛇! https://t.co/31KGUiNunb

    @mizorewww · Tools & apps · free, local · 60 decisions/s

  2. 0112

    Laya on Axera AX650 and AX8850 edge NPUs, under 70 ms

    AXERA-TECH's conversion of all three Laya checkpoints for its edge AI chips, reported at latency under 70 ms per decision on AX650/AX8850.

    AXERA-TECH · Tools & apps · free, on-device · < 70 ms on AX650 / AX8850

  3. 0099

    laya-mcp (PerryLink): a warm sidecar that fixes Laya's silent truncation and constant noul

    MCP server plus HTTP sidecar: token-budget preflight that reports what would be cut, a persisted calibration store, structured errors, and a noul fix (P(true) 0.5 → 1.0).

    @PerryLink · Tools & apps · free, local

  4. 0097

    Gomoku against Laya-MLX: you play black, the model picks white's move from six candidates

    Local 15x15 Gomoku on Apple Silicon. Rules in Python, board in the browser, every AI move one real Laya choice over up to six candidates, probabilities shown. No Gomoku training.

    smile-magic · Tools & apps · free, local