Python is a degenerated language without strong typing etc. which will die out at some point just like Perl or Cobol. Don’t listen to short cut answers like “Python is only glue!!!”.
Not all ML workload is best to be written in Python.
Use your tools wisely.
Julia offers as a language a good tool for some ML tasks. Also some libraries are usable for ML https://juliapackages.com/p/autograd . Most of it is for CPU but there are some GPU libs too.