Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
332 B · 25 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526{ jax, jaxlib, pkgs,}:
pkgs.writers.writePython3Bin "jax-test-cuda" { libraries = [ jax jaxlib ]; } '' import jax from jax import random
assert jax.devices()[0].platform == "gpu"
rng = random.PRNGKey(0) x = random.normal(rng, (100, 100)) x @ x
print("success!") ''