Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ Lock
Method
Lock
pkg/grpc/interface.go:11–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
type
AIModel
interface
{
10
Busy() bool
11
Lock()
12
Unlock()
13
Locking() bool
14
Predict(*pb.PredictOptions) (string, error)
Callers
15
__init__
Method · 0.65
__init__
Method · 0.65
test_concurrent_fetch_and_insert_no_corruption
Method · 0.65
test_concurrent_operations_maintain_cache_bounds
Method · 0.65
loadStyle
Method · 0.65
SoundDetection
Method · 0.65
Free
Method · 0.65
opus_test.go
File · 0.65
evictLoop
Method · 0.65
getOrCreateDecoder
Method · 0.65
AudioDecode
Method · 0.65
TTSStream
Method · 0.65
Implementers
1
Base
pkg/grpc/base/base.go
Calls
no outgoing calls
Tested by
15
test_concurrent_fetch_and_insert_no_corruption
Method · 0.52
test_concurrent_operations_maintain_cache_bounds
Method · 0.52
cstr
Method · 0.52
record
Method · 0.52
snapshot
Method · 0.52
Record
Method · 0.52
Perform
Method · 0.52
snapshot
Method · 0.52
Perform
Method · 0.52
snapshot
Method · 0.52
Perform
Method · 0.52
count
Method · 0.52