Skip to content
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
54f2e9e
point sumcheck dependency to HCS private fork
mmagician Feb 19, 2024
b24b714
changed the interface of prove: take MLEs instead of QArrays
mmagician Feb 19, 2024
20b4def
construct a list of products of polys from weights and input
mmagician Feb 19, 2024
1394e8f
Pass committer key to prove method, needed for opening proofs
mmagician Feb 19, 2024
de2b316
Add `F: Absorb` bounds
mmagician Feb 19, 2024
f9fe2ae
use shorthand inside the map
mmagician Feb 19, 2024
7d6078b
Incomplete but compiling BMMProof
mmagician Feb 19, 2024
fa9a3d6
added NodeCommitmentState to proving method
Antonio95 Feb 20, 2024
d792a19
code compiling, several steps missing
Antonio95 Feb 20, 2024
bad5c57
added unpadded inference tests
Antonio95 Feb 20, 2024
8082f34
small refactor
Antonio95 Feb 20, 2024
da48333
added utils/mod.rs
Antonio95 Feb 20, 2024
43957f5
added sha2 dependency
Antonio95 Feb 20, 2024
7597024
progress with the dummy test
Antonio95 Feb 20, 2024
dc80d72
tracking down bug, which is in Brakedown
Antonio95 Feb 20, 2024
22b6295
text change
Antonio95 Feb 20, 2024
e5b5cc1
added bias opening proof
Antonio95 Feb 20, 2024
d634aa6
tiny improvements
Antonio95 Feb 20, 2024
c5b2852
cleaned sponge utils file
Antonio95 Feb 20, 2024
3b5d847
replaced Brakedown by Ligero
Antonio95 Feb 20, 2024
d7793bf
cleaned code
Antonio95 Feb 20, 2024
1802651
cleaned code 2
Antonio95 Feb 20, 2024
60b13c6
dummy test working for two-layer perceptron
Antonio95 Feb 20, 2024
b8cf8ee
added NIO commitments to the inference proof
Antonio95 Feb 21, 2024
13988c2
small rename
Antonio95 Feb 21, 2024
af5ee01
verfy_bmm_node compiling
Antonio95 Feb 21, 2024
4f11066
wip; need to bring changes from parent branch
Antonio95 Feb 21, 2024
f5364e9
inference verification compiling
Antonio95 Feb 21, 2024
d95aa6d
rename
Antonio95 Feb 21, 2024
72f3441
testing without node proofs
Antonio95 Feb 21, 2024
36ff0eb
fixed W opening due to duality and shifted input MLE
Antonio95 Feb 23, 2024
212f0cc
bmm node proof and verification working
Antonio95 Feb 23, 2024
205a3af
entire model proof verifying
Antonio95 Feb 23, 2024
a9e9d10
remove unnecessary nesting
Antonio95 Feb 23, 2024
080857d
added verification test to two-layer perceptron, passing
Antonio95 Feb 23, 2024
433f94d
Use a repo secret in the CI workflows
mmagician Feb 23, 2024
d3de9f2
added mention of simple possible optimisation
Antonio95 Feb 23, 2024
e7b5f83
pcs-bench-templates and pcs crates should use the same revision
mmagician Feb 23, 2024
fc71e44
add features to the Cargo manifest
mmagician Feb 23, 2024
7274aa2
use the updated cache action
mmagician Feb 23, 2024
7bcbcf4
use a plain command for running the test; run without default features
mmagician Feb 23, 2024
6e0fe75
temp run `cargo test` with default features
mmagician Feb 23, 2024
a0a1592
Add two build jobs: default & `--no-default-features`
mmagician Feb 23, 2024
1dabb04
no-std note on ark-pcs-bench-templates
mmagician Feb 23, 2024
69e502d
update deps
mmagician Feb 23, 2024
748f10b
removed reshaping.rs file, overseeded by QArray::compact_rehsape
Antonio95 Feb 26, 2024
ffcf876
tweaked comments and documentaiton of BMM::prove
Antonio95 Feb 26, 2024
a9884f8
removed unnecessary fix_variables function
Antonio95 Feb 26, 2024
76e408f
polished model- and bmm-verification comments
Antonio95 Feb 26, 2024
efb0960
combined opening/verification of output and bias, since point is the …
Antonio95 Feb 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 65 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,64 @@ jobs:
- name: Format
run: cargo +nightly fmt --all -- --check

build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- nightly
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Rust (${{ matrix.rust }})
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching

- name: Add SSH key for private repos
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Build
run: cargo build

build-no-std:
name: Build (no-std)
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- nightly
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Rust (${{ matrix.rust }})
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching

- name: Add SSH key for private repos
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Build
run: cargo build --no-default-features

test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -44,15 +102,13 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- uses: actions/cache@v3
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching

- name: Add SSH key for private repos
uses: webfactory/ssh-agent@v0.9.0
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Test
uses: actions-rs/cargo@v1
with:
command: test
run: cargo test
Loading