This actually works on AlmaLinux 9.7 and should also work on 10.1.
I was encountering an issue where firmware was unable to load early on boot;
nvidia 0000:2d:00.0: Direct firmware load for nvidia/590.44.01/gsp_ga10x.bin failed with error -2
[drm:nv_drm_dev_load [nvidia_drm]]ERROR[nvidia-drm] [GPU ID 0x00002d00] Failed to allocate NvKmsKapiDevice
This was resolved by adding the firmware to the initramfs through dracut.
# cat /etc/dracut.conf.d/nvidia-gsp.conf
install_items+=" /lib/firmware/nvidia/590.44.01/gsp_ga10x.bin "
I likely encountered this due to LUKS encrypted partition.