llama-stack-mirror/llama_stack
Dinesh Yeduguru 02f1c47416
support adding alias for models without hf repo/sku entry (#481)
# 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

---------

Co-authored-by: Dinesh Yeduguru <dineshyv@fb.com>
2024-11-18 23:50:18 -08:00
..
apis Fix the pyopenapi generator avoid potential circular imports 2024-11-18 23:37:52 -08:00
cli fix llama stack build for together & llama stack build from templates (#479) 2024-11-18 22:29:16 -08:00
distribution Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
providers support adding alias for models without hf repo/sku entry (#481) 2024-11-18 23:50:18 -08:00
scripts Add a pre-commit for distro_codegen but it does not work yet 2024-11-18 15:21:13 -08:00
templates Update docs 2024-11-18 23:21:25 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00