Instruction step-by-step:
1) Enable iommu on proxmox host:
https://pve.proxmox.com/wiki/Pci_passthrough
2) Download NVIDIA vGPU for Linux KVM (NVIDIA-Linux-x86_64-430.67-vgpu-kvm.run or newer) from
https://nvid.nvidia.com/dashboard/
3) Execute code on proxmox host
Code:
chmod +x NVIDIA-Linux-x86_64-430.67-vgpu-kvm.run
apt install gcc make pve-headers-`uname -r`
./NVIDIA-Linux-x86_64-430.67-vgpu-kvm.run
mkdir /usr/lib64
ln -s /usr/lib/x86_64-linux-gnu/libnvidia-ml.so /usr/lib64/libnvidia-ml.so
ln -s /usr/lib/x86_64-linux-gnu/libnvidia-vgxcfg.so /usr/lib64/libnvidia-vgxcfg.so
ln -s /usr/lib/x86_64-linux-gnu/libnvidia-vgpu.so /usr/lib64/libnvidia-vgpu.so
ln -s /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so /usr/lib64/libnvidia-cfg.so
4) Reboot proxmox host
5) Add it all vm with diffrent uuid 'args: -uuid 00000000-0000-0000-0000-000000000100' to vm file /etc/pve/local/qemu-server/100.conf