← All projects
Project record1 mention
Originally shared on Hacker News

Palladium

A JAX Pallas demo for Apple GPUs that translates JAX jaxprs into Metal Shading Language, compiles the generated shaders, and executes them with buffers exchanged between Python and native code via nanobind. Built as an exercise to learn MSL, GPU kernel programming, and brush up on numerical computing.

Last shared
01 / Source history

Shared over time

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

  1. Palladium

    A JAX Pallas demo for Apple GPUs that translates JAX jaxprs into Metal Shading Language, compiles the generated shaders, and executes them with buffers exchanged between Python and native code via nanobind. Built as an exercise to learn MSL, GPU kernel programming, and brush up on numerical computing.

    Posted by @njng · Original source ↗

    Source text · @njng · · Source ↗

    I'm currently working on a JAX Pallas demo for Apple GPU that works by translating jaxprs into Metal shading language, compiling that, and then executing with buffers from Python exchanged with nanobind.