Hi Abdul Majeed Mohamed Fathir ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Navigate to the Azure portal and create a new Azure virtual machine>>Select the region>>choose the image: Windows Server 2016 Datacenter, followed by selecting the VM size: NV series, which supports GPU, and requesting quota. Finally, click on create.
Please follow these to install GPU drivers on VMs running Windows: Supported operating systems and drivers
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it."