Skip to content

Commit

Permalink
v0.0.5 (#132)
Browse files Browse the repository at this point in the history
* fix power gate (#128)

* Recursive Verifier (#127)

* tmp

* transcript refactor

* transcript refactor

* tmp

* tm[

* v1

* rm proof txt file

* clippy

* minor

* fmt

* tmp fix

* fix

* fix errors in merge

* minor

* file location update

* clean up

* clean up

* fix grinding

* lock/unlock proof in transcript

* testing script

* update script

* hash test in rust

* minor

* script update

* update script

* update script

* tmp

* fix expander-exec

* fmt

* Lagrange Form Bi kzg update (#130)

* tmp

* clean up

* fix clippy

* fix clippy

* add a bit more tests

* minor

---------

Co-authored-by: zhenfei <[email protected]>

* [impl] adding sumcheck-cuda (#131)

* stats code & release binary (#135)

* stats code

* release binary

* fix-binary-release (#136)

* Reuse eq_evals in prover, verifier, and recursive verifier (#138)

* reduce randomness and reuse eq evals

* add recursion in ci

* add recursion in ci

* pcs trait v1 (#140)

* pcs trait v1

* &mut for pcs scheme

* remove &mut self for verify

* add cache for CI

* Update nightly_e2e.yml

---------

Co-authored-by: zhenfei <[email protected]>
Co-authored-by: Zhiyong Fang <[email protected]>
Co-authored-by: Simon Lau <[email protected]>
  • Loading branch information
4 people authored Nov 11, 2024
1 parent db84f47 commit 64145bd
Show file tree
Hide file tree
Showing 136 changed files with 11,375 additions and 834 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
name: build-expander-exec
name: build-release-binary
on:
release:
types: [released]
types: [published]

env:
RUSTFLAGS: "-Dwarnings"
RUSTFLAGS: "-Dwarnings -C target-cpu=native"
RUST_BACKTRACE: 1

jobs:
build:
strategy:
matrix:
platform: [macos, 7950x3d]
include:
- platform: macos
ci_image: macos-latest
flags: ''
- platform: linux-avx2
ci_image: ubuntu-latest
flags: 'RUSTFLAGS="-C target-feature=+avx2"'
runs-on: ${{ matrix.ci_image }}
- os: macos-latest
binary_name: expander-macos
- os: 7950x3d
feature: avx2
binary_name: expander-linux-avx2
- os: 7950x3d
feature: avx512f
binary_name: expander-linux-avx512
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
# The prefix cache key, this can be changed to start a new cache manually.
prefix-key: "mpi-v5.0.5" # update me if brew formula changes to a new version
- name: Install MPI
run: python3 ./scripts/install.py
- name: Set RUSTFLAGS for AVX
if: matrix.feature != ''
run: echo "RUSTFLAGS=$RUSTFLAGS -C target-feature=+${{ matrix.feature }}" >> $GITHUB_ENV
- name: Prepare binary
run: ${{ matrix.flags }} cargo build --release --bin expander-exec
run: cargo build --release --bin expander-exec
- name: Upload release asset
uses: actions/github-script@v6
with:
Expand All @@ -37,6 +44,6 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: ${{ github.event.release.id }},
name: 'expander-exec-${{ matrix.platform }}',
name: '${{ matrix.binary_name }}',
data: await fs.readFile('target/release/expander-exec')
});
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
cargo run --bin=dev-setup --release
cargo build --all-features --release
cargo test --all-features --release --workspace
./scripts/test_recursion.py
gkr-e2e:
name: Benchmark (${{ matrix.os }}${{ matrix.feature != '' && format(', {0}', matrix.feature) || '' }}, ${{ matrix.field }})
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/nightly_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-09-01
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
# The prefix cache key, this can be changed to start a new cache manually.
prefix-key: "mpi-v5.0.5" # update me if brew formula changes to a new version

- name: Set up Go
uses: actions/setup-go@v2
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ output.txt

# idea
.idea/
/data

# vscode settings
.vscode/
Loading

0 comments on commit 64145bd

Please sign in to comment.