"graphbolt/vscode:/vscode.git/clone" did not exist on "236490719327418acc2fa3423f690c725b88b6bb"
Unverified Commit f84537e0 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #1934 from jmorganca/mxyng/fix-slices

fix build and lint
parents de2fbdec d2be6387
......@@ -2,6 +2,7 @@ package llm
import (
"context"
"fmt"
"log"
"os"
"runtime"
......
......@@ -3,13 +3,13 @@ package llm
import (
"errors"
"fmt"
"golang.org/x/exp/slices"
"io"
"io/fs"
"log"
"os"
"path/filepath"
"runtime"
"slices"
"strings"
"github.com/jmorganca/ollama/gpu"
......@@ -76,7 +76,7 @@ func getDynLibs(gpuInfo gpu.GpuInfo) []string {
}
}
// Finaly, if we didn't find any matches, LCD CPU FTW
// Finally, if we didn't find any matches, LCD CPU FTW
if len(dynLibs) == 0 {
dynLibs = []string{availableDynLibs["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