Since we are pushing for HF repos, we should accept them in inference configs

This commit is contained in:
Ashwin Bharambe 2024-11-20 16:07:29 -08:00
parent 00816cc8ef
commit 0d4565349b
5 changed files with 14 additions and 8 deletions

View file

@ -22,9 +22,9 @@ def is_supported_safety_model(model: Model) -> bool:
]
def supported_inference_models() -> List[str]:
def supported_inference_models() -> List[Model]:
return [
m.descriptor()
m
for m in all_registered_models()
if (
m.model_family in {ModelFamily.llama3_1, ModelFamily.llama3_2}