Deprecation warning: `pyprof` & `reparameterization` (#1348)
* add warning to pyprof
* add warning to reparameterization
note: this module is already not import-able as follows:
```
(base) root@c4bb3f161482:/vscode/apex# python -c 'import torch; import
apex; from apex import reparameterization'
/vscode/apex/apex/pyprof/__init__.py:5: FutureWarning: pyprof will be
removed by the end of June, 2022
warnings.warn("pyprof will be removed by the end of June, 2022",
FutureWarning)
/vscode/apex/apex/reparameterization/__init__.py:2: FutureWarning:
reparameterization will be removed by the end of June, 2022
warnings.warn("reparameterization will be removed by the end of June,
2022", FutureWarning)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/vscode/apex/apex/reparameterization/__init__.py", line 4, in
<module>
from .weight_norm import WeightNorm
File "/vscode/apex/apex/reparameterization/weight_norm.py", line 3, in
<module>
from ..fp16_utils import Fused_Weight_Norm
ImportError: cannot import name 'Fused_Weight_Norm' from
'apex.fp16_utils' (/vscode/apex/apex/fp16_utils/__init__.py)
```
Showing
Please register or sign in to comment