mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
chore(ci): change benchmark parser input name
The use of "schema" was incorrect since it's meant to be used as database name when sending data to Slab.
This commit is contained in:
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@@ -130,7 +130,7 @@ jobs:
|
||||
COMMIT_DATE="$(git --no-pager show -s --format=%cd --date=iso8601-strict ${{ github.sha }})"
|
||||
COMMIT_HASH="$(git describe --tags --dirty)"
|
||||
python3 ./ci/benchmark_parser.py compiler/benchmarks_results.json ${{ env.RESULTS_FILENAME }} \
|
||||
--schema compiler_benchmarks \
|
||||
--database compiler_benchmarks \
|
||||
--hardware ${{ env.EC2_INSTANCE_TYPE }} \
|
||||
--project-version ${COMMIT_HASH} \
|
||||
--branch ${{ github.ref_name }} \
|
||||
|
||||
2
.github/workflows/ml_benchmark_subset.yml
vendored
2
.github/workflows/ml_benchmark_subset.yml
vendored
@@ -100,7 +100,7 @@ jobs:
|
||||
COMMIT_DATE="$(git --no-pager show -s --format=%cd --date=iso8601-strict ${{ github.sha }})"
|
||||
COMMIT_HASH="$(git describe --tags --dirty)"
|
||||
python3 ./ci/benchmark_parser.py compiler/benchmarks_results.json ${{ env.RESULTS_FILENAME }} \
|
||||
--schema compiler_benchmarks \
|
||||
--database compiler_benchmarks \
|
||||
--hardware ${{ inputs.instance_type }} \
|
||||
--project-version ${COMMIT_HASH} \
|
||||
--branch ${{ github.ref_name }} \
|
||||
|
||||
@@ -16,8 +16,8 @@ parser.add_argument('results_path',
|
||||
'In a case of a directory, this script will attempt to parse all the'
|
||||
'files containing a .json extension'))
|
||||
parser.add_argument('output_file', help='File storing parsed results')
|
||||
parser.add_argument('-s', '--schema', dest='schema', required=True,
|
||||
help='Name of the database schema used to store results')
|
||||
parser.add_argument('-d', '--database', dest='database', required=True,
|
||||
help='Name of the database used to store results')
|
||||
parser.add_argument('-w', '--hardware', dest='hardware', required=True,
|
||||
help='Hardware reference used to perform benchmark')
|
||||
parser.add_argument('-V', '--project-version', dest='project_version', required=True,
|
||||
@@ -74,7 +74,7 @@ def dump_results(parsed_results, filename, input_args):
|
||||
"""
|
||||
filename.parent.mkdir(parents=True, exist_ok=True)
|
||||
series = {
|
||||
"schema": input_args.schema,
|
||||
"database": input_args.database,
|
||||
"hardware": input_args.hardware,
|
||||
"project_version": input_args.project_version,
|
||||
"branch": input_args.branch,
|
||||
|
||||
Reference in New Issue
Block a user