Re:I Don't Like NumPy
by zdevito on Thursday May 15, 2025 @04:43PM
(#43999149)
I tried to do something similar with 'first-class' dimension objects in PyTorch https://github.com/pytorch/pytorch/blob/main/functorch/dim/R... .
For instance multi-head attention looks like:
However, my impression trying to get a wider userbase is that while numpy-style APIs maybe are not as good as some better array language, they might not be the bottleneck for getting things done in PyTorch. However, other domains might suffer more, and I am very excited to see a better array language catch on.
[ Parent
| on HN ]
There are no comments on this comment yet.