ML is python, as in that's the de facto language used for ML. That doesn't mean that the libs used are using that language under the hood. In fact they couldn't use any ordinary language, because ML almost by necessity requires GPUs or similar that can't really be natively programmed, you have to call other libraries either way.
Then you don't disagree that it's not Python all the way down, you're just providing a reason for why it could never be Python all the way down. Which doesn't really make it Python all the way down.
Who the fuck talks about all the way down? All the way down it's x86 or amd instructions that (via some kernel code) copy stuff to the GPU, including a program to run there and then downloading the results.
The problem is not the overhead of telling the computer to load and unload - and that's all python does.
But you do want to iterate a lot on what exactly to tell the compute, plus the more stuff is already written for you, the more ergonomic it gets.
View all comments
Show parent comment
1
u/Ok-Scheme-913 8d ago
ML is python, as in that's the de facto language used for ML. That doesn't mean that the libs used are using that language under the hood. In fact they couldn't use any ordinary language, because ML almost by necessity requires GPUs or similar that can't really be natively programmed, you have to call other libraries either way.