[FEA] Use native int8/uint8 vectors with int tensor cores for GPiPNN build

Aperta
#3,059 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, cpp
Ambito
data, performance

Direzione di ricerca

The GPiPNN build path is where every input is converted to fp16 before the fused GEMM, so start by finding that conversion step and the GEMM dispatch in the cuVS GPU build code. Understanding int8 tensor core kernels and the shared memory budget is needed before changing any of it. Done would mean int8/uint8 inputs reach the GEMM without a conversion copy, with results matching the fp16 path on the existing tests.

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

Descrizione

feature request

GPiPNN initial build converts every datatype to fp16 to keep everything on a single execution path and using fp GEMMs. Directly using int8 and uint8 vectors when give should improve performance and reduce memory footprint for these datasets. This would give the following benefits:

  • No conversion copy and require only 1 byte per element instead of 3.
  • Half the operand traffic of the fp16 code path
  • Potentially faster GEMM with int8 tensor cores
  • Reduced shared memory footprint, making the fused path apply for larger dimension int8 datasets.
Lingua principale
Cuda
Stelle
902
Fork
267
Merge medio
2g 21h
PR unite (30g)
57

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 NVIDIA/cuvs

Tutte le issue di NVIDIA/cuvs

Issue simili

Altre issue su Data Engineering

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.