Powered by AppSignal & Oban Pro

Test python

notebooks/test-python.livemd

Test python

Mix.install([
  {:pythonx, "~> 0.4.2"},
  {:kino_pythonx, "~> 0.1.0"}
])
[project]
name = "project"
version = "0.0.0"
requires-python = "==3.13.*"
dependencies = ["aoe", "jax[cuda12]"]

Section

import jax
r=jax.devices()
r |> Pythonx.decode() |> hd()