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
fdcdfef6
Unverified
Commit
fdcdfef6
authored
Jan 19, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jan 19, 2024
Browse files
Merge pull request #2099 from dhiltgen/fix_cuda_model_swap
Switch to local dlopen symbols
parents
dc88cc39
6a042438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/dyn_ext_server.c
llm/dyn_ext_server.c
+1
-1
No files found.
llm/dyn_ext_server.c
View file @
fdcdfef6
...
...
@@ -59,7 +59,7 @@ void dyn_init(const char *libPath, struct dynamic_llama_server *s,
};
printf
(
"loading library %s
\n
"
,
libPath
);
s
->
handle
=
LOAD_LIBRARY
(
libPath
,
RTLD_
G
LO
B
AL
|
RTLD_NOW
);
s
->
handle
=
LOAD_LIBRARY
(
libPath
,
RTLD_LO
C
AL
|
RTLD_NOW
);
if
(
!
s
->
handle
)
{
err
->
id
=
-
1
;
char
*
msg
=
LOAD_ERR
();
...
...
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