MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / is_clip_model

Function is_clip_model

diffusers/src/diffusers/loaders/single_file_utils.py:385–389  ·  view source on GitHub ↗
(checkpoint)

Source from the content-addressed store, hash-verified

383
384
385def is_clip_model(checkpoint):
386 if CHECKPOINT_KEY_NAMES["clip"] in checkpoint:
387 return True
388
389 return False
390
391
392def is_clip_sdxl_model(checkpoint):

Calls

no outgoing calls

Tested by

no test coverage detected