MCPcopy Index your code
hub / github.com/huggingface/diffusers / main

Function main

scripts/convert_blipdiffusion_to_diffusers.py:334–336  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

332
333
334def main(args):
335 model, _, _ = load_model_and_preprocess("blip_diffusion", "base", device="cpu", is_eval=True)
336 save_blip_diffusion_model(model.state_dict(), args)
337
338
339if __name__ == "__main__":

Calls 2

state_dictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…