ollama/kvcache
Jesse Gross ee141cc821 ml: Empty tensor constructor for tensors
In cases where we allocate a tensor and then fully overwrite it with
copied data, it is wasteful to first zero out the memory.
2025-03-01 20:53:23 -08:00
..
cache.go attention: Remove unnecessary contiguous operations 2025-03-01 20:53:23 -08:00
causal.go attention: Remove unnecessary contiguous operations 2025-03-01 20:53:23 -08:00
causal_test.go ml: Empty tensor constructor for tensors 2025-03-01 20:53:23 -08:00
encoder.go ml: Empty tensor constructor for tensors 2025-03-01 20:53:23 -08:00
wrapper.go attention: Remove unnecessary contiguous operations 2025-03-01 20:53:23 -08:00