llama-stack/llama_stack/models/llama/llama4
ehhuang 664161c462
fix: llama4 tool use prompt fix (#2103)
Tests:
LLAMA_STACK_CONFIG=http://localhost:5002 pytest -s -v
tests/integration/inference --safety-shield meta-llama/Llama-Guard-3-8B
--vision-model meta-llama/Llama-4-Scout-17B-16E-Instruct --text-model
meta-llama/Llama-4-Scout-17B-16E-Instruct

LLAMA_STACK_CONFIG=http://localhost:5002 pytest -s -v
tests/integration/inference --safety-shield meta-llama/Llama-Guard-3-8B
--vision-model Llama-4-Maverick-17B-128E-Instruct --text-model
Llama-4-Maverick-17B-128E-Instruct

Co-authored-by: Eric Huang <erichuang@fb.com>
2025-05-06 22:18:31 -07:00
..
prompt_templates fix: llama4 tool use prompt fix (#2103) 2025-05-06 22:18:31 -07:00
quantization chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
vision chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
__init__.py feat: introduce llama4 support (#1877) 2025-04-05 11:53:35 -07:00
args.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
chat_format.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
datatypes.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
ffn.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
generation.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
model.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
moe.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
preprocess.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
prompt_format.md fix: llama4 tool use prompt fix (#2103) 2025-05-06 22:18:31 -07:00
prompts.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
tokenizer.model feat(pre-commit): enhance pre-commit hooks with additional checks (#2014) 2025-04-30 11:35:49 -07:00
tokenizer.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00