meta-llama / llama-stack

Composable building blocks to build Llama Apps
MIT License
4.63k stars 587 forks source link

support adding alias for models without hf repo/sku entry #481

Closed dineshyv closed 3 days ago

dineshyv commented 3 days ago

What does this PR do?

adds a new method build_model_alias_with_just_llama_model which is needed for cases like ollama's quantized models which do not really have a repo in hf and an entry in SKU list.

Test Plan

pytest -v -s -m "ollama" llama_stack/providers/tests/inference/test_text_inference.py