I have a problem with an RTX A5000 when trying to fully dedicate it to Hyper-V. I have a Windows 10 Pro system

I’m building a computer with two graphics cards, one RTX 4090 and one RTX A5000. I want to leave one on the host and the other dedicated to Hyper-V. Could someone help me? I’m having a lot of problems.