nnUNet icon indicating copy to clipboard operation
nnUNet copied to clipboard

LightningDeprecationWarning: pytorch_lightning.core.memory.get_memory_profile and pytorch_lightning.core.memory.get_gpu_memory_map

Open DSRajesh opened this issue 2 years ago • 0 comments

I am getting this error log during a docker image execution "/venv/lib/python3.8/site-packages/pytorch_lightning/core/memory.py:16: LightningDeprecationWarning: pytorch_lightning.core.memory.get_memory_profile and pytorch_lightning.core.memory.get_gpu_memory_map have been moved to pytorch_lightning.utilities.memory since v1.5 and will be removed in v1.7. rank_zero_deprecation( " and one of the solutions suggested is to use the functions of "warnings" python module but "pip install warnings" was not successful. Can any one please tell how to get rid of this "lightning depracation" warning

DSRajesh avatar Apr 20 '22 16:04 DSRajesh