Skip to content

Commit

Permalink
chore(ci): fix gpu integer benchmark workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Nov 22, 2024
1 parent 9da58f6 commit c3def17
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 48 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/benchmark_gpu_integer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
- name: Parse profile
id: parse_profile
run: |
echo "profile=$(echo \"${{ inputs.profile }}\" | sed 's|\(.*\)[[:space:]](.*)|\1|')" >> "${GITHUB_OUTPUT}"
echo "profile=$(echo '${{ inputs.profile }}' | sed 's|\(.*\)[[:space:]](.*)|\1|')" >> "${GITHUB_OUTPUT}"
- name: Parse hardware name
id: parse_hardware_name
run: |
echo "name=$(echo \"${{ inputs.profile }}\" | sed 's|.*[[:space:]](\(.*\))|\1|')" >> "${GITHUB_OUTPUT}"
echo "name=$(echo '${{ inputs.profile }}' | sed 's|.*[[:space:]](\(.*\))|\1|')" >> "${GITHUB_OUTPUT}"
run-benchmarks:
name: Run benchmarks
Expand All @@ -75,12 +75,4 @@ jobs:
op_flavor: ${{ inputs.op_flavor }}
bench_type: ${{ inputs.bench_type }}
all_precisions: ${{ inputs.all_precisions }}
secrets:
FHE_ACTIONS_TOKEN: ${{ secrets.FHE_ACTIONS_TOKEN }}
SLAB_ACTION_TOKEN: ${{ secrets.SLAB_ACTIONS_TOKEN }}
SLAB_BASE_URL: ${{ secrets.SLAB_BASE_URL }}
SLAB_URL: ${{ secrets.SLAB_URL }}
JOB_SECRET: ${{ secrets.JOB_SECRET }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/benchmark_gpu_integer_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
- name: Run benchmarks
run: |
make BENCH_OP_FLAVOR=${{ matrix.op_flavor }} bench_${{ matrix.command }}_gpu
make BENCH_OP_FLAVOR=${{ matrix.op_flavor }} BENCH_TYPE=${{ matrix.bench_type }} bench_${{ matrix.command }}_gpu
- name: Parse results
run: |
Expand Down
40 changes: 4 additions & 36 deletions .github/workflows/benchmark_gpu_integer_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ jobs:
op_flavor: default
bench_type: latency
all_precisions: true
secrets:
FHE_ACTIONS_TOKEN: ${{ secrets.FHE_ACTIONS_TOKEN }}
SLAB_ACTION_TOKEN: ${{ secrets.SLAB_ACTIONS_TOKEN }}
SLAB_BASE_URL: ${{ secrets.SLAB_BASE_URL }}
SLAB_URL: ${{ secrets.SLAB_URL }}
JOB_SECRET: ${{ secrets.JOB_SECRET }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
secrets: inherit

run-benchmarks-2-h100:
name: Run benchmarks (2xH100)
Expand All @@ -39,15 +31,7 @@ jobs:
op_flavor: default
bench_type: latency
all_precisions: true
secrets:
FHE_ACTIONS_TOKEN: ${{ secrets.FHE_ACTIONS_TOKEN }}
SLAB_ACTION_TOKEN: ${{ secrets.SLAB_ACTIONS_TOKEN }}
SLAB_BASE_URL: ${{ secrets.SLAB_BASE_URL }}
SLAB_URL: ${{ secrets.SLAB_URL }}
JOB_SECRET: ${{ secrets.JOB_SECRET }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
secrets: inherit

run-benchmarks-8-h100:
name: Run benchmarks (8xH100)
Expand All @@ -60,15 +44,7 @@ jobs:
op_flavor: default
bench_type: latency
all_precisions: true
secrets:
FHE_ACTIONS_TOKEN: ${{ secrets.FHE_ACTIONS_TOKEN }}
SLAB_ACTION_TOKEN: ${{ secrets.SLAB_ACTIONS_TOKEN }}
SLAB_BASE_URL: ${{ secrets.SLAB_BASE_URL }}
SLAB_URL: ${{ secrets.SLAB_URL }}
JOB_SECRET: ${{ secrets.JOB_SECRET }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
secrets: inherit

run-benchmarks-l40:
name: Run benchmarks (L40)
Expand All @@ -81,12 +57,4 @@ jobs:
op_flavor: default
bench_type: latency
all_precisions: true
secrets:
FHE_ACTIONS_TOKEN: ${{ secrets.FHE_ACTIONS_TOKEN }}
SLAB_ACTION_TOKEN: ${{ secrets.SLAB_ACTIONS_TOKEN }}
SLAB_BASE_URL: ${{ secrets.SLAB_BASE_URL }}
SLAB_URL: ${{ secrets.SLAB_URL }}
JOB_SECRET: ${{ secrets.JOB_SECRET }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
BOT_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
secrets: inherit

0 comments on commit c3def17

Please sign in to comment.