llama-stack icon indicating copy to clipboard operation
llama-stack copied to clipboard

Running template is broken

Open leseb opened this issue 5 months ago • 0 comments

System Info

N/A

Information

  • [ ] The official example scripts
  • [ ] My own modified scripts

🐛 Describe the bug

Trying to run a distro from a template is not working.

Error logs

llama stack run ollama                                                                     
INFO     2025-05-27 22:59:46,750 llama_stack.cli.stack.run:125 server: Using run configuration:                         
         /Users/leseb/Documents/AI/llama-stack/llama_stack/templates/ollama/run.yaml                                    
INFO     2025-05-27 22:59:46,758 llama_stack.cli.stack.run:146 server: No image type or image name provided. Assuming   
         environment packages.                                                                                          
Traceback (most recent call last):
  File "/Users/leseb/Documents/AI/llama-stack/.venv/bin/llama", line 10, in <module>
    sys.exit(main())
  File "/Users/leseb/Documents/AI/llama-stack/llama_stack/cli/llama.py", line 53, in main
    parser.run(args)
  File "/Users/leseb/Documents/AI/llama-stack/llama_stack/cli/llama.py", line 47, in run
    args.func(args)
  File "/Users/leseb/Documents/AI/llama-stack/llama_stack/cli/stack/run.py", line 160, in _run_stack_run_cmd
    server_main(server_args)
  File "/Users/leseb/Documents/AI/llama-stack/llama_stack/distribution/server/server.py", line 393, in main
    raise ValueError(f"Config file {config_file} does not exist")
ValueError: Config file ollama does not exist

Expected behavior

Runs the ollama file and distro.

leseb avatar May 27 '25 21:05 leseb