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

未关闭
#3,059 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, cpp
领域
data, performance

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Cuda
星标
902
派生
267
平均合并
2 天 21 小时
30 天内合并 PR
57

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/cuvs 的其他 Issue

查看 NVIDIA/cuvs 的全部 Issue

相似的 Issue

更多 Data Engineering Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。