mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 01:03:59 +00:00
fix meta reference fixture
This commit is contained in:
parent
5821ec9ef3
commit
96accc1216
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ def inference_meta_reference(inference_model) -> ProviderFixture:
|
||||||
inference_model = (
|
inference_model = (
|
||||||
[inference_model] if isinstance(inference_model, str) else inference_model
|
[inference_model] if isinstance(inference_model, str) else inference_model
|
||||||
)
|
)
|
||||||
|
# If embedding dimension is set, use the 8B model for testing
|
||||||
|
if os.getenv("EMBEDDING_DIMENSION"):
|
||||||
|
inference_model = ["meta-llama/Llama-3.1-8B-Instruct"]
|
||||||
|
|
||||||
return ProviderFixture(
|
return ProviderFixture(
|
||||||
providers=[
|
providers=[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue