Fix --remove-model to work with HuggingFace repo IDs
- Updated remove_cached_model() to search by repo_id for HuggingFace models - Moved cache management options (--list-cached-models, --remove-model, --remove-all-models) to run before heavy imports - Improved cache operations to use centralized functions in codai.models.cache module - Fixed model removal to work with full repo IDs like 'TheBloke/Llama-2-7B-GGUF'
Showing
Please
register
or
sign in
to comment