Skip to content

Followed instructions exactly, get llama download: error: Download failed: No module named 'llama_models.cli.model' #421

Description

@s-batalov

pip install llama-models

all satisfied, all happy

llama-model list
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Model Descriptor(ID) ┃ Hugging Face Repo ┃ Context Length ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Llama3.1-8B │ meta-llama/Llama-3.1-8B │ 128K │
├─────────────────────────────────────────┼─────────────────────────────────────────────────────┼────────────────┤
...
├─────────────────────────────────────────┼─────────────────────────────────────────────────────┼────────────────┤
│ Llama-4-Scout-17B-16E │ meta-llama/Llama-4-Scout-17B-16E │ 256K │
├─────────────────────────────────────────┼─────────────────────────────────────────────────────┼────────────────┤
..
all happy

llama-model download --source meta --model-id Llama-4-Scout-17B-16E
usage: llama download [-h] [--source {meta,huggingface}] [--model-id MODEL_ID] [--hf-token HF_TOKEN] [--meta-url META_URL] [--max-parallel MAX_PARALLEL] [--ignore-patterns IGNORE_PATTERNS]
[--manifest-file MANIFEST_FILE]
llama download: error: Download failed: No module named 'llama_models.cli.model'

(and I tried to provide the email policy URL using
--meta-url META_URL For source=meta, URL obtained from llama.meta.com after accepting license terms
same result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions