mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
chore: select benchmark name in benchmark workflow
This commit is contained in:
13
.github/workflows/benchmark.yml
vendored
13
.github/workflows/benchmark.yml
vendored
@@ -16,6 +16,14 @@ on:
|
||||
options:
|
||||
- cpu
|
||||
- gpu
|
||||
benchmark_name:
|
||||
description: 'Benchmark name'
|
||||
required: true
|
||||
default: 'standard'
|
||||
type: choice
|
||||
options:
|
||||
- standard
|
||||
- application
|
||||
ec2-instance-type:
|
||||
description: 'EC2 instance type'
|
||||
required: true
|
||||
@@ -133,6 +141,11 @@ jobs:
|
||||
echo "CUDAHOSTCXX=/usr/bin/g++-${{ env.GCC_VERSION }}" >> "${GITHUB_ENV}"
|
||||
echo "CUDACXX=$CUDA_PATH/bin/nvcc" >> "${GITHUB_ENV}"
|
||||
|
||||
- name: Setup environment variable for benchmark target
|
||||
if: ${{ env.BENCHMARK_NAME != 'standard' }}
|
||||
run |
|
||||
echo "BENCHMARK_TARGET=${{ env.BENCHMARK_TARGET }}-${{ env.BENCHMARK_NAME }}" >> "${GITHUB_ENV}"
|
||||
|
||||
- name: Install rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user