mirror of
https://github.com/zkonduit/ezkl.git
synced 2026-01-14 08:48:01 -05:00
195 lines
6.2 KiB
YAML
195 lines
6.2 KiB
YAML
name: Benchmarks
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tags:
|
|
description: "Test scenario tags"
|
|
|
|
jobs:
|
|
|
|
bench_poseidon:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench poseidon
|
|
run: cargo bench --verbose --bench poseidon
|
|
|
|
bench_einsum_accum_matmul:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench einsum accum matmul
|
|
run: cargo bench --verbose --bench accum_einsum_matmul
|
|
|
|
bench_accum_matmul_relu:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum matmul relu
|
|
run: cargo bench --verbose --bench accum_matmul_relu
|
|
|
|
bench_accum_matmul_relu_overflow:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum matmul relu
|
|
run: cargo bench --verbose --bench accum_matmul_relu_overflow
|
|
|
|
bench_relu:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench relu
|
|
run: cargo bench --verbose --bench relu
|
|
|
|
bench_accum_dot:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum dot
|
|
run: cargo bench --verbose --bench accum_dot
|
|
|
|
bench_accum_conv:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum conv
|
|
run: cargo bench --verbose --bench accum_conv
|
|
|
|
bench_accum_sumpool:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum sumpool
|
|
run: cargo bench --verbose --bench accum_sumpool
|
|
|
|
bench_pairwise_add:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench pairwise add
|
|
run: cargo bench --verbose --bench pairwise_add
|
|
|
|
bench_accum_sum:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench accum sum
|
|
run: cargo bench --verbose --bench accum_sum
|
|
|
|
bench_pairwise_pow:
|
|
permissions:
|
|
contents: read
|
|
runs-on: self-hosted
|
|
needs: [bench_poseidon]
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 #v1.0.6
|
|
with:
|
|
toolchain: nightly-2023-06-27
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Bench pairwise pow
|
|
run: cargo bench --verbose --bench pairwise_pow
|