mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 07:39:47 +00:00
fix eval tests model registration
This commit is contained in:
parent
3b5a33d921
commit
00658e02f8
3 changed files with 26 additions and 24 deletions
|
|
@ -80,6 +80,13 @@ def pytest_addoption(parser):
|
|||
help="Specify the inference model to use for testing",
|
||||
)
|
||||
|
||||
parser.addoption(
|
||||
"--judge-model",
|
||||
action="store",
|
||||
default="meta-llama/Llama-3.1-8B-Instruct",
|
||||
help="Specify the judge model to use for testing",
|
||||
)
|
||||
|
||||
|
||||
def pytest_generate_tests(metafunc):
|
||||
if "eval_stack" in metafunc.fixturenames:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue