Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Native Metal runtime rejects uint4b_format on macOS 26.3

Aperta
#451 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

Start from the linked evidence folder (probe, build command, compiler logs) and the failing shader zig/kernels/metal/nemotron/coop_eh_1_0_sk.metal, locating where uint4b_format is used or injected. Then trace the runtime path that calls Library.fromSource with CompileOptions.mlx() and compare its flags/SDK against the xcrun -sdk macosx metal command that succeeds. Done means the runtime compiler accepts the stock shader, though reproducing requires the reported macOS 26.3 / Apple Silicon setup.

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

Descrizione

The native Nemotron server exits with KernelCompile on this Mac. A small probe reproduces the compiler error without model weights.

Environment: M3 Ultra, macOS 26.3 (25D125), Xcode 26.5 (17F42), Metal compiler 32023.883, Zig 0.17.0. TensorFold: zig-flashnext at 88c424e5350a702372771915507bcbed9d513546.

The stock shader is zig/kernels/metal/nemotron/coop_eh_1_0_sk.metal. SHA256: 231d0a1b6abf4051b94ce5fc6aeee2934548a2a07e0aba43abd826b342c2d63f.

Three fresh runtime compiler processes fail with:

program_source:37:17: error: unknown type name 'uint4b_format'

The probe uses Library.fromSource and CompileOptions.mlx(): Metal 4.0, safe math, fast fp32 functions. The offline command succeeds on the same source:

xcrun -sdk macosx metal -std=metal4.0 -fmetal-math-mode=safe -fmetal-math-fp32-functions=fast -c zig/kernels/metal/nemotron/coop_eh_1_0_sk.metal -o compile-probe.air

Expected: the runtime compiler accepts the stock shader. Actual: compilation fails before model inference. No token or decode-speed comparison occurred.

Portable probe, build command, compiler logs, and startup receipt. The precise SDK or driver cause remains unknown. Other macOS versions and Apple chips are untested.

Lingua principale
Python
Stelle
995
Fork
169
Merge medio
3h 48m
PR unite (30g)
20

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 ashhart/TensorFold

Tutte le issue di ashhart/TensorFold

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.