llama-stack-mirror/docs/source
Reid c9c4a3c921
feat: model remove cmd (#1128)
# What does this PR do?
[Provide a short summary of what this PR does and why. Link to relevant
issues if applicable.]

add a subcommand, help to clean the unneeded model:
```
$ llama model --help
usage: llama model [-h] {download,list,prompt-format,describe,verify-download,remove} ...

Work with llama models

options:
  -h, --help            show this help message and exit

$ llama model remove --help
usage: llama model remove [-h] -m MODEL [-f]

Remove the downloaded llama model

options:
  -h, --help            show this help message and exit
  -m MODEL, --model MODEL
                        Specify the llama downloaded model name
  -f, --force           Used to forcefully remove the llama model from the storage without further confirmation

$ llama model remove -m Llama3.2-1B-Instruct:int4-qlora-eo8
Are you sure you want to remove Llama3.2-1B-Instruct:int4-qlora-eo8? (y/n): n
Removal aborted.

$ llama model remove -mLlama3.2-1B-Instruct:int4-qlora-eo8-f
Llama3.2-1B-Instruct:int4-qlora-eo8 removed.
```

[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
[Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.*]

[//]: # (## Documentation)

---------

Signed-off-by: reidliu <reid201711@gmail.com>
Co-authored-by: reidliu <reid201711@gmail.com>
2025-02-21 08:05:12 -08:00
..
building_applications docs: Fix Links, Add Podman Instructions, Vector DB Unregister, and Example Script (#1129) 2025-02-20 13:52:14 -08:00
concepts script for running client sdk tests (#895) 2025-02-19 22:38:06 -08:00
contributing docs: Add note about distro_codegen.py and provider dependencies (#1175) 2025-02-20 09:23:46 -08:00
distributions feat(providers): add NVIDIA Inference embedding provider and tests (#935) 2025-02-20 16:59:48 -08:00
getting_started fix(rag-example): add provider_id to avoid llama_stack_client 400 error (#1114) 2025-02-19 15:37:25 -08:00
introduction Update index.md (#888) 2025-01-28 04:55:41 -08:00
playground fix!: update eval-tasks -> benchmarks (#1032) 2025-02-13 16:40:58 -08:00
references feat: model remove cmd (#1128) 2025-02-21 08:05:12 -08:00
conf.py Try a different css file API for sphinx 2025-02-19 20:14:40 -08:00
index.md Update index.md to refer to v0.1.3 2025-02-14 14:29:17 -08:00