Expand description
Model download and cache management.
Provides the setup command implementation: downloads required model weights
(FLAME, diffusion U-Net, VAE, CLIP) into a local cache directory and
verifies file integrity by size.
Structs§
- HfModel
Source - HuggingFace Hub model source specification.
Functions§
- download_
with_ progress - Download a model from HuggingFace Hub with progress tracking.
- expected_
asset_ paths - Return the list of expected asset file paths within the cache directory.
- get_
hf_ token - Get HuggingFace authentication token from environment or config file.
- setup_
cache - Ensure all required model assets are present in
cache_dir.