> This page is for NeMo-RL, version último (default).
> For other versions, use one of these documentation indexes:
> - último (default): https://es.nvidia-localization.ferndocs.com/es/nemo/rl/latest/llms.txt
> - 0.3.0: https://es.nvidia-localization.ferndocs.com/es/nemo/rl/0-3-0/llms.txt
> - 0.2.1: https://es.nvidia-localization.ferndocs.com/es/nemo/rl/0-2-1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://es.nvidia-localization.ferndocs.com/es/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://es.nvidia-localization.ferndocs.com/es/_mcp/server.

# nemo_rl.models.generation.vllm.config

## Contenido del Módulo

### Clases

| Nombre                                                                  | Descripción                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [`VllmSpecificArgs`](#nemorlmodelsgenerationvllmconfigvllmspecificargs) | dict() -> nuevo diccionario vacío dict(mapping) -> nuevo diccionario inicializado desde los pares (clave, valor) de un objeto de mapeo dict(iterable) -> nuevo diccionario inicializado como si fuera: d =  for k, v in iterable: d\[k] = v dict(\*\*kwargs) -> nuevo diccionario inicializado con los pares nombre=valor en la lista de argumentos de palabras clave. Por ejemplo: dict(one=1, two=2) |
| [`VllmConfig`](#nemorlmodelsgenerationvllmconfigvllmconfig)             | Configuración para generación.                                                                                                                                                                                                                                                                                                                                                                         |

### API

```python
class nemo_rl.models.generation.vllm.config.VllmSpecificArgs
```

**Bases**: `typing.TypedDict`

```python
tensor_parallel_size: int
```

**Valor**: `None`

```python
pipeline_parallel_size: int
```

**Valor**: `None`

```python
enable_expert_parallel: bool
```

**Valor**: `None`

```python
gpu_memory_utilization: float
```

**Valor**: `None`

```python
max_model_len: int
```

**Valor**: `None`

```python
skip_tokenizer_init: bool
```

**Valor**: `None`

```python
async_engine: bool
```

**Valor**: `None`

```python
load_format: typing.NotRequired[str]
```

**Valor**: `None`

```python
precision: typing.NotRequired[str]
```

**Valor**: `None`

```python
enforce_eager: typing.NotRequired[bool]
```

**Valor**: `None`

```python
class nemo_rl.models.generation.vllm.config.VllmConfig
```

**Bases**: `nemo_rl.models.generation.interfaces.GenerationConfig`

```python
vllm_cfg: nemo_rl.models.generation.vllm.config.VllmSpecificArgs
```

**Valor**: `None`

```python
vllm_kwargs: typing.NotRequired[dict[str, typing.Any]]
```

**Valor**: `None`