nemo_rl.models.generation.dynamo.venv#

Resolve executables installed by the optional Dynamo environment.

Module Contents#

Functions#

get_dynamo_venv_dir

Return the configured Dynamo virtual-environment directory.

get_dynamo_executable

Return an executable in the Dynamo environment, failing if absent.

get_dynamo_python

Return the validated Python interpreter for ai-dynamo.

API#

nemo_rl.models.generation.dynamo.venv.get_dynamo_venv_dir() pathlib.Path#

Return the configured Dynamo virtual-environment directory.

nemo_rl.models.generation.dynamo.venv.get_dynamo_executable(name: str) str#

Return an executable in the Dynamo environment, failing if absent.

nemo_rl.models.generation.dynamo.venv.get_dynamo_python() str#

Return the validated Python interpreter for ai-dynamo.