From 356727418366bac0db482847abb3dfb9135c407e Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Thu, 27 Feb 2025 21:24:01 -0500 Subject: [PATCH] fix: Incorrect import path for print_subcommand_description() (#1313) # What does this PR do? This fixes release build failure: https://github.com/meta-llama/llama-stack-ops/actions/runs/13579787331/job/37963565001 ``` + llama model prompt-format -m Llama3.2-11B-Vision-Instruct Traceback (most recent call last): File "/tmp/tmp.PXMDlmD0x5/.venv/bin/llama", line 4, in from llama_stack.cli.llama import main File "/tmp/tmp.PXMDlmD0x5/.venv/lib/python3.10/site-packages/llama_stack/cli/llama.py", line 10, in from .model import ModelParser File "/tmp/tmp.PXMDlmD0x5/.venv/lib/python3.10/site-packages/llama_stack/cli/model/__init__.py", line 7, in from .model import ModelParser # noqa File "/tmp/tmp.PXMDlmD0x5/.venv/lib/python3.10/site-packages/llama_stack/cli/model/model.py", line 16, in from llama_stack.cli.utils import print_subcommand_description ModuleNotFoundError: No module named 'llama_stack.cli.utils' ``` ## 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: Yuan Tang --- llama_stack/cli/model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/cli/model/model.py b/llama_stack/cli/model/model.py index ec1fc8cf1..808029945 100644 --- a/llama_stack/cli/model/model.py +++ b/llama_stack/cli/model/model.py @@ -12,8 +12,8 @@ from llama_stack.cli.model.list import ModelList from llama_stack.cli.model.prompt_format import ModelPromptFormat from llama_stack.cli.model.remove import ModelRemove from llama_stack.cli.model.verify_download import ModelVerifyDownload +from llama_stack.cli.stack.utils import print_subcommand_description from llama_stack.cli.subcommand import Subcommand -from llama_stack.cli.utils import print_subcommand_description class ModelParser(Subcommand):