omicverse.fm.ModelRegistry

class omicverse.fm.ModelRegistry[source]

Registry of available single-cell foundation models.

Provides capability-driven model discovery and selection.

Models can be registered from three sources:

  • Built-in: Hardcoded default models shipped with omicverse.

  • Entry points: Third-party pip packages using the omicverse.fm entry-point group.

  • Local plugins: Python files in ~/.omicverse/plugins/fm/.

__init__()[source]

Methods

__init__()

find_models([task, modality, species, ...])

Find models matching criteria.

get(name)

Get model spec by name.

get_adapter_class(name)

Get the adapter class for a model (lazy-loaded).

list_models([skill_ready_only])

List all registered models.

register(spec[, adapter_class, source])

Register a model specification and optionally its adapter class.