containers / ai-lab-recipes

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

Use --installed to get kernel version for packages to be installed #628

Closed javipolo closed 4 months ago

javipolo commented 4 months ago

This fix should pin the kernel version to the one of the installed kernel-core package, which should always be the same one

This will solve when sometimes the modules are built for different versions, or other weird things:

[root@localhost modules]# find . | grep nvidia
./5.14.0-427.13.1.el9_4.x86_64/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko.xz
./5.14.0-427.22.1.el9_4.x86_64/extra/drivers/video/nvidia
./5.14.0-427.22.1.el9_4.x86_64/extra/drivers/video/nvidia/nvidia-drm.ko