← All projects
Project record1 mention
Originally shared on Hacker News

Performance Portability Study: NumPy to JAX/PyTorch

This research project converts a Python application from loops to NumPy vectorization to JAX and PyTorch compilation, exploring the performance portability of these frameworks across different devices and backends including GPUs, and benchmarks the results against hand-optimized C++ implementations, which so far remain the fastest.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Performance Portability Study: NumPy to JAX/PyTorch

    This research project converts a Python application from loops to NumPy vectorization to JAX and PyTorch compilation, exploring the performance portability of these frameworks across different devices and backends including GPUs, and benchmarks the results against hand-optimized C++ implementations, which so far remain the fastest.

    Posted by @FattiMei · Original source ↗

    Source text · @FattiMei · · Source ↗

    A research project on converting a python application from loops to numpy vectorization to jax and pytorch compilation (the latter is fast!). I'm exploring the performance portability of such frameworks across different devices and backends (also gpu). I have also C++ hand optimized implementations that so far are unbeaten