Skip to content

Commit

Permalink
Use exclusive nodes for test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
fpjentzsch committed Jan 21, 2025
1 parent 99fd038 commit 96bbd75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ FINN Test Suite 2022.2:
# Otherwise run if there was no prior failure
- when: on_success
variables:
SCHEDULER_PARAMETERS: "-A $PROJECT_ACCOUNT -p normal -t $SLURM_TIMEOUT --nodes 1 --ntasks 1 --cpus-per-task $CPU_CORES --mem 128G"
SCHEDULER_PARAMETERS: "-A $PROJECT_ACCOUNT -p normal -t $SLURM_TIMEOUT --nodes 1 --ntasks 1 --cpus-per-task $CPU_CORES --mem 192G --exclusive"
PYTEST_PARALLEL: "$CPU_CORES"
FINN_SINGULARITY: "$PATH_SINGULARITY_IMG/finn-plus/finn_dev.sif"
FINN_XILINX_VERSION: "2022.2"
Expand Down
3 changes: 2 additions & 1 deletion docker/quicktest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ elif [ $1 = "main" ]; then
pytest -k 'not (rtlsim or end2end)' --dist=loadfile -n $PYTEST_PARALLEL
elif [ $1 = "rtlsim" ]; then
echo "Running rtlsim test suite with pytest-parallel"
pytest -k rtlsim --workers $PYTEST_PARALLEL
# there are end2end tests which also have rtlsim in their name, but not vice versa
pytest -k 'rtlsim and not end2end' --workers $PYTEST_PARALLEL
elif [ $1 = "end2end" ]; then
echo "Running end2end test suite with no parallelism"
# filtering by name "end2end" is not sufficient, as the bnn tests need to be selected by a marker
Expand Down

0 comments on commit 96bbd75

Please sign in to comment.