-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ramalama fails to detect that I have a podman machine with libkrun #760
Comments
Does the podman machine list command always fail, or only if there are two machines, one with vfkit and one with libkrun? |
it fails it my machine is not using the default provider ( applehv) or if libkrun is default but my machine using applehv In short: it fails to recognize if there is a non default provider type machine |
So we should just specify it in RamaLama, although@ericcurtin reported the option was not available on his laptop. This this option come in post 5.2? @ericcurtin what version of podman do you have installed? |
5.2.3 I think we need a bigger coding fix in general closing for now, also the container_manager() function is called 4 times in a typical run, not good for performance that level of forking. It's too late it my timezone closing. |
Reopening, meant closing the PR |
#763 reopened here and simplified the solution |
It happens when manually setting the type of the podman machine
Let's start a podman machine using the command
CONTAINERS_MACHINE_PROVIDER=libkrun podman machine init --now
The
podman machine list
command is not seing the machineramalama/ramalama/common.py
Lines 38 to 44 in 9d02f7d
so it won't use podman to launch the model.
That said the machine is started
and if I use
RAMALAMA_CONTAINER_ENGINE=podman ramalama serve instructlab/merlinite-7b-lab
it worksThe text was updated successfully, but these errors were encountered: