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

# nemo\_rl.models.generation.fp8

## Contenu du module

### Classes

| Nom                                                | Description |
| -------------------------------------------------- | ----------- |
| [`FP8Config`](#nemorlmodelsgenerationfp8fp8config) | Aucun       |
| [`FP8State`](#nemorlmodelsgenerationfp8fp8state)   | Aucun       |

### Fonctions

| Nom                                                                                              | Description |
| ------------------------------------------------------------------------------------------------ | ----------- |
| [`my_init`](#nemorlmodelsgenerationfp8myinit)                                                    | Aucun       |
| [`my_run_engine_core`](#nemorlmodelsgenerationfp8myrunenginecore)                                | Aucun       |
| [`monkey_patch_vllm_ray_executor`](#nemorlmodelsgenerationfp8monkeypatchvllmrayexecutor)         | Aucun       |
| [`apply_fp8_patches`](#nemorlmodelsgenerationfp8applyfp8patches)                                 | Aucun       |
| [`init_fp8`](#nemorlmodelsgenerationfp8initfp8)                                                  | Aucun       |
| [`is_fp8_model`](#nemorlmodelsgenerationfp8isfp8model)                                           | Aucun       |
| [`_get_params_in_layers`](#nemorlmodelsgenerationfp8getparamsinlayers)                           | Aucun       |
| [`_get_module_from_param_name`](#nemorlmodelsgenerationfp8getmodulefromparamname)                | Aucun       |
| [`_is_fp8_weight`](#nemorlmodelsgenerationfp8isfp8weight)                                        | Aucun       |
| [`load_weights`](#nemorlmodelsgenerationfp8loadweights)                                          | Aucun       |
| [`cast_tensor_to_fp8_blockwise`](#nemorlmodelsgenerationfp8casttensortofp8blockwise)             | Aucun       |
| [`process_weights_after_loading`](#nemorlmodelsgenerationfp8processweightsafterloading)          | Aucun       |
| [`_per_token_group_quant_fp8`](#nemorlmodelsgenerationfp8pertokengroupquantfp8)                  | Aucun       |
| [`_per_token_group_quant_fp8_colmajor`](#nemorlmodelsgenerationfp8pertokengroupquantfp8colmajor) | Aucun       |
| [`per_token_group_quant_fp8`](#nemorlmodelsgenerationfp8pertokengroupquantfp8)                   | Aucun       |

### Données

`FP8_BLOCK_QUANT_KWARGS`
`global_fp8_config`
`fp8_state`
`fp8_patches_applied`
`original_run_engine_core`
`original_init`

### API

\[Le reste du document reste identique, seules les traductions textuelles sont modifiées]