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
c00fee69
Unverified
Commit
c00fee69
authored
Apr 11, 2024
by
Daniel Hiltgen
Committed by
GitHub
Apr 11, 2024
Browse files
Merge pull request #3604 from dhiltgen/fix_rocm_deps
Fix rocm deps with new subprocess paths
parents
786f3a1c
c2d813bd
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 @
c00fee69
...
...
@@ -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