ggml-org/llama.cpp

ggml : add DirectML backend

Open

#7 772 ouverte le 5 juin 2024

Voir sur GitHub
 (20 commentaires) (40 réactions) (0 assignés)C++ (18 202 forks)batch import
help wantedresearch 🔬roadmap

Métriques du dépôt

Stars
 (110 169 stars)
Métriques de merge PR
 (Merge moyen 6j 8h) (389 PRs mergées en 30 j)

Description

It seems like DirectML supports the upcoming NPU-enabled chips for Windows machines: https://devblogs.microsoft.com/directx/introducing-neural-processor-unit-npu-support-in-directml-developer-preview/

I don't think there is any other way to tap into this hardware, so we should explore if it possible to add this library as a backend in ggml in order to run stuff on the NPUs. There has been some semi-related work in the past that combined ggml and Direct3D: https://github.com/Const-me/Whisper. Not sure if it is relevant at all, maybe just as an inspiration

Guide contributeur