madewithlaya

Catalog / Tools & apps

0091GitHub

PacmanLocalJev: the unchanged 322M Laya checkpoint plays Pac-Man on Windows with CUDA

Native Windows demo with live probabilities, executed moves, inference timing and planner-intervention counts. A deterministic search proposes routes, Laya classifies them.

Open source ↗ github.comcostfree, local (CUDA or CPU)time-
raboija/PacmanLocalJevREADME ↗
# raboija/PacmanLocalJev

**LocalLaya · fast typed decisions vs. Pac-Man**

A native Windows demo of the real **Laya multilingual 322M** model making typed decisions locally, on NVIDIA CUDA or CPU. The game runs beside live model probabilities, executed moves, inference timing and planner intervention counts. No API key or cloud inference.



[Download v0.1.0](https://github.com/raboija/PacmanLocalJev/releases/tag/v0.1.0) · [How it works](docs/ARCHITECTURE.md) · [Raw results](reports/RESULTS.md) · [General API](docs/API.md)

## What this is

Every game move calls the unchanged, general-purpose Laya checkpoint. It returns a direction `choice` and two `noul` boolean estimates. The same model handles arbitrary text questions through a local API; no Pac-Man classifier is trained or substituted.

The gameplay is **planner-guided**: a deterministic search describes possible routes and identifies its preferred move. Laya classifies those descriptions. An execution filter and progress-recovery rule can override the model's proposal, with every override visible in the UI. The model receives structured game information, not pixels.

The work in this repository is the Windows/NVIDIA integration, bounded CUDA graph execution, original game and route adapter, native UI, transparent telemetry and reproducible evaluation. Laya's model and training are upstream work. `PacmanLocalJev` is the project name; this is not an official Jev product, a Jev implementation, or a new general-intelligence model.

## Run on Windows

1. Install **Python 3.11** from [python.org](https://www.python.org/downloads/windows/) and [Microsoft Edge WebView2 Runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/).
2. Download and extract the **Windows source ZIP** from [Releases](https://github

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