File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ jobs:
1919 steps :
2020 - name : Start Paperspace machine
2121 env :
22- PAPERSPACE_API_KEY : ${{ vars .PAPERSPACE_API_KEY }}
23- MACHINE_ID : ${{ vars .PAPERSPACE_MACHINE_ID }}
22+ PAPERSPACE_API_KEY : ${{ secrets .PAPERSPACE_API_KEY }}
23+ MACHINE_ID : ${{ secrets .PAPERSPACE_MACHINE_ID }}
2424 run : |
2525 set -euo pipefail
2626
2727 if [ -z "${PAPERSPACE_API_KEY}" ] || [ -z "${MACHINE_ID}" ]; then
28- echo "::error::PAPERSPACE_API_KEY and PAPERSPACE_MACHINE_ID variables must be set."
28+ echo "::error::PAPERSPACE_API_KEY and PAPERSPACE_MACHINE_ID secrets must be set."
2929 exit 1
3030 fi
3131
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ The aggregation mode runs on a Paperspace GPU server. To avoid paying for the GP
1515
1616The workflow needs:
1717
18- - ` PAPERSPACE_API_KEY ` repository ** variable ** — a Paperspace API key.
19- - ` PAPERSPACE_MACHINE_ID ` repository ** variable ** — the id of the GPU machine.
18+ - ` PAPERSPACE_API_KEY ` repository ** secret ** — a Paperspace API key.
19+ - ` PAPERSPACE_MACHINE_ID ` repository ** secret ** — the id of the GPU machine.
2020
2121## Setup on Server with GPU
2222
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ read -p "Enter a block number for Risc0 (last_aggregated_block): " num && echo "
122122mkdir -p $HOME /repos/aggregation_mode/mainnet
123123cd $HOME /repos/aggregation_mode/mainnet
124124git clone https://github.com/yetanotherco/aligned_layer.git
125+ cd aligned_layer # Subsequent relative paths (cargo --path, ./infra/...) resolve from the repo root
125126# Build the proof_aggregator
126127# make proof_aggregator_install
127128cargo install --path aggregation_mode/proof_aggregator --features prove,gpu --bin proof_aggregator_gpu --locked
You can’t perform that action at this time.
0 commit comments