def get_build_config(): if TORCH_VERSION == 'parrots': from parrots.config import get_build_info return get_build_info() else: return torch.__config__.show()
def get_build_config(): if torch.__version__ == 'parrots': from parrots.config import get_build_info return get_build_info() else: return torch.__config__.show()