nemo_gym.model_registry
nemo_gym.model_registry
Registry of model servers under responses_api_models/<name>/.
Maps each model dir to the config flavors it ships (configs/<flavor>.yaml), so they can be
enumerated by the token passed to --model-type (see :attr:ModelEntry.model_types). Reads the
directory tree only; never loads a config.
Module Contents
Classes
Functions
Data
API
A discovered model server: its name, group, and config file.
Map model name -> :class:ModelEntry for every config flavor under one responses_api_models/ dir.
One entry per configs/<flavor>.yaml: <dir> for the flavor named after the model, <dir>/<flavor>
for the rest. A config-less dir contributes nothing. Returns an empty dict if the directory is missing.
Map model name -> :class:ModelEntry for every discoverable model server.
Scans the responses_api_models/ subdir of every :func:~nemo_gym.discovery.component_search_roots
root (NEMO_GYM_EXTRA_ROOTS + cwd + built-ins), merged so user models shadow same-named built-ins.