Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
davedx
9 months ago
|
parent
|
context
|
favorite
| on:
I don't like NumPy
> This is indeed twice as fast as the vectorized implementation, but, disappointingly, the naive implementation with loops is even faster.
On CPU or GPU?
kccqzy
9 months ago
[–]
This is NumPy we are discussing. It doesn't use the GPU.
threeducks
9 months ago
|
parent
[–]
To be fair, you could replace `import numpy as np` with `import cupy as np` and it would run on GPU without further changes. It is not any good though. PyTorch is roughly 12 times faster.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
On CPU or GPU?