Skip to content

InitContext, part 4 - Use init!! to replace evaluate_and_sample!!, predict, returned, and initialize_values #318

InitContext, part 4 - Use init!! to replace evaluate_and_sample!!, predict, returned, and initialize_values

InitContext, part 4 - Use init!! to replace evaluate_and_sample!!, predict, returned, and initialize_values #318

Workflow file for this run

name: Enzyme on demo models
on:
push:
branches:
- main
pull_request:
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
# Cancel existing tests on the same PR if a new commit is added to a pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
enzyme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1"
- uses: julia-actions/cache@v2
- name: Run AD with Enzyme on demo models
working-directory: test/integration/enzyme
run: |
julia --project=. --color=yes -e 'using Pkg; Pkg.instantiate()'
julia --project=. --color=yes main.jl