mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 22:33:56 +00:00
backend: Don't return an error on Close
It is not common to return errors with close/free operations - most people won't check it and even if they did there's probably not much that can do. It's better to not give implementations false expectations.
This commit is contained in:
@@ -50,7 +50,7 @@ type Context interface {
|
||||
|
||||
Forward(Tensor)
|
||||
Compute(Tensor) Tensor
|
||||
Close() error
|
||||
Close()
|
||||
}
|
||||
|
||||
type Tensor interface {
|
||||
|
||||
Reference in New Issue
Block a user