mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 17:58:12 +01:00
This refactors the main run loop of the ollama runner to perform the main GPU intensive tasks (Compute+Floats) in a go routine so we can prepare the next batch in parallel to reduce the amount of time the GPU stalls waiting for the next batch of work.