9bd7f5838e4530d8c51ddd9de7700a5d9e3533f0
TrueCluster
Prototype heterogeneous pipeline-parallel LLM inference cluster.
See SPEC.md.
Install
pip install -e .
Run a cluster
truecluster cluster --model Qwen/Qwen2.5-0.5B-Instruct --max-nodes 1 --quant fp16
Run a node
truecluster node --cluster-host 127.0.0.1 --cluster-port 7001 --device auto
Generate
curl http://127.0.0.1:8000/v1/completions \
-H 'content-type: application/json' \
-d '{"model":"Qwen/Qwen2.5-0.5B-Instruct","prompt":"Hello","max_tokens":32}'
Languages
Python
100%