Skip to content

multiprocessing only with num_cores - #1117

Merged
janfb merged 4 commits into
mainfrom
1111-test_benchmarking_parallel_simulation-fails-on-ci-for-one-configuration
Apr 2, 2024
Merged

janfb merged 4 commits into
mainfrom
1111-test_benchmarking_parallel_simulation-fails-on-ci-for-one-configuration

Conversation

@manuelgloeckler

@manuelgloeckler manuelgloeckler commented Apr 2, 2024 •

Copy link
Copy Markdown
Contributor

Fix for failing tests on workflow

Restrict to number of cores that your machine actually has to fix.

fixes #1111

@manuelgloeckler

Copy link
Copy Markdown
Contributor Author

@Baschdl Just implement what was discussed in #1111 i.e. setting workers to 2 and I also relaxed the assert a bit. To get #1063 merged.

Does work for me also with -n auto.

Comment thread tests/multiprocessing_test.py Resolved
@janfb
janfb merged commit c8b87c3 into main Apr 2, 2024
@janfb
janfb deleted the 1111-test_benchmarking_parallel_simulation-fails-on-ci-for-one-configuration branch April 2, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_benchmarking_parallel_simulation fails on CI for one configuration

3 participants