def list_pretrained_tag_models(tag: str):
    """ return all models having the specified pretrain tag """
    models = []
    for k in _PRETRAINED.keys():
        if tag in _PRETRAINED[k]:
            models.append(k)
    return models
 return all models having the specified pretrain tag 
kosmos-2/open_clip/src/open_clip/pretrained.py