From 9708cc7fe928be2d4c2dce57c241a244cc454945 Mon Sep 17 00:00:00 2001 From: Agnes Leroy Date: Mon, 15 Dec 2025 17:21:04 +0100 Subject: [PATCH] chore(gpu): remove core crypto from valgrind run --- .github/workflows/gpu_code_validation_tests.yml | 6 +++--- scripts/check_memory_errors.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gpu_code_validation_tests.yml b/.github/workflows/gpu_code_validation_tests.yml index 2cd506ab6..79da9fa02 100644 --- a/.github/workflows/gpu_code_validation_tests.yml +++ b/.github/workflows/gpu_code_validation_tests.yml @@ -23,8 +23,8 @@ on: # Allows you to run this workflow manually from the Actions tab as an alternative. workflow_dispatch: schedule: - # every 3 months - - cron: "0 0 1 */3 *" + # every month + - cron: "0 0 1 * *" permissions: contents: read @@ -50,7 +50,7 @@ jobs: slab-url: ${{ secrets.SLAB_BASE_URL }} job-secret: ${{ secrets.JOB_SECRET }} backend: hyperstack - profile: gpu-test + profile: single-h100 # This instance will be spawned especially for pull-request from forked repository - name: Start GitHub instance diff --git a/scripts/check_memory_errors.sh b/scripts/check_memory_errors.sh index 524035e58..0f6298972 100755 --- a/scripts/check_memory_errors.sh +++ b/scripts/check_memory_errors.sh @@ -32,10 +32,9 @@ fi RUSTFLAGS="$RUSTFLAGS" cargo nextest list --cargo-profile "${CARGO_PROFILE}" \ --features=integer,internal-keycache,gpu-debug,zk-pok -p tfhe &> /tmp/test_list.txt -# Filter the tests to get only the HL and a subset of core crypto ones -TESTS_TO_RUN=$(sed -e $'s/\x1b\[[0-9;]*m//g' < /tmp/test_list.txt | grep -E 'high_level_api::.*gpu.*|core_crypto::.*gpu.*' | grep -v 'array' | grep -v 'modulus_switch' | grep -v '3_3' | grep -v 'noise_distribution' | grep -v 'flip') - if [[ "${RUN_VALGRIND}" == "1" ]]; then + TESTS_TO_RUN=$(sed -e $'s/\x1b\[[0-9;]*m//g' < /tmp/test_list.txt | grep -E 'high_level_api::.*gpu.*' | grep -v 'array' | grep -v 'flip') + # Build the tests but don't run them RUSTFLAGS="$RUSTFLAGS" cargo test --no-run --profile "${CARGO_PROFILE}" \ --features=integer,internal-keycache,gpu-debug,zk-pok -p tfhe @@ -57,6 +56,7 @@ if [[ "${RUN_VALGRIND}" == "1" ]]; then fi if [[ "${RUN_COMPUTE_SANITIZER}" == "1" ]]; then + TESTS_TO_RUN=$(sed -e $'s/\x1b\[[0-9;]*m//g' < /tmp/test_list.txt | grep -E 'high_level_api::.*gpu.*|core_crypto::.*gpu.*' | grep -v 'array' | grep -v 'modulus_switch' | grep -v '3_3' | grep -v 'noise_distribution' | grep -v 'flip') # Build the tests but don't run them RUSTFLAGS="$RUSTFLAGS" cargo test --no-run --profile "${CARGO_PROFILE}" \ --features=integer,internal-keycache,gpu,zk-pok -p tfhe