"tests/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "f0a400464b4aeebc1421a128b5f48c8da358265a"
Unverified Commit 4458efb7 authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

Load all layers on `arm64` macOS if model is small enough (#2149)

parent ceea5994
......@@ -70,7 +70,8 @@ func New(workDir, model string, adapters, projectors []string, opts api.Options)
break
}
opts.NumGPU = 1
// TODO: implement layer splitting on macOS
opts.NumGPU = 999
default:
if info.Library == "cpu" {
slog.Info("GPU not available, falling back to CPU")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment