Merge github.com:ollama/ollama into vulkan

This commit is contained in:
pufferffish
2025-02-03 14:44:30 +00:00
547 changed files with 5820 additions and 11480 deletions

View File

@@ -290,12 +290,3 @@ func Values() map[string]string {
func Var(key string) string {
return strings.Trim(strings.TrimSpace(os.Getenv(key)), "\"'")
}
// On windows, we keep the binary at the top directory, but
// other platforms use a "bin" directory, so this returns ".."
func LibRelativeToExe() string {
if runtime.GOOS == "windows" {
return "."
}
return ".."
}