You can try enabling the GPU through passthrough so that you can dedicate the GPU in the Hyper V. But make sure you have met with all Prerequisites which are listed below.
- Verify that your GPU device is supported by your server vendor.
- Verify that your GPU can be used in passthrough mode.
- Verify whether your GPU device maps memory regions with a total size of 16 GB or more.
Hope this resolves your Query!!
----------
--If the reply is helpful, please Upvote and Accept it as an answer--