ollama/server
Jesse Gross f560bd077f llm: Use Ollama engine memory layouts for both old and new engines
Currently for both the old and new engines, there is code to
calculate how much memory is required for a model and lay out
the layers onto GPUs. This reuses the new engine's lay out code
for the old engine as well, bringing them closer together. The
old engine continues to use its current method of estimating
required memory.

This reduces maintainence effort and improves consistency, as new
features only need to be implemented in one place. The newer code
is also more accurate, especially with multiple GPUs.
2025-11-11 13:11:08 -08:00
..
internal
auth.go
create.go create: inherit FROM model's renderer/parser 2025-10-27 15:14:19 -07:00
create_test.go
download.go server: fix duplicate 'is' typo in comment (#12985) 2025-11-06 14:44:44 -08:00
fixblobs.go
fixblobs_test.go
images.go
images_test.go
layer.go
logprob.go server: add logprobs and top_logprobs support to Ollama's API (#12899) 2025-11-11 08:49:50 -08:00
manifest.go
manifest_test.go
model.go
modelpath.go
modelpath_test.go
prompt.go
prompt_test.go
quantization.go
quantization_test.go
routes.go server: add logprobs and top_logprobs support to Ollama's API (#12899) 2025-11-11 08:49:50 -08:00
routes_create_test.go create: inherit FROM model's renderer/parser 2025-10-27 15:14:19 -07:00
routes_debug_test.go api: add omitempty to required tool function parameter type (#12989) 2025-11-06 14:08:55 -08:00
routes_delete_test.go fs(ggml): fill in arch prefix if necessary (#12646) 2025-10-20 16:42:18 -07:00
routes_generate_renderer_test.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
routes_generate_test.go server: add logprobs and top_logprobs support to Ollama's API (#12899) 2025-11-11 08:49:50 -08:00
routes_harmony_streaming_test.go api: add omitempty to required tool function parameter type (#12989) 2025-11-06 14:08:55 -08:00
routes_list_test.go
routes_test.go
sched.go llm: Use Ollama engine memory layouts for both old and new engines 2025-11-11 13:11:08 -08:00
sched_test.go app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
sparse_common.go
sparse_windows.go
upload.go