Skip to content

llama-stack-client broken: ModuleNotFoundError #3958

@mattf

Description

@mattf

System Info

n/a

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

$ uv clean 
Clearing cache at: .../.cache/uv
Removed 355035 files (21.6GiB)

$ uv run --with 'llama-stack-client>=0.3' llama-stack-client --help
Installed 35 packages in 140ms
Traceback (most recent call last):
  File ".../.cache/uv/builds-v0/.tmpTai0s5/bin/llama-stack-client", line 4, in <module>
    from llama_stack_client.lib.cli.llama_stack_client import main
  File ".../.cache/uv/archive-v0/XZHyLs8GvyQguXFcmvMQi/lib/python3.13/site-packages/llama_stack_client/lib/cli/llama_stack_client.py", line 23, in <module>
    from .post_training import post_training
  File ".../.cache/uv/archive-v0/XZHyLs8GvyQguXFcmvMQi/lib/python3.13/site-packages/llama_stack_client/lib/cli/post_training/__init__.py", line 7, in <module>
    from .post_training import post_training
  File ".../.cache/uv/archive-v0/XZHyLs8GvyQguXFcmvMQi/lib/python3.13/site-packages/llama_stack_client/lib/cli/post_training/post_training.py", line 12, in <module>
    from llama_stack_client.types.post_training_supervised_fine_tune_params import AlgorithmConfigParam, TrainingConfig
ModuleNotFoundError: No module named 'llama_stack_client.types.post_training_supervised_fine_tune_params'

Error logs

above

Expected behavior

help listing

$ uv run --with 'llama-stack-client<0.3' llama-stack-client --help 
Installed 35 packages in 199ms
Usage: llama-stack-client [OPTIONS] COMMAND [ARGS]...

  Welcome to the llama-stack-client CLI - a command-line interface for
  interacting with Llama Stack

Options:
  -h, --help       Show this message and exit.
  --version        Show the version and exit.
  --endpoint TEXT  Llama Stack distribution endpoint
  --api-key TEXT   Llama Stack distribution API key
  --config TEXT    Path to config file

Commands:
  configure          Configure Llama Stack Client CLI.
  datasets           Manage datasets.
  eval               Run evaluation tasks.
  eval_tasks         Manage evaluation tasks.
  inference          Inference (chat).
  inspect            Inspect server configuration.
  models             Manage GenAI models.
  post_training      Post-training.
  providers          Manage API providers.
  scoring_functions  Manage scoring functions.
  shields            Manage safety shield services.
  toolgroups         Manage available tool groups.
  vector_dbs         Manage vector databases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions