I think you are getting downvoted because you're mixing up terms. Ryzen is a CPU architecture brand (which all the deep learning libraries can use). You're wondering if CUDA-accelerated PyTorch (if there's an NVIDIA card) or a ROCm-modified Linux kernel + PyTorch (if there's an AMD card) would work correctly.
I think that's a reasonable question to ask! I think a lot of this landed earlier though: https://blogs.windows.com/windowsdeveloper/2020/06/17/gpu-ac...