Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
18ddf6d5
Commit
18ddf6d5
authored
Jan 08, 2024
by
Jeffrey Morgan
Browse files
fix windows build
parent
61e65024
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
llm/ext_server_windows.go
llm/ext_server_windows.go
+2
-2
No files found.
llm/ext_server_windows.go
View file @
18ddf6d5
...
...
@@ -4,9 +4,9 @@ import (
"github.com/jmorganca/ollama/api"
)
func
newDefaultExtServer
(
model
string
,
adapters
,
projectors
[]
string
,
numLayers
int64
,
opts
api
.
Options
)
(
extServer
,
error
)
{
func
newDefaultExtServer
(
model
string
,
adapters
,
projectors
[]
string
,
opts
api
.
Options
)
(
extServer
,
error
)
{
// On windows we always load the llama.cpp libraries dynamically to avoid startup DLL dependencies
// This ensures we can update the PATH at runtime to get everything loaded
return
newDynamicShimExtServer
(
AvailableShims
[
"cpu"
],
model
,
adapters
,
projectors
,
numLayers
,
opts
)
return
newDynamicShimExtServer
(
AvailableShims
[
"cpu"
],
model
,
adapters
,
projectors
,
opts
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment