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
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
# Pinned NVIDIA inputs, fetched beforehand with `make inputs`; the build
# itself never touches the network.
GPU_UNLOCK_INPUTS ?= $(HOME)/.cache/gpu-unlock/inputs
ASSETS := $(CURDIR)/debian/gpu-unlock-build/assets
%:
dh $@
override_dh_auto_configure:
test "$$(cat VERSION)" = "$(DEB_VERSION_UPSTREAM)"
override_dh_auto_build:
$(MAKE) INPUTS="$(GPU_UNLOCK_INPUTS)" ASSETS="$(ASSETS)" firmware
override_dh_auto_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp ASSETS="$(ASSETS)" \
install-dkms install-firmware install-initramfs-tools install-dracut