mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
cleanup comments and debugging changes
This commit is contained in:
parent
20f0836d13
commit
5492a13c79
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ def pytest_configure(config):
|
||||||
|
|
||||||
|
|
||||||
SAFETY_SHIELD_PARAMS = [
|
SAFETY_SHIELD_PARAMS = [
|
||||||
pytest.param("meta-llama/Llama3.1-70B-Instruct", marks=pytest.mark.guard_1b, id="guard_1b"),
|
pytest.param("meta-llama/Llama-Guard-3-1B", marks=pytest.mark.guard_1b, id="guard_1b"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ def pytest_generate_tests(metafunc):
|
||||||
if "safety_shield" in metafunc.fixturenames:
|
if "safety_shield" in metafunc.fixturenames:
|
||||||
shield_id = metafunc.config.getoption("--safety-shield")
|
shield_id = metafunc.config.getoption("--safety-shield")
|
||||||
if shield_id:
|
if shield_id:
|
||||||
# assert shield_id.startswith("meta-llama/")
|
assert shield_id.startswith("meta-llama/")
|
||||||
params = [pytest.param(shield_id, id="")]
|
params = [pytest.param(shield_id, id="")]
|
||||||
else:
|
else:
|
||||||
params = SAFETY_SHIELD_PARAMS
|
params = SAFETY_SHIELD_PARAMS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue