Your GeForce runs AI at half speed. This fixes it for 20/30/40 series cards. Up to 2× FP16 / BF16 / TF32 tensor throughput
C
#!/bin/sh
set -e
#DEBHELPER#
# dkms has built gpu_unlock for every kernel with headers. Put it and its
# firmware into their initramfs so that it runs before nvidia; kernels
# installed later get both from the dkms and initramfs-tools kernel hooks.
if [ "$1" = configure ] && command -v update-initramfs >/dev/null; then
update-initramfs -u -k all
fi