Trying to run in a docker container on CPU throws LLAMA_ASSERT: /workspace/llama-util.h:101: ret == 0 Aborted #2447
-
Hello, I've been having a blast with llama-cpp, thanks so much to everyone working hard on the development of this. I'm trying to run the binary inside of a linux docker container. It runs fine on my host machine (intel i7, no gpu) when compiled for mac os, but when trying to execute this in multiple different flavors of linux inside docker, I get this error:
I'm not sure exactly what this means or how to reconcile it. If anyone here is capable of shedding some light on this/helping me troubleshoot, it would be greatly appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I also get this same error by following the documentation in the readme for docker exactly
|
Beta Was this translation helpful? Give feedback.
-
Solved - the issue is the volume. If you explicitly copy the binary to the container instead of mounting it, everything works as expected. This tracks, docker desktop with mac has deep performance issues with volumes. Going to close this thread, ty 4 coming 2 my ted talk |
Beta Was this translation helpful? Give feedback.
Solved - the issue is the volume. If you explicitly copy the binary to the container instead of mounting it, everything works as expected.
This tracks, docker desktop with mac has deep performance issues with volumes. Going to close this thread, ty 4 coming 2 my ted talk