2595 Add support for the set_to_none arg in optimizer#2596
2595 Add support for the set_to_none arg in optimizer#2596Nic-Ma merged 10 commits intoProject-MONAI:devfrom
Conversation
|
/black |
|
/integration-test |
Signed-off-by: Nic Ma <[email protected]>
|
Hi @Nic-Ma, there's a change conflict here in case you didn't see it |
|
/black |
|
Hi @wyli , Seems our PyTorch 1.7 CI test is not running with official PyTorch 1.7(our version is 1.7.0a0+8deb4fe)? Thanks. |
|
Hi @wyli , Should I change this line to use PyTorch 1.7.1 version instead? Thanks. |
that is supposed to test nvidia's pytorch docker image, changing that is a separate topic. |
|
Hi @wyli , I want to double confirm the root cause is that the docker customized PyTorch 1.6 to make a 1.7a version in it, right? Thanks. |
yes, 1.7a is actually some 1.6.x, btw looks like this flag is accurate: Line 296 in 813368b if it doesn't work we change to "<=1.7" |
Signed-off-by: Nic Ma <[email protected]>
|
/black |
|
I think if there's no cyclic import, we can |
Signed-off-by: Nic Ma <[email protected]>
Sure, thanks for the suggestion, I didn't notice this global variable. Thanks. |
|
/black |
Signed-off-by: monai-bot <[email protected]>
Fixes #2595 .
Description
This PR added support to set the
set_to_nonearg for optimizer in our workflows.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.