Using GPUs for the compression #198
-
Hi Johnnie, I have been using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @benjaminlanthier, yes that is the essential idea - the array operators are dispatched based on the data they are supplied with, and indeed jax defaults to gpu if available else falls back to cpu. Note that to get good performance out of jax has historically required jit-compiling the functions - it less works well as a dynamic array library in the vein of numpy or torch. |
Beta Was this translation helpful? Give feedback.
Hi @benjaminlanthier, yes that is the essential idea - the array operators are dispatched based on the data they are supplied with, and indeed jax defaults to gpu if available else falls back to cpu.
Note that to get good performance out of jax has historically required jit-compiling the functions - it less works well as a dynamic array library in the vein of numpy or torch.