def METHOD_NAME():
    if is_mac:
        # the actual estimate frequently crashes on mac, so we just use 256
        return MaxTileSize(256)
    heap_budget = vkdev.get_heap_budget() * 1024 * 1024 * 0.8
    return MaxTileSize(
        estimate_tile_size(heap_budget, model.model.bin_length, img, 4)
    )