Feature Request: P40 KV Tail optimization

Offen
#118 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
cpp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
C++
Sterne
1.2k
Forks
80
Ø Merge
4 T. 20 Std.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Anbeeld/beellama.cpp

Alle Issues in Anbeeld/beellama.cpp

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.