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
c2d813bd
Commit
c2d813bd
authored
Apr 11, 2024
by
Daniel Hiltgen
Browse files
Fix rocm deps with new subprocess paths
parent
786f3a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Dockerfile
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
c2d813bd
...
...
@@ -42,7 +42,7 @@ ARG CGO_CFLAGS
ARG
AMDGPU_TARGETS
RUN
OLLAMA_SKIP_CPU_GENERATE
=
1 sh gen_linux.sh
RUN
mkdir
/tmp/scratch
&&
\
for
dep
in
$(
cat
/go/src/github.com/ollama/ollama/llm/
llama.cpp/
build/linux/x86_64/rocm
*
/
lib
/deps.txt
)
;
do
\
for
dep
in
$(
z
cat /go/src/github.com/ollama/ollama/llm/build/linux/x86_64/rocm
*
/
bin
/deps.txt
.gz
)
;
do
\
cp
${
dep
}
/tmp/scratch/
||
exit
1
;
\
done
&&
\
(
cd
/opt/rocm/lib
&&
tar
cf - rocblas/library
)
|
(
cd
/tmp/scratch/
&&
tar
xf -
)
&&
\
...
...
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