[PR #14920] [CLOSED] WIP #77213

Closed
opened 2026-05-05 09:53:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14920
Author: @dsmith111
Created: 3/18/2026
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • dc85b44 DirectML GPU + ONNX NPU support

📊 Changes

44 files changed (+6921 additions, -21 deletions)

View changed files

📝 CMakeLists.txt (+40 -20)
📝 CMakePresets.json (+14 -0)
_tools/cgo_clang_wrapper.c (+55 -0)
_tools/cgo_clangpp_wrapper.c (+52 -0)
_tools/npu_access_probe.cpp (+261 -0)
_tools/npu_winml_probe.cpp (+191 -0)
_tools/test_dml_enum.c (+102 -0)
_tools/test_dml_load.c (+52 -0)
build_directml.bat (+3 -0)
build_dml.ps1 (+3 -0)
cgo-clang.bat (+35 -0)
📝 discover/runner.go (+3 -0)
📝 envconfig/config.go (+2 -0)
📝 llama/llama.cpp/src/unicode.cpp (+3 -1)
ml/backend/ggml/ggml/include/ggml-directml.h (+27 -0)
📝 ml/backend/ggml/ggml/src/CMakeLists.txt (+1 -0)
📝 ml/backend/ggml/ggml/src/ggml-backend-reg.cpp (+1 -0)
ml/backend/ggml/ggml/src/ggml-directml/CMakeLists.txt (+28 -0)
ml/backend/ggml/ggml/src/ggml-directml/ggml-directml.cpp (+3897 -0)
📝 ml/device.go (+9 -0)

...and 24 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14920 **Author:** [@dsmith111](https://github.com/dsmith111) **Created:** 3/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`dc85b44`](https://github.com/ollama/ollama/commit/dc85b44c278ba512514602a1d956ac2e11d99ed6) DirectML GPU + ONNX NPU support ### 📊 Changes **44 files changed** (+6921 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+40 -20) 📝 `CMakePresets.json` (+14 -0) ➕ `_tools/cgo_clang_wrapper.c` (+55 -0) ➕ `_tools/cgo_clangpp_wrapper.c` (+52 -0) ➕ `_tools/npu_access_probe.cpp` (+261 -0) ➕ `_tools/npu_winml_probe.cpp` (+191 -0) ➕ `_tools/test_dml_enum.c` (+102 -0) ➕ `_tools/test_dml_load.c` (+52 -0) ➕ `build_directml.bat` (+3 -0) ➕ `build_dml.ps1` (+3 -0) ➕ `cgo-clang.bat` (+35 -0) 📝 `discover/runner.go` (+3 -0) 📝 `envconfig/config.go` (+2 -0) 📝 `llama/llama.cpp/src/unicode.cpp` (+3 -1) ➕ `ml/backend/ggml/ggml/include/ggml-directml.h` (+27 -0) 📝 `ml/backend/ggml/ggml/src/CMakeLists.txt` (+1 -0) 📝 `ml/backend/ggml/ggml/src/ggml-backend-reg.cpp` (+1 -0) ➕ `ml/backend/ggml/ggml/src/ggml-directml/CMakeLists.txt` (+28 -0) ➕ `ml/backend/ggml/ggml/src/ggml-directml/ggml-directml.cpp` (+3897 -0) 📝 `ml/device.go` (+9 -0) _...and 24 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 09:53:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#77213