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

Function get_args

scripts/convert_skyreelsv2_to_diffusers.py:571–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

569
570
571def get_args():
572 parser = argparse.ArgumentParser()
573 parser.add_argument("--model_type", type=str, default=None)
574 parser.add_argument("--output_path", type=str, required=True)
575 parser.add_argument("--dtype", default="fp32")
576 return parser.parse_args()
577
578
579DTYPE_MAPPING = {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…