ollama/ml/backend/ggml
Jesse Gross 392a270261 ggml: Avoid cudaMemsetAsync during memory fitting
We pass invalid pointers when we check the size of the required
compute graph before fitting. Some CUDA APIs validate these pointers
but we can just skip them during this phase. cudaMemsetAsync is one
of these that we weren't skipping but never took the code path that
used it. Now that we have enabled op_offload, we can hit it in
memory pressured situations.
2025-10-31 15:23:28 -07:00
..
ggml ggml: Avoid cudaMemsetAsync during memory fitting 2025-10-31 15:23:28 -07:00
ggml.go ggml: Enable op_offload to improve partial offload performance 2025-10-30 13:53:10 -07:00
ggml_test.go tests: add tests and docs for commonly used ops (#12844) 2025-10-30 10:32:45 -07:00
quantization.go chore: fix some inconsistent function name in comment 2025-08-13 09:50:27 -07:00
threads.go ollama debug tensor 2025-03-11 14:49:19 -07:00
threads_debug.go ollama debug tensor 2025-03-11 14:49:19 -07:00