Add --manifest-file option to argparser

This commit is contained in:
Ashwin Bharambe 2024-08-19 18:26:30 -07:00
parent b3da6b8afb
commit e08e963f86

View file

@ -74,6 +74,12 @@ For source=huggingface, files matching any of the patterns are not downloaded. D
safetensors files to avoid downloading duplicate weights. safetensors files to avoid downloading duplicate weights.
""", """,
) )
parser.add_argument(
"--manifest-file",
type=str,
help="For source=meta, you can download models from a manifest file containing a file => URL mapping",
required=False,
)
parser.set_defaults(func=partial(run_download_cmd, parser=parser)) parser.set_defaults(func=partial(run_download_cmd, parser=parser))