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

オープン
#3,059 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
57

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/cuvs のほかの issue

NVIDIA/cuvs の issue をすべて見る

似ている issue

Data Engineering の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。