Infinity
ML inferenceinfinity-embeddings
REST server for embedding, rerank and classification models with dynamic batching.
- Provider
- default
- Kind
- ML inference
- Category
- Compute
- Official docs
- https://github.com/michaelfeil/infinity
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| accelerator | enum | none | gpu | asic | no | none | inherited |
| acceleratorModel | enum | nvidia-h100 | nvidia-h200 | nvidia-b200 | nvidia-l4 | nvidia-a100 | amd-mi300x | aws-trainium | aws-inferentia | google-tpu | intel-gaudi | groq-lpu | cerebras-wse | no | — | inherited |
| backend | enum | torch | optimum | ctranslate2 | no | torch | inherited |
| embeddingSyncMinutes | integer | — | no | — | inherited |
| inputs | enum | live | historical | both | no | live | ▸ live |
| instances | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| port | integer | — | no | 7997 | inherited |
| snapshotToObjectStore | boolean | — | no | false | inherited |
| task | enum | embed | rerank | classify | clip | no | embed | inherited |
| training | enum | batch | online | no | batch | ▸ batch |
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
nodes:
- { id: "infinity-embeddings", component: "infinity-embeddings" }SageMaker endpointsagemaker-endpointAzure ML endpointazure-ml-endpointWorkers AIcloudflare-workers-aiAnyscale Endpointsanyscale-endpointsBananabanana-devBasetenbasetenBeambeam-cloudBentoMLbentomlHugging Face Inference Endpointshuggingface-inferenceJanjanKServekservellama.cpp serverllama-cpp-serverllm-dllm-dLM Studiolm-studioLMDeploylmdeployLocalAIlocalaiGeneric ML inferenceml-inferenceMLC LLMmlc-llmModalmodalMystic AImystic-aiNVIDIA NIM (self-hosted)nvidia-nimOctoAIoctoaiOllamaollamaRay Serveray-serveSeldon Coreseldon-coreSGLangsglangTensorFlow Servingtensorflow-servingTensorRT-LLMtensorrt-llmText Embeddings Inferencetext-embeddings-inferenceText Generation Inferencetext-generation-inferenceTorchServetorchserveNVIDIA TritontritonvLLMvllmXinferencexinferenceVertex AI endpointvertex-ai-endpointOCI Data Science Model Deploymentoci-data-science-model-deploymentOCI Generative AI Dedicated AI Clusteroci-generative-ai-cluster
# yaml-language-server: $schema=../../schema/component.schema.json # Infinity: MIT-licensed REST server for embedding, reranking, classification and CLIP models from Hugging Face, with an # API aligned to OpenAI's embeddings spec and dynamic batching. Per the README it listens on port 7997 and runs on # the PyTorch, Optimum (ONNX/TensorRT) or CTranslate2 backend. schemaVersion: "1" type: "component" id: "infinity-embeddings" kind: "ml-inference" provider: "default" docs: "https://github.com/michaelfeil/infinity" aliases: ["Infinity"] defaults: training: "batch" inputs: "live" managed: false properties: port: type: "integer" default: 7997 backend: type: "enum" values: ["torch", "optimum", "ctranslate2"] default: "torch" task: type: "enum" values: ["embed", "rerank", "classify", "clip"] default: "embed"