-
Hello, I am trying to generate the same output using llama.cpp but the outputs vary depending on the operating system (different binaries). As far as I know, I am using the same parameters. Do you have an idea what could cause this? What can I do to ensure that the same output is generated? I am doing my experiments on docker. alpine
debian
centos
Ubuntu
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
can you try and use the same binary on all platforms, so we can see if it is actually the operating system/hardware. this comes down to floating point imprecisions on various hardware and compilers and compilation flags. |
Beta Was this translation helpful? Give feedback.
-
Everything is running on the same hardware, therefore, it comes to the os/libraries. I don't succeed to create a binary that is working on all OSs, I am not sure if it is possible. |
Beta Was this translation helpful? Give feedback.
try setting LLAMA_STATIC when building. and build it on the os with the oldest glibc. that should result in a pretty portable binary.