Proposal: Add --engine-args parameter for engine/podman parameters #2703
Replies: 2 comments
|
The good news: I was able to use The bad news: i don't think there's a point in using Ramalama if I am using podman to start the container with its --label init sequence? In the end, I think Ramalama should expose a parameter to allow us to add additional Docker/Podman engine attributes, much like how I think being before the Action command makes it generic across all actions (serve, bench, run, etc) . |
|
Agree on adding engine-args option. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We have
--runtime-argsto pass arbitrary parameters intollama-serveand other commands.We need the same for the underlying podman/docker engine container runtime. This will allow us to pass additional parameters into Podman for things like mounting additional files, like
mmprojfiles needed. Something like:Example use:
Original post below:
I may be missing something; but, I am not able to get
mmprojfiles working with Ramalama.ramalama servelooks to bind mount the model passed as a parameter as/mnt/models/<filename>.gguf. However, passing--mmprojinto the--runtime-argsdoesn't work as the mmproj files are not mounted.I searched the codebase here for some type of file glob pattern that I can rename my mmproj file to or something, for some kind of auto-detect, but I came up short.
I see there has been a PR merged that allows for mmproj files to be specified in the .container files when
--generate quadletis used. This may be a fallback approach; but right now, I just want to mount and test various models - not setup each and every model as a full blown Systemd service.If Ramalama is going to limit what can be mounted then we may need some type of auto-detection based on a naming convention for additional models. Otherwise, there has to be additional parameters to control new bindings. One or the other.
All reactions