Description
Although our documentation is explicit
Line 82 in a05d817
our runtime warnings are really vague:
vision/torchvision/models/_utils.py
Lines 135 to 139 in ecbed7b
vision/torchvision/models/_utils.py
Lines 208 to 211 in ecbed7b
vision/torchvision/models/_utils.py
Lines 213 to 217 in ecbed7b
Apart from not committing to an explicit removal date, we are not even committing to removing this in general, i.e.
may be removed
In #7176 (comment) we decided to not remove this functionality together with all other scheduled removals for 0.15.
However, we should decide on the future of this. Here are some options that I see:
- Make the date in the runtime warnings explicit and remove afterwards. Abiding by our own BC policy, we probably need to use 0.17 as removal date. At that point, users saw the warning for 4 releases and thus roughly 1 year, which gave them plenty time to migrate.
- Remove the documentation of the legacy API, but keep supporting it silently, i.e. no warnings. Going this route would mean that new users won't know about the legacy API, but old code doesn't need to be updated.
- Keep everything as is.
My order of preference is 1. > 2. > 3.