mirror of https://github.com/ollama/ollama.git
Currently, when the backend is created, the tensors are loaded at the same time, which is a slow operation. This separates them to be two steps: - Create backend, including enumerating tensors and memory allocation - Loading tensor data This allows more flexibility in managing model loading. |
||
|---|---|---|
| .. | ||
| ggml.go | ||
| ggml_test.go | ||
| gguf.go | ||
| gguf_test.go | ||
| type.go | ||