mirror of
https://github.com/luxfhe/ml-sdk.git
synced 2026-10-30 18:13:04 +00:00
Machine Learning with FHE - fork of Zama Concrete-ML - Built-in FHE-friendly ML models - scikit-learn compatible API - PyTorch model conversion - Quantization-aware training
23 lines
461 B
Bash
Executable File
23 lines
461 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
PYTEST_FILES=$(find tests -name "*.py")
|
|
|
|
OUTPUT_FILE="execution_time_of_individual_pytest_files.txt"
|
|
|
|
rm -f ${OUTPUT_FILE}
|
|
|
|
echo "Execution time for:" >> ${OUTPUT_FILE}
|
|
|
|
for PYTEST_FILE in $PYTEST_FILES
|
|
do
|
|
start=$(date +%s)
|
|
|
|
poetry run pytest \
|
|
--randomly-dont-reorganize \
|
|
--randomly-dont-reset-seed \
|
|
"${PYTEST_FILE}"
|
|
|
|
end=$(date +%s)
|
|
echo " ${PYTEST_FILE}: $((end - start)) seconds" >> ${OUTPUT_FILE}
|
|
done
|