harii55/quickstart

0

stars

2

commits

HCL

primary language

May 23, 2026

updated

README

Distributed Inferencing Prototype

A prototype that runs a small language model behind a distributed worker mesh. A Python worker hosts the model and exposes inference as an RPC function; a TypeScript worker fans incoming HTTP requests into that RPC and returns the result as JSON. The two workers are written in different languages, can run on different machines, and are composed at runtime — so you can scale the inference tier independently of the API tier, swap implementations without downtime, and extend the mesh with additional workers as the system grows.

WorkerLanguageFunctionDoes
inference-workerPythoninference::run_inferenceLoads gemma-3-270m (GGUF, Q8) via transformers, applies the chat template to messages, and returns the decoded model output.
caller-workerTypeScriptinference::get_responseCalls inference::run_inference with the incoming messages payload and returns the result.
caller-workerTypeScripthttp::run_inference_over_httpHTTP trigger bound to POST /v1/chat/completions; forwards the request body to inference::get_response and returns a JSON HTTP response.

For more details regarding implementation, find docs here: https://iii.dev/docs/

Contributors

harii55

2 commits

harii55/quickstart

0

stars

2

commits

HCL

primary language

May 23, 2026

updated

README

Distributed Inferencing Prototype

A prototype that runs a small language model behind a distributed worker mesh. A Python worker hosts the model and exposes inference as an RPC function; a TypeScript worker fans incoming HTTP requests into that RPC and returns the result as JSON. The two workers are written in different languages, can run on different machines, and are composed at runtime — so you can scale the inference tier independently of the API tier, swap implementations without downtime, and extend the mesh with additional workers as the system grows.

WorkerLanguageFunctionDoes
inference-workerPythoninference::run_inferenceLoads gemma-3-270m (GGUF, Q8) via transformers, applies the chat template to messages, and returns the decoded model output.
caller-workerTypeScriptinference::get_responseCalls inference::run_inference with the incoming messages payload and returns the result.
caller-workerTypeScripthttp::run_inference_over_httpHTTP trigger bound to POST /v1/chat/completions; forwards the request body to inference::get_response and returns a JSON HTTP response.

For more details regarding implementation, find docs here: https://iii.dev/docs/

Contributors

harii55

2 commits

Languages

HCL

39.6%

Python

32.9%

Shell

16.8%

TypeScript

10.7%