It is used for example in https://github.com/mit-han-lab/once-for-all/blob/80a2e26ef04426213ad836b056234914d33a3c36/ofa/utils/common_tools.py I think it should be added to requirements.txt and/or setup.py