inference: Supported on darwin/arm64 only

Signed-off-by: Dorin Geman <dorin.geman@docker.com>
This commit is contained in:
Dorin Geman 2025-03-14 11:13:21 +02:00 committed by Jacob Howard
parent 2bbd26fdeb
commit 4c46f589d7
No known key found for this signature in database
GPG Key ID: 3E8B8F7FEB46FC66
1 changed files with 1 additions and 2 deletions

View File

@ -7,6 +7,5 @@ import (
// Supported returns whether or not the current host platform is supported for
// inference operations. This support should expand over time.
func Supported() bool {
return (runtime.GOOS == "windows" && runtime.GOARCH == "amd64") ||
(runtime.GOOS == "darwin" && runtime.GOARCH == "arm64")
return runtime.GOOS == "darwin" && runtime.GOARCH == "arm64"
}