diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 6478590..3eb3158 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -26,16 +26,16 @@ jobs: runs-on: ubuntu-latest outputs: runner-name: ${{ steps.start-instance.outputs.label }} - instance-id: ${{ steps.start-instance.outputs.ec2-instance-id }} steps: - name: Start instance id: start-instance - uses: zama-ai/slab-github-runner@ab65ad70bb9f9e9251e4915ea5612bcad23cd9b1 + uses: zama-ai/slab-github-runner@1dced74825027fe3d481392163ed8fc56813fb5d with: mode: start github-token: ${{ secrets.SLAB_ACTION_TOKEN }} slab-url: ${{ secrets.SLAB_BASE_URL }} job-secret: ${{ secrets.JOB_SECRET }} + backend: aws profile: bench fft-benchmarks: @@ -166,13 +166,12 @@ jobs: steps: - name: Stop instance id: stop-instance - uses: zama-ai/slab-github-runner@ab65ad70bb9f9e9251e4915ea5612bcad23cd9b1 + uses: zama-ai/slab-github-runner@1dced74825027fe3d481392163ed8fc56813fb5d with: mode: stop github-token: ${{ secrets.SLAB_ACTION_TOKEN }} slab-url: ${{ secrets.SLAB_BASE_URL }} job-secret: ${{ secrets.JOB_SECRET }} - profile: bench label: ${{ needs.setup-ec2.outputs.runner-name }} - name: Slack Notification diff --git a/ci/slab.toml b/ci/slab.toml index 32c904c..85c6846 100644 --- a/ci/slab.toml +++ b/ci/slab.toml @@ -1,7 +1,4 @@ -[profile.bench] +[backend.aws.bench] region = "eu-west-1" image_id = "ami-0f96f17e9f652c6ab" instance_type = "hpc7a.96xlarge" - -[command] -# Slab needs at least an empty [command] as placeholder to parse this file.