Hey, I’m trying to run the unsigned 64bit integer throughput bench on cpu for a certain set of parameters
__TFHE_RS_PARAM_TYPE=classical _TFHE_RS_BENCH_TYPE=throughput cargo bench --bench integer-bench --features=integer,internal-keycache,nightly-avx512,pbs-stats -p tfhe-benchmark --
or editing the root makefile:
BENCH_TYPE?=throughput
BENCH_PARAM_TYPE?=classical
BENCH_PARAMS_SET?=default
and then running: make bench_integer
The default parameters for the bench are PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128
. I want to force this benchmark to its 2^-64 pfail variant, V1_1_PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64
.
Edited tfhe-benchmark/src/param_alias.rs
to add those parameters:
// KS PBS TUniform
pub const BENCH_PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64: ClassicPBSParameters =
V1_1_PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64;
Edited line 449 to be those default parameters on cpu for integer params in tfhe-benchmark/src/params.rs
:
let params = vec![BENCH_PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64.into()];
however even after cleaning the project it doesnt seem to recognize the change and still uses the original V1_3_PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128
benchmarks.
If you could point me in the right direction how to change the parameter set that would be great.