mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
- Make GuidedDecodingParams import conditional (try/except) for backwards compatibility with older vLLM versions - Remove GBNF grammar fallback — vLLM expects EBNF, not GBNF, so passing LocalAI's GBNF grammar would produce confusing errors - Pass JSONSchema as string directly instead of parsing to dict (safer across vLLM versions) - Add GBNF grammar generation for json_schema in completion endpoint so non-vLLM backends (llama.cpp) also get grammar enforcement Ref: #6857 Signed-off-by: eureka928 <meobius123@gmail.com> |
||
|---|---|---|
| .. | ||
| backend.py | ||
| install.sh | ||
| Makefile | ||
| package.sh | ||
| README.md | ||
| requirements-after.txt | ||
| requirements-cpu-after.txt | ||
| requirements-cpu.txt | ||
| requirements-cublas12-after.txt | ||
| requirements-cublas12.txt | ||
| requirements-hipblas-after.txt | ||
| requirements-hipblas.txt | ||
| requirements-install.txt | ||
| requirements-intel-after.txt | ||
| requirements-intel.txt | ||
| requirements.txt | ||
| run.sh | ||
| test.py | ||
| test.sh | ||
Creating a separate environment for the vllm project
make vllm