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

Abierto
#3,059 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, cpp
Área
data, performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Cuda
Estrellas
902
Forks
267
Merge medio
2 d 21 h
PR fusionados (30 d)
57

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/cuvs

Todos los issues de NVIDIA/cuvs

Issues similares

Más issues de Data Engineering

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.