llama-stack-mirror/llama_stack/templates
Ashwin Bharambe dd0db8038b
refactor(test): unify vector_io tests and make them configurable (#1398)
## Test Plan


`LLAMA_STACK_CONFIG=inference=sentence-transformers,vector_io=sqlite-vec
pytest -s -v test_vector_io.py --embedding-model all-miniLM-L6-V2
--inference-model='' --vision-inference-model=''`

```
test_vector_io.py::test_vector_db_retrieve[txt=:vis=:emb=all-miniLM-L6-V2] PASSED
test_vector_io.py::test_vector_db_register[txt=:vis=:emb=all-miniLM-L6-V2] PASSED
test_vector_io.py::test_insert_chunks[txt=:vis=:emb=all-miniLM-L6-V2-test_case0] PASSED
test_vector_io.py::test_insert_chunks[txt=:vis=:emb=all-miniLM-L6-V2-test_case1] PASSED
test_vector_io.py::test_insert_chunks[txt=:vis=:emb=all-miniLM-L6-V2-test_case2] PASSED
test_vector_io.py::test_insert_chunks[txt=:vis=:emb=all-miniLM-L6-V2-test_case3] PASSED
test_vector_io.py::test_insert_chunks[txt=:vis=:emb=all-miniLM-L6-V2-test_case4] PASSED
```

Same thing with:
- LLAMA_STACK_CONFIG=inference=sentence-transformers,vector_io=faiss
- LLAMA_STACK_CONFIG=fireworks

(Note that ergonomics will soon be improved re: cmd-line options and env
variables)
2025-03-04 13:37:45 -08:00
..
bedrock refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
cerebras refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
ci-tests refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
dell chore: remove straggler references to llama-models (#1345) 2025-03-01 14:26:03 -08:00
dev refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
experimental-post-training feat: [post training] support save hf safetensor format checkpoint (#845) 2025-02-25 23:29:08 -08:00
fireworks refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
groq fix: register provider model name and HF alias in run.yaml (#1304) 2025-02-27 16:39:23 -08:00
hf-endpoint refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
hf-serverless refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
meta-reference-gpu refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
meta-reference-quantized-gpu refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
nvidia fix: register provider model name and HF alias in run.yaml (#1304) 2025-02-27 16:39:23 -08:00
ollama refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
passthrough feat: inference passthrough provider (#1166) 2025-02-19 21:47:00 -08:00
remote-vllm refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
sambanova refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
tgi refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
together refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
vllm-gpu refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00
__init__.py Auto-generate distro yamls + docs (#468) 2024-11-18 14:57:06 -08:00
template.py refactor(test): unify vector_io tests and make them configurable (#1398) 2025-03-04 13:37:45 -08:00