Skip to content

start with spack example #1

start with spack example

start with spack example #1

Workflow file for this run

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Set up Spack
uses: spack/setup-spack@v2
with:
ref: develop # Spack version (examples: develop, releases/v0.21)
buildcache: true # Configure oci://ghcr.io/spack/github-actions-buildcache
color: true # Force color output (SPACK_COLOR=always)
path: spack # Where to clone Spack
- run: spack install py-jax
- run: spack load py-jax && python -c 'import jax.numpy as jp; print(jp.zeros(8).device)'