π Ecosystem Integrations¶
Turing Engine integrates with agent frameworks, model routers, and deployment runtimes.
1. LangChain & LangGraph¶
Turing Engine provides native drop-in support via langchain-openai or built-in ChatTuring:
2. LiteLLM Proxy & Router¶
Configure Turing Engine as a backend in your litellm config.yaml:
model_list:
- model_name: turing/deepseek-r1
litellm_params:
model: openai/deepseek-r1-7b
api_base: http://localhost:8000/v1
api_key: turing-local
extra_headers:
X-Turing-Sparsity: "0.57"
X-Turing-SVD-Rank: "64"
3. LlamaIndex RAG & Agents¶
from turing.integrations.llamaindex import Turing
llm = Turing(
model="deepseek-r1-7b",
api_base="http://localhost:8000/v1",
sparsity_ratio=0.57, # 57% FFN channel pruning
svd_rank=64 # Calibrated SVD INT8 KV cache
)
response = llm.complete("Summarize the main architectural trade-offs of microservices:")
print(response.text)
4. Open WebUI & LibreChat¶
Connect your local web UI directly to Turing Engine:
1. Open Open WebUI Settings β Connections β OpenAI API.
2. Set URL: http://localhost:8000/v1
3. Set API Key: turing-local
4. Models like deepseek-r1-7b and glm-5.3-flash will automatically appear in your model dropdown.
5. Kubernetes Deployment (KServe, Helm & llm-d)¶
Turing Engine provides production manifests for Kubernetes orchestration:
- βΈοΈ Full llm-d & Kubernetes Distributed Serving Guide β Prefix-cache aware routing, InferencePools, and P/D disaggregation.
- π¦ Turing Serving Helm Chart β Configurable deployment with Prometheus metrics and GPU limits.
- π KServe
ServingRuntime:
apiVersion: serving.kserve.io/v1alpha1
kind: ServingRuntime
metadata:
name: turing-runtime
labels:
llm-d.ai/engine-type: "turing"
spec:
supportedModelFormats:
- name: turing-subspace
version: "1"
autoSelect: true
- name: huggingface
version: "1"
autoSelect: false
containers:
- name: kserve-container
image: ghcr.io/intutic/turing:v0.3.3-cuda
command: ["python3", "-m", "turing.cli", "serve"]
args: ["--model", "$(MODEL_NAME)", "--port", "8080", "--device", "cuda"]
resources:
limits:
nvidia.com/gpu: "1"
memory: 32Gi
cpu: "8"
requests:
nvidia.com/gpu: "1"
memory: 24Gi
cpu: "4"