In the python eco system you can just replace CUDA with DirectML in at least one popular framework and it just runs. You are limited to windows then though.