mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 07:32:36 +00:00
move the meta_reference safety dir also
This commit is contained in:
parent
ec603a435a
commit
be6fe0fd77
8 changed files with 5 additions and 5 deletions
|
|
@ -24,8 +24,8 @@ def available_providers() -> List[ProviderSpec]:
|
||||||
"transformers",
|
"transformers",
|
||||||
"torch --index-url https://download.pytorch.org/whl/cpu",
|
"torch --index-url https://download.pytorch.org/whl/cpu",
|
||||||
],
|
],
|
||||||
module="llama_stack.providers.inline.meta_reference.safety",
|
module="llama_stack.providers.inline.safety.meta_reference",
|
||||||
config_class="llama_stack.providers.inline.meta_reference.safety.SafetyConfig",
|
config_class="llama_stack.providers.inline.safety.meta_reference.SafetyConfig",
|
||||||
api_dependencies=[
|
api_dependencies=[
|
||||||
Api.inference,
|
Api.inference,
|
||||||
],
|
],
|
||||||
|
|
@ -54,8 +54,8 @@ def available_providers() -> List[ProviderSpec]:
|
||||||
pip_packages=[
|
pip_packages=[
|
||||||
"codeshield",
|
"codeshield",
|
||||||
],
|
],
|
||||||
module="llama_stack.providers.inline.meta_reference.codeshield",
|
module="llama_stack.providers.inline.safety.meta_reference",
|
||||||
config_class="llama_stack.providers.inline.meta_reference.codeshield.CodeShieldConfig",
|
config_class="llama_stack.providers.inline.safety.meta_reference.CodeShieldConfig",
|
||||||
api_dependencies=[],
|
api_dependencies=[],
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import pytest
|
||||||
import pytest_asyncio
|
import pytest_asyncio
|
||||||
|
|
||||||
from llama_stack.distribution.datatypes import Api, Provider
|
from llama_stack.distribution.datatypes import Api, Provider
|
||||||
from llama_stack.providers.inline.meta_reference.safety import (
|
from llama_stack.providers.inline.safety.meta_reference import (
|
||||||
LlamaGuardShieldConfig,
|
LlamaGuardShieldConfig,
|
||||||
SafetyConfig,
|
SafetyConfig,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue