ollama/model/models
Jesse Gross 5c5535c064 models: Prune unused outputs earlier in the forward pass
Currently Rows is called as the last step in a model computation
to get the values for the output tokens. However, if we move it
earlier in the process then we can trim out computations that
never get used. This is similar to how models are defined in
llama.cpp.

Changing the model definition in this way improves token generation
performance by approximately 8%.
2025-02-20 14:49:47 -08:00
..
llama models: Prune unused outputs earlier in the forward pass 2025-02-20 14:49:47 -08:00
mllama models: Prune unused outputs earlier in the forward pass 2025-02-20 14:49:47 -08:00
pixtral models: Move model into their own directory 2025-02-13 17:09:26 -08:00
qwen2vl models: Move model into their own directory 2025-02-13 17:09:26 -08:00
models.go models: Move model into their own directory 2025-02-13 17:09:26 -08:00