Skip to main content
Backbone feature-extractor models (H-Optimus-1, M-Optimus, Tissue-Seg, …). Model specifications are loaded from YAML config files in the configs/ directory. The Backbone factory wires them together with a pluggable client so that a single Backbone(...) call works for any backend (HTTP, AWS, GCP, …). Example:

Backbone

Factory for creating backbone endpoint models. Model identity (spec, endpoint path) is read from YAML config files. The factory pairs each config with a pluggable client backend to produce a ready-to-use EndpointModel. Usage:

Backend

Supported inference backends.

available_backbones

Returns registered backbone names, optionally filtered by backend.
If given, restrict the result to models the backend can serve. Only the "huggingface" backend is restrictive — it serves the embedding backbones that declare a huggingface build recipe (h0-mini, h0, h1). The "remote", "aws" and "local" backends can serve any registered model, so they return the full list.
Returns: Sorted list of backbone names. Raises:
  • KeyError - If backend is not a recognised backend.