[BOUNTY] N64 LLM Speedrun — 5 tok/s on Real N64 Hardware (300 RTC)

Aperta
#1,876 11 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

@zhuzhushiwojia ci sta già lavorando.

Dal 26/3/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
c

Direzione di ricerca

The work lives in the external legend-of-elya-n64 repository, which this issue links but does not describe in detail, so no source file or test is named here. Start by reading that repo's inference code and the libdragon documentation to see how the RSP is driven from C. Done means a video of 5+ tokens/sec on real N64 hardware, plus a pull request with benchmark numbers.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bounty

N64 LLM Speedrun — 300 RTC

The challenge: Make legend-of-elya-n64 hit 5+ tokens/sec on real Nintendo 64 hardware.

Hardware Constraints
  • CPU: NEC VR4300 (MIPS III) @ 93.75 MHz
  • RAM: 4 MB RDRAM (8 MB with Expansion Pak)
  • RSP: Reality Signal Processor — 8x 16-bit SIMD lanes
Requirements
  • Achieve 5+ tok/s sustained inference on the 819K-parameter transformer
  • Must use RSP SIMD for matrix multiplication (not just the main CPU)
  • Video proof on real N64 hardware (controller input visible, CRT/TV output)
  • Submit PR to legend-of-elya-n64
  • Include benchmark numbers in PR description
Bonus: +100 RTC

If inference runs from a physical N64 cartridge (flash cart or EPROM), not just via USB upload to dev kit. Show the cartridge in the video.

Why This Matters

The N64 VR4300 is a MIPS III processor from 1996. If a transformer can run at usable speed on 30-year-old console silicon, it proves that LLM inference belongs everywhere — not just in data centers. This is the most constrained inference target in the world.

Approaches to Explore
  • RSP microcode for 8-wide SIMD matmul (the RSP is basically an embedded DSP)
  • Aggressive quantization below Q4 (Q2? Binary weights?)
  • Vocabulary pruning to reduce embedding table size
  • Loop unrolling and MIPS III instruction scheduling
  • DMA pipeline: overlap RSP compute with RDRAM fetches
Resources

Reward: 300 RTC (+ 100 RTC cartridge bonus)
Wallet: Provide your RTC wallet address in the PR


Part of the Elyan Labs retro compute initiative. See also: RustChain proof-of-antiquity mining with vintage hardware bonuses.

Lingua principale
Python
Stelle
850
Fork
589
Merge medio
11g 7h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Scottcjn/Rustchain

Tutte le issue di Scottcjn/Rustchain

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.