def METHOD_NAME(cls, path: str) -> "NNCFConfig":
    """
    Load NNCF config from a JSON file at `path`.
    :param path: Path to the .json file containing the NNCF configuration.
    """
    file_path = Path(path).resolve()
    with safe_open(file_path) as f:
        loaded_json = json.load(f)
    return cls.from_dict(loaded_json)