def cache_checkpoint(filename):
    try:
        filename = get_mmskeleton_url(filename)
        load_url_dist(get_mmskeleton_url(filename))
    except (urllib.error.HTTPError, urllib.error.URLError) as e:
        raise Exception(url_error_message.format(filename)) from e
def cache_checkpoint(filename):
    try:
        filename = get_mmskeleton_url(filename)
        load_url_dist(get_mmskeleton_url(filename))
    except (urllib.error.HTTPError, urllib.error.URLError) as e:
        raise Exception(url_error_message.format(filename)) from e