def METHOD_NAME(s3_tarball_path: Path):
    assert str(s3_tarball_path.absolute()).endswith(".tar.gz"), f"Expected .tar.gz file path but get {s3_tarball_path}."
    import tarfile
    data_dir = os.path.join(REPO_ROOT, "torchbenchmark", "data")
    # Hide decompressed file in .data directory so that they won't be checked in
    decompress_dir = os.path.join(data_dir, ".data")
    os.makedirs(decompress_dir, exist_ok=True)
    # Decompress tar.gz file
    directory_name = s3_tarball_path.stem
    target_directory_path = Path(os.path.join(decompress_dir, directory_name))
    # If the directory already exists, we assume it has been decompressed before
    # skip decompression in this case
    if target_directory_path.exists():
        print("OK")
        return
    print(f"decompressing input tarball: {s3_tarball_path}...", end="", flush=True)
    tar = tarfile.open(s3_tarball_path)
    tar.extractall(path=decompress_dir)
    tar.close()
    print("OK")