Skip to content

2542 add use_deterministic_algorithms flag#2543

Merged
wyli merged 7 commits intoProject-MONAI:devfrom
wyli:2542-deterministic
Jul 7, 2021
Merged

2542 add use_deterministic_algorithms flag#2543
wyli merged 7 commits intoProject-MONAI:devfrom
wyli:2542-deterministic

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Jul 7, 2021

Signed-off-by: Wenqi Li [email protected]

Fixes #2542

Description

  • adds use_deterministic_algorithms to set_determinism
  • moved monai.utils.module.has_option to monai.utils.misc to avoid circular import

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@wyli wyli requested review from Nic-Ma, ericspod and rijobro July 7, 2021 12:25
@wyli wyli marked this pull request as ready for review July 7, 2021 15:36
@wyli wyli enabled auto-merge (squash) July 7, 2021 16:38
wyli added 2 commits July 7, 2021 19:38
@madil90
Copy link
Copy Markdown
Contributor

madil90 commented Jul 7, 2021

/build

@wyli wyli force-pushed the 2542-deterministic branch 2 times, most recently from bbab531 to 831798f Compare July 7, 2021 20:16
wyli added 5 commits July 7, 2021 22:37
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli force-pushed the 2542-deterministic branch from 831798f to 014d176 Compare July 7, 2021 21:39
@wyli wyli merged commit df76a20 into Project-MONAI:dev Jul 7, 2021
@wyli wyli deleted the 2542-deterministic branch July 7, 2021 22:30
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.

support of torch.use_deterministic_algorithms

3 participants