MCPcopy Create free account
hub / github.com/Monalissaa/DisenDiff / available_models

Function available_models

clip/clip.py:68–70  ·  view source on GitHub ↗

Returns the names of available CLIP models

()

Source from the content-addressed store, hash-verified

66
67
68def available_models() -> List[str]:
69 """Returns the names of available CLIP models"""
70 return list(_MODELS.keys())
71
72
73def load(name: str, device: Union[str, torch.device] = "cuda" if torch.cuda.is_available() else "cpu", jit=True):

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected