Skip to content

fixes init bundle pytorch versioning#5529

Closed
wyli wants to merge 2 commits intoProject-MONAI:devfrom
wyli:fixes-default-version
Closed

fixes init bundle pytorch versioning#5529
wyli wants to merge 2 commits intoProject-MONAI:devfrom
wyli:fixes-default-version

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Nov 15, 2022

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

Fixes Project-MONAI/model-zoo#201 (comment)

Description

the pypi version might be 1.13.0+cu117
the docker image version might be 1.9.0a0+df837d0

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 --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@wyli wyli requested a review from yiheng-wang-nv November 15, 2022 13:38
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Nov 16, 2022

thanks @yiheng-wang-nv I'll include this patch in #5480 as it's a minor thing for the bundle workflow.

@wyli wyli mentioned this pull request Nov 16, 2022
7 tasks
@wyli wyli closed this Nov 16, 2022
@wyli wyli deleted the fixes-default-version branch November 16, 2022 09:08
Nic-Ma added a commit that referenced this pull request Nov 16, 2022
Signed-off-by: Wenqi Li <[email protected]>

### Description
this PR includes a few minor improvements
- allow string input, such as `device="cuda:1"` for Workflow
- skip stats key metric if `key_metric_name` is None
(monai/handlers/stats_handler.py)
- print incompatible metric values in the warning message
(CheckpointSaver)
- adds a `epochs` parameter for `ShuffleBuffer`
(#5488)
- adds a `output_name_formatter` for `SaveImage`
(#5508)
- simplify torch version in bundle init
(#5529)

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
Co-authored-by: Nic Ma <[email protected]>
bhashemian pushed a commit to bhashemian/MONAI that referenced this pull request Nov 23, 2022
Signed-off-by: Wenqi Li <[email protected]>

### Description
this PR includes a few minor improvements
- allow string input, such as `device="cuda:1"` for Workflow
- skip stats key metric if `key_metric_name` is None
(monai/handlers/stats_handler.py)
- print incompatible metric values in the warning message
(CheckpointSaver)
- adds a `epochs` parameter for `ShuffleBuffer`
(Project-MONAI#5488)
- adds a `output_name_formatter` for `SaveImage`
(Project-MONAI#5508)
- simplify torch version in bundle init
(Project-MONAI#5529)

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
Co-authored-by: Nic Ma <[email protected]>
Signed-off-by: Behrooz <[email protected]>
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.

2 participants