> 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/nemo/rl/latest/nemo-rl-models-policy-megatron-policy-worker/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://fr.nvidia-localization.ferndocs.com/_mcp/server. # nemo\_rl.models.policy.megatron\_policy\_worker ## Contenu du module ### Classes | Nom | Description | | ------------------------------------------------------------------------------------- | ----------- | | [`MegatronPolicyWorker`](#nemorlmodelspolicymegatronpolicyworkermegatronpolicyworker) | Aucun | ### Fonctions | Nom | Description | | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | [`broadcast_object_across_pp_ranks`](#nemorlmodelspolicymegatronpolicyworkerbroadcastobjectacrossppranks) | Diffuser un objet à travers les rangs parallèles du pipeline. | | [`setup_megatron_model`](#nemorlmodelspolicymegatronpolicyworkersetupmegatronmodel) | Aucun | | [`destroy_parallel_state`](#nemorlmodelspolicymegatronpolicyworkerdestroyparallelstate) | Détruire de manière sécurisée l'état parallèle et réinitialiser le suivi des appels asynchrones. | ### Données `TokenizerType` ### API (Reste du document traduit de la même manière, en conservant tous les blocs de code et la structure MDX, en ne traduisant que les textes visibles)