The examples repository
The examples/inference_jobs/vllm repository holds complete, submittable jobs for every major LLM shape: chat assistants, coding models, vision-language document readers, speech recognition, embedding + reranker RAG bundles, moderation guards, and multi-LoRA serving. The models are general-purpose tools, not tied to any sector; pick by capability and VRAM budget.
Every folder ships the same four files:
<model>_<use>_min_<x>gb_vram/
- inference.yamlThe hardware: how many workers, GPUs per worker and free VRAM. A comment shows the VRAM arithmetic.
- scripts/serve_module.pyThe model and its engine settings, tuned and commented. This is the file you edit.
- submit.pyDeploys the job with the SDK and prints the endpoint and the API key.
- predict.pyA working client for this job: a chat loop, a vision call or a RAG round trip.
Folder names end in _min_<x>gb_vram: the minimum total VRAM the job needs. How to read that number and what each GPU tier fits: Choosing hardware.
Run any of them
cd <job-folder>
cp .env.example .env # RESON_API_KEY (rsk_…) + S3 keys
python submit.py # uploads yaml + scripts/, prints endpoint + predict key
python predict.py # job-specific smoke testOr paste scripts/serve_module.py + inference.yaml into the dashboard's inference wizard. Same files, same result.
A sampler
Two examples are documented in detail on the next pages. A few more from the index, to show the range:
- Coding folders ship tool-calling enabled, so Aider / Cline / Continue work against them directly.
- RAG bundles put chat + embeddings + reranker behind one endpoint; the
predict.pyin each wires a full retrieve-then-answer round trip. requirements:is empty in every folder on purpose: vLLM jobs run a prebuilt image that owns the stack.