To use GPUs or other PCI devices you need to work with PCI passthrough. For documentation you can look in the Proxmox wiki. There is also an article on reddit, that focusses especially on windows 10 VMs with GPU passthrough.