CV/ML takes a lot of resources, so If you wanted to have an advantage by choosing a certain linux distro, I'd suggest one that sets up a super minimal system.
In reality, choose any distro. Want suggestions? Then perhaps linux mint If you are new to linux.
if you want something RHEL-adjacent without the overhead, Rocky Linux or AlmaLinux give you the same base for free and are worth a look.