Skip to content

Commit e121161

Browse files
authored
Merge pull request #167 from docker/aarch64
This also applies to Linux aarch64
2 parents 8e14fdd + f10f021 commit e121161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/inference/backends/llamacpp/llamacpp_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ type Config struct {
2020
func NewDefaultLlamaCppConfig() *Config {
2121
args := append([]string{"--jinja", "-ngl", "999", "--metrics"})
2222

23-
// Special case for Windows ARM64
24-
if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
23+
// Special case for ARM64
24+
if runtime.GOARCH == "arm64" {
2525
// Using a thread count equal to core count results in bad performance, and there seems to be little to no gain
2626
// in going beyond core_count/2.
2727
if !containsArg(args, "--threads") {

0 commit comments

Comments
 (0)