containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
103 stars 106 forks source link

Fix NVIDIA FabricManager unit file #733

Closed fabiendupont closed 1 month ago

fabiendupont commented 1 month ago

In the nvidia-bootc Containerfile, the condition on the existence of /dev/nvswitchctl in the nvidia-fabricmanager unit file is not persisted, because we don't use the -i option of sed, so the final image still always tries to load the service. This change adds the -i option to fix this.