tutorials
tutorials copied to clipboard
drop the check of `monai.utils.get_torch_version_tuple() >= (1, 6)`
Describe the bug because the core codebase now requires at least torch 1.6
As in lines like amp=True if monai.utils.get_torch_version_tuple() >= (1, 6) else False
where we choosing to use AMP only if available? If Pytorch 1.6 is assumed to always be used then yes we should. So far these are the only places get_torch_version_tuple
is used.
Yes, it's mainly for the amp flag.
I've removed the checks and created a PR for it.