Add MXFP4 and MXINT8 microscaling formats

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, pytorch

Direzione di ricerca

Read src/bitsmith/quant/fp8.py for the table-based codec approach and locate the technical guide and bitsmith sqnr implementation. Implement MXFP4 and MXINT8 with one E8M0 scale per block of 32 elements, then add round-trip tests for known values. Done means both formats appear in bitsmith sqnr with 4.25 and 8.25 bits per weight.

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

Descrizione

area: formats enhancement

The OCP Microscaling (MX) formats share one 8-bit power-of-two scale (E8M0) per block of
32 elements. MXFP4 elements are FP4 E2M1; MXINT8 elements are int8.

Task: implement both as codecs, reusing the table-based approach from
src/bitsmith/quant/fp8.py for E2M1, and document the layout in the technical guide.

Done when both formats round trip with tested known values and appear in
bitsmith sqnr with correct bits per weight (4.25 and 8.25).

Lingua principale
Python
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 yashwanthdevavarapu/bitsmith

Tutte le issue di yashwanthdevavarapu/bitsmith

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.