Skip to content

Install & Manage

Download, update, and remove models.


Install a Single Model

import modeldock as md

md.install("llama3")
md.install("llama3", backend="ollama")  # explicit backend

Install by Category

Bulk install recommended models for a specific use case:

md.install_category("coding")
md.install_category("vision")

Check What's Installed

installed = md.installed()
# Returns list of ModelRef objects

Update a Model

update() removes then re-downloads — it's destructive and requires confirmation:

md.update("llama3", confirm=True)

Destructive Operation

update() deletes the model and re-pulls it. Always use confirm=True. Cloud/subscription models are rejected.


Remove a Model

md.remove("llama3")

Verify Integrity

result = md.verify("llama3")
# Returns True if model is intact

Runtime Status

Check if the runtime is available and which device models execute on:

status = md._manager().runtime_status()
print(status.available, status.device)  # True, Device.CPU

device is Device.GPU, Device.CPU, or Device.UNKNOWN.


Next Steps