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

Function get_args

scripts/convert_wan_to_diffusers.py:1153–1158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1151
1152
1153def get_args():
1154 parser = argparse.ArgumentParser()
1155 parser.add_argument("--model_type", type=str, default=None)
1156 parser.add_argument("--output_path", type=str, required=True)
1157 parser.add_argument("--dtype", default="fp32", choices=["fp32", "fp16", "bf16", "none"])
1158 return parser.parse_args()
1159
1160
1161DTYPE_MAPPING = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…