mirror of
https://github.com/ollama/ollama.git
synced 2026-07-06 07:41:05 +00:00
Adding/Multiplying a tensor by a scalar w/ a different data type can cause the tensor to be promoted and cause performance issues. This change adds several guards against over-promotion. |
||
|---|---|---|
| .. | ||
| nn.go | ||
| nn_test.go | ||
| recurrent.go | ||
| recurrent_test.go | ||
| rope.go | ||
| sdpa.go | ||
| sdpa_test.go | ||