mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
chore(installer): document libkrun for GPU passthrough on macOS
This commit is contained in:
parent
7a2bc1b728
commit
a363642734
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# macOS + Podman: ensure VM is running before we try to launch containers
|
# macOS + Podman: ensure VM is running before we try to launch containers
|
||||||
|
# If you need GPU passthrough under Podman on macOS, init the VM with libkrun:
|
||||||
|
# CONTAINERS_MACHINE_PROVIDER=libkrun podman machine init
|
||||||
if [ "$ENGINE" = "podman" ] && [ "$(uname -s)" = "Darwin" ]; then
|
if [ "$ENGINE" = "podman" ] && [ "$(uname -s)" = "Darwin" ]; then
|
||||||
if ! podman info &>/dev/null; then
|
if ! podman info &>/dev/null; then
|
||||||
log "⌛️ Initializing Podman VM…"
|
log "⌛️ Initializing Podman VM…"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue