download command supports two modes of operation:
- LEAP Model Download
- Bundle Request Download
Download GGUF files for a model from the LEAP Model Library. Does not require authentication.ArgumentsManifest FormatThe JSON manifest should contain a After download, the manifest is updated to use relative paths:Error Cases
model-name(required): Name of the model to download from the LEAP Model Library
--quantization <quantization>: Quantization level to download for the model. You can find available quantization levels for each model in the LEAP Model Library. Defaults toQ5_K_Mif not specified.--output-path <path>: Directory to save the downloaded files. If not specified, auto-generates a directory name based on the manifest URL.--overwrite: By default, if the JSON file already exists in the output path, the command will throw an error. With this flag, the existing file will be overwritten.
- Create an output directory based on the URL or according to
--output-pathif specified. - Download the JSON manifest file.
- Download all model files referenced in
load_time_parametersin the manifest - Update the local manifest to use relative paths to the downloaded files.
load_time_parameters section with URLs to model files:- Invalid URL: Shows URL validation error
- Manifest not found: Shows HTTP 404 error
- Invalid JSON: Shows JSON parsing error
- Model file download failure: Shows download error
- Output directory creation failure: Shows file system error
- Network issues: Shows connection error