Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ollama/ollama
/ Close
Method
Close
ml/backend.go:18–18 ·
view source on GitHub ↗
Close frees all memory associated with this backend
()
Source
from the content-addressed store, hash-verified
16
type
Backend
interface
{
17
// Close frees all memory associated with this backend
18
Close()
19
20
Load(ctx context.Context, progress
func
(float32)) error
21
Callers
15
FindPort
Function · 0.65
TestOpenAIAudioTranscription
Function · 0.65
TestOpenAIChatWithAudio
Function · 0.65
zstdCompress
Function · 0.65
callFollowUpChat
Method · 0.65
ResponsesMiddleware
Function · 0.65
TranscriptionMiddleware
Function · 0.65
createBinFile
Function · 0.65
digestForFile
Function · 0.65
filesForModel
Function · 0.65
NewTextProcessor
Function · 0.65
WebSearch
Function · 0.65
Calls
no outgoing calls
Tested by
15
FindPort
Function · 0.52
TestOpenAIAudioTranscription
Function · 0.52
TestOpenAIChatWithAudio
Function · 0.52
zstdCompress
Function · 0.52
createBinFile
Function · 0.52
TestSafetensors
Function · 0.52
TestSafetensorWriteToFP8E4M3
Function · 0.52
TestSafetensorWriteToFP8E4M3UsesConfiguredBlockSize
Function · 0.52
convertFull
Function · 0.52
TestConvertModel
Function · 0.52
TestConvertInvalidTensorNames
Function · 0.52
TestConvertInvalidDatatype
Function · 0.52