You would have to deploy a Virtual Machine that has a GPU card. If you need more GPU RAM then you need to resize the Virtual Machine to a larger size.
Please review the GPU enabled VM sizes here: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-gpu
I would recommend the following two VM families:
https://learn.microsoft.com/en-us/azure/virtual-machines/nvv3-series
https://learn.microsoft.com/en-us/azure/virtual-machines/nvv4-series