feat(serving): add vLLM and llama.cpp alternatives - #4
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds alternative local model-serving options (vLLM and llama.cpp) alongside Ollama by introducing lightweight launch helpers and documenting how to run the app against any OpenAI-compatible /v1 endpoint.
Changes:
- Add
scripts/serve-vllm.shandscripts/serve-llamacpp.shto start OpenAI-compatible servers with consistent defaults and env overrides. - Extend the
Makefilewithserve-*andrun-*targets for vLLM and llama.cpp scenarios, wiring ports and model aliasing toconfig.yaml. - Update
README.mdandpyproject.tomlwording to reflect OpenAI-compatible server support and provide usage guidance.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| scripts/serve-vllm.sh | New helper to run vLLM’s OpenAI-compatible server with configurable bind/port/alias and optional max context. |
| scripts/serve-llamacpp.sh | New helper to run llama.cpp’s llama-server with configurable bind/port/alias and optional context size. |
| README.md | Documents vLLM/llama.cpp as supported alternatives and adds Makefile-based run scenarios. |
| pyproject.toml | Updates the package description to reflect OpenAI-compatible model server support. |
| Makefile | Adds vLLM/llama.cpp serve/run targets and derives default model name from config.yaml. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @printf '%s\n' \ | ||
| 'make setup Install the locked Python environment' \ | ||
| 'make run-native Run the app locally with native Ollama' \ | ||
| 'make serve-vllm MODEL=… Serve a Hugging Face model with vLLM' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.