2399 update ignite to v0.4.5#2451
Conversation
|
/black |
|
/integration-test |
|
just for a discussion, will MONAI have better (backward) compatibility support if we have |
|
Hi @wyli , Basically, if we don't have a special dependency on ignite v0.4.5,
When ignite v0.4.6 or v0.5 release, If we don't have any special dependency, we can use Thanks. |
|
my main concern is that essentially for any user's code such as |
|
is it possible to have |
|
Hi @wyli , Thanks for your suggestion. Thanks. |
|
@Nic-Ma I have a question if it could be possible to handle package version in 1 or 2 places instead of modifying a lot of python files ? Otherwise, I think |
|
Hi @vfdev-5 , Thanks for your review and suggestions. Thanks. |
|
I think @vfdev-5 's point was there there's 28 files being modified here to upgrade the version, most of these are changing the Also could we not just require version 0.4.4 as a minimum requirement, eg. |
|
@ericspod thanks for explaining my point. I was thinking basically about something like: from monai.utils import exact_version, optional_import, optional_ignite_version
Events, _ = optional_import("ignite.engine", optional_ignite_version, exact_version, "Events")and such that we could either define |
|
/black |
Signed-off-by: monai-bot <[email protected]>
66e2e1e to
2096b8f
Compare
Signed-off-by: Nic Ma <[email protected]>
|
Hi @wyli , @ericspod and @vfdev-5 , Thanks for your review and suggestions. Thanks. |
|
/black |
|
/integration-test |
Fixes #2399 .
Description
This PR updated the ignite dependency to the latest version(0.4.5), it will support a list of Tensor in metrics, which aligns with our
decollatedesign and our latest metrics arch.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.