Load all layers on arm64
macOS if model is small enough (#2149)
This commit is contained in:
parent
ceea599494
commit
4458efb73a
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ func New(workDir, model string, adapters, projectors []string, opts api.Options)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
opts.NumGPU = 1
|
// TODO: implement layer splitting on macOS
|
||||||
|
opts.NumGPU = 999
|
||||||
default:
|
default:
|
||||||
if info.Library == "cpu" {
|
if info.Library == "cpu" {
|
||||||
slog.Info("GPU not available, falling back to CPU")
|
slog.Info("GPU not available, falling back to CPU")
|
||||||
|
|
Loading…
Reference in a new issue