nemo_curator.models.omni.base
nemo_curator.models.omni.base
NVIDIA Inference API client for reasoning VLMs.
Reasoning models on NVIDIA Inference (e.g. Nemotron-Nano-Omni-Reasoning) split
their output into delta.reasoning_content (chain-of-thought) and
delta.content (the final answer), and their non-stream response shape is not
deserialized cleanly by the OpenAI SDK. This client therefore streams and
reassembles only delta.content.
Module Contents
Classes
Data
API
Bases: AsyncOpenAIClient
Async OpenAI-compatible client that streams reasoning-model output.
Resolves the API key from api_key_env_var at setup() time (so the
key is read on the worker, not serialized from the driver), then reassembles
delta.content from a streaming completion.
async