MCPcopy
hub / github.com/mudler/LocalAI / LoadOptionThreads

Function LoadOptionThreads

core/config/model_config_loader.go:48–52  ·  view source on GitHub ↗
(threads int)

Source from the content-addressed store, hash-verified

46}
47
48func LoadOptionThreads(threads int) ConfigLoaderOption {
49 return func(o *LoadOptions) {
50 o.threads = threads
51 }
52}
53
54func LoadOptionContextSize(ctxSize int) ConfigLoaderOption {
55 return func(o *LoadOptions) {

Calls

no outgoing calls

Tested by

no test coverage detected