Original project:
https://gitlab.com/risingprismtv/single-gpu-passthrough
You need to change your GPU IDs inside the bash files, as well as adjust the BAR size (and its paths in /sys).
You must also load the VFIO drivers at system startup to avoid issues.