Feature Request: P40 KV Tail optimization

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp

調査の方向性

Reproduce the failure on a P40 with KV tail enabled, using the reported message KV tail layer 3 native operation is unsupported by its planned backend CUDA0; refusing scheduler fallback as the entry point. Trace where backend capability checks reject the KV tail operation and identify which native operations CUDA0 does not support on this GPU. Done means the P40 can initialize and run with KV tail without that refusal, or the unsupported operation is handled through an allowed fallback.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Prerequisites
  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description

So on P40 gpus right now kv tail doesn't work because of some unsupported ops.

0.04.306.042 E llama_init_from_model: failed to initialize the context: KV tail layer 3 native operation is unsupported by its planned backend CUDA0; refusing scheduler fallback

I don't know enough myself on how all that works but I'd love to have that available for these older gpus for some better performance for tasks that don't quite otherwise fit.

Motivation

Wider GPU support for some older but still useful gpus

Possible Implementation

No response

主要言語
C++
スター
1.2k
フォーク
80
平均マージ
4日 20時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Anbeeld/beellama.cpp のほかの issue

Anbeeld/beellama.cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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