def is_pytorch_profiler_available() -> bool:
    """
    Indicates whether the new pytorch profiler is available
    (available starting from pytorch version 1.8.1)
    """
    try:

        return True
    except ImportError:
        return False