TorchServe

ML inferencetorchserve

PyTorch model server with inference, management and metrics APIs.

Provider
default
Category
Compute
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
acceleratorenumnone | gpu | asicnononeinherited
acceleratorModel · advancedenumnvidia-h100 | nvidia-h200 | nvidia-b200 | nvidia-l4 | nvidia-a100 | amd-mi300x | aws-trainium | aws-inferentia | google-tpu | intel-gaudi | groq-lpu | cerebras-wseno—inherited
authentication · component propertyboolean—nofalseinherited
bindAddress · component propertystring—no127.0.0.1inherited
embeddingSyncMinutes · advancedinteger—no—inherited
inferencePort · component propertyinteger—no8080inherited
inputsenumlive | historical | bothnolive▸ live
instancesinteger—no—inherited
managedboolean—nofalse▸ false
managementPort · component propertyinteger—no8081inherited
metricsPort · component propertyinteger—no8082inherited
snapshotToObjectStore · advancedboolean—nofalseinherited
trainingenumbatch | onlinenobatch▸ batch
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "torchserve", component: "torchserve" }
Other ML inference products · 37
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# TorchServe: PyTorch model server exposing inference, management and metrics APIs.
# Defaults from "TorchServe Configuration": 127.0.0.1 on ports 8080, 8081 and 8082, and no native
# authentication, which is why the endpoints are bound to localhost out of the box.
schemaVersion: "1"
type: "component"
id: "torchserve"
kind: "ml-inference"
provider: "default"
docs: "https://docs.pytorch.org/serve/configuration.html"
defaults:
  training: "batch"
  inputs: "live"
  managed: false
properties:
  inferencePort:
    type: "integer"
    default: 8080
  managementPort:
    type: "integer"
    default: 8081
  metricsPort:
    type: "integer"
    default: 8082
  bindAddress:
    type: "string"
    default: "127.0.0.1"
  authentication:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/torchserve.md