Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gen-Verse/OpenClaw-RL
/ functions
Functions
10,561 in github.com/Gen-Verse/OpenClaw-RL
⨍
Functions
10,561
◇
Types & classes
1,405
↳
Endpoints
144
Method
serialize
Converts the instance into a serializable dictionary. Returns: (dict) A dictionary representation of the instance suitable for
Megatron-LM/megatron/core/inference/inference_request.py:496
Method
set
(self, key, model, params)
Megatron-LM/tools/checkpoint/schema_base.py:81
Method
set_barrier_group
Sets barrier group. Args: barrier_group (ProcessGroup): Torch ProcessGroup for barrier.
Megatron-LM/megatron/core/timers.py:135
Function
set_body_size
(request: Request, call_next)
slime/slime_plugins/rollout_buffer/buffer.py:113
Method
set_ckpt_path
(ckpt_path)
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:368
Function
set_data_parallel_rank
Return world size for the data parallel group.
Megatron-LM/megatron/core/parallel_state.py:1720
Function
set_default_dist_ckpt_strategy
()
Megatron-LM/tests/unit_tests/dist_checkpointing/conftest.py:20
Function
set_defaults_if_not_set_tensor_model_parallel_attributes
Set default model parallel attributes if not set explicitly already.
Megatron-LM/megatron/core/tensor_parallel/layers.py:112
Method
set_embed_and_head
(self, embed, head)
slime/slime/backends/sglang_utils/qwen3_5.py:217
Function
set_env
()
Megatron-LM/tests/unit_tests/conftest.py:50
Function
set_env
()
Megatron-LM/tests/unit_tests/transformer/moe/conftest.py:28
Function
set_expert_model_parallel_rank
Set expert-model-parallel rank.
Megatron-LM/megatron/core/parallel_state.py:1807
Function
set_expert_model_parallel_world_size
Sets the expert-model-parallel world size.
Megatron-LM/megatron/core/parallel_state.py:1791
Function
set_expert_tensor_parallel_rank
Set expert tensor model parallel rank
Megatron-LM/megatron/core/parallel_state.py:1852
Function
set_expert_tensor_parallel_world_size
Set expert tensor model parallel size
Megatron-LM/megatron/core/parallel_state.py:1834
Method
set_extra_state
Extra state is ignored
Megatron-LM/megatron/core/tensor_parallel/layers.py:1081
Method
set_extra_state
Extra state is ignored
Megatron-LM/megatron/core/tensor_parallel/layers.py:1332
Method
set_for_recompute_input_layernorm
Set the attention layer for recompute input_layernorm. Only needed for fp8/fp4.
Megatron-LM/megatron/core/transformer/attention.py:1278
Method
set_for_recompute_input_layernorm
Set the attention layer for recompute input_layernorm. Only needed for fp8/fp4.
Megatron-LM/megatron/core/transformer/multi_latent_attention.py:1004
Function
set_input_tensor
(input_tensor)
Megatron-LM/tests/unit_tests/transformer/test_full_cuda_graph.py:46
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/classification.py:48
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/gpt_model.py:74
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/language_model.py:444
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/biencoder_model.py:107
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
Megatron-LM/megatron/legacy/model/transformer.py:1675
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/bert_model.py:171
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/multiple_choice.py:45
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/vision/classification.py:44
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/vision/classification.py:78
Method
set_input_tensor
(self, tensor)
Megatron-LM/megatron/legacy/model/vision/dino.py:266
Method
set_input_tensor
(self, input_tensor)
Megatron-LM/megatron/legacy/model/vision/inpainting.py:48
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/vision/inpainting.py:115
Method
set_input_tensor
See megatron.legacy.model.transformer.set_input_tensor()
Megatron-LM/megatron/legacy/model/vision/vit_backbone.py:208
Method
set_input_tensor
Set input tensor for pipeline parallelism. This method is required by Megatron's pipeline parallel mechanism. It passes the output te
Megatron-LM/megatron/core/models/mimo/model/base.py:160
Method
set_input_tensor
Sets input tensor to the model. See megatron.model.transformer.set_input_tensor() Args: input_tensor (Tensor): Sets the
Megatron-LM/megatron/core/models/mamba/mamba_model.py:155
Method
set_input_tensor
Sets input tensor to the model. See megatron.model.transformer.set_input_tensor() Args: input_tensor (Tensor): Sets the
Megatron-LM/megatron/core/models/bert/bert_model.py:278
Method
set_input_tensor
Sets input tensor to the model. See megatron.model.transformer.set_input_tensor() Args: input_tensor (Tensor): Sets the
Megatron-LM/megatron/core/models/gpt/gpt_model.py:264
Method
set_input_tensor
Sets input tensor to the model. Args: input_tensor (Tensor): Sets the input tensor for the model.
Megatron-LM/megatron/core/models/vision/clip_vit_model.py:156
Method
set_input_tensor
Sets input tensor to the model. Args: input_tensor (Tensor): Sets the input tensor for the model.
Megatron-LM/megatron/core/models/vision/radio.py:168
Method
set_input_tensor
Set model chunk input tensor.
Megatron-LM/megatron/core/models/multimodal/llava_model.py:389
Method
set_input_tensor
Dummy function for set_input_tensor
Megatron-LM/megatron/core/models/huggingface/module.py:23
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
Megatron-LM/megatron/core/transformer/transformer_block.py:537
Method
set_input_tensor
(self, input_tensor)
Megatron-LM/megatron/core/transformer/module.py:417
Method
set_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
Megatron-LM/megatron/core/ssm/mamba_block.py:181
Method
set_input_tensor
(self, input_tensor)
slime/slime_plugins/megatron_bridge/qwen35_vl.py:683
Method
set_layer
(self, model, layer_idx, params)
Megatron-LM/tools/checkpoint/schema_base.py:84
Method
set_layer_number
Set the layer number for the MoE layer.
Megatron-LM/megatron/core/transformer/moe/moe_layer.py:91
Method
set_loss_scale
set the scale of the mtp loss. Args: scale (torch.Tensor): The scale value to set. Please ensure that the scale passed in
Megatron-LM/megatron/core/transformer/multi_token_prediction.py:585
Method
set_loss_scale
Set the scale of the indexer loss. Args: scale: The scale value to set.
Megatron-LM/megatron/core/transformer/experimental_attention_variant/dsa.py:299
Method
set_param_attribute
()
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2491
Method
set_param_attribute_closure
(param, orig_param)
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/param_and_grad_buffer.py:2490
Method
set_params
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:346
Function
set_pipeline_model_parallel_rank
Set pipeline-model-parallel rank.
Megatron-LM/megatron/core/parallel_state.py:1559
Function
set_pipeline_model_parallel_world_size
Set the pipeline-model-parallel size
Megatron-LM/megatron/core/parallel_state.py:1525
Method
set_prm_teacher_log_probs
Receive PRM teacher log-probs from a separate PRM teacher actor group.
slime/slime/backends/megatron_utils/actor.py:611
Method
set_rollout_manager
(self, rollout_manager)
slime/slime/ray/actor_group.py:144
Method
set_shared_experts
Set shared expert to the dispatcher.
Megatron-LM/megatron/core/transformer/moe/token_dispatcher.py:465
Method
set_shared_experts
(self, shared_experts)
Megatron-LM/megatron/core/transformer/moe/token_dispatcher.py:1374
Method
set_size
(self, size)
Megatron-LM/tools/checkpoint/utils.py:69
Method
set_states
Mirrors the interface from the training RNG tracker.
Megatron-LM/megatron/core/tensor_parallel/random.py:330
Method
set_states
Set the internal RNG state.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/utils.py:249
Method
set_states
Mirrors the interface from the training RNG tracker.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/utils.py:382
Function
set_tensor_model_parallel_rank
Set tensor-model-parallel rank.
Megatron-LM/megatron/core/parallel_state.py:1553
Function
set_tensor_model_parallel_world_size
Set the tensor-model-parallel size
Megatron-LM/megatron/core/parallel_state.py:1519
Method
set_train_parallel_config
(self, config: dict)
slime/slime/ray/rollout.py:754
Method
set_training_client
(self, training_client)
openclaw-fireworks/fireworks_server.py:320
Method
set_up_planner
( self, state_dict: dist_cp.metadata.STATE_DICT_TYPE, metadata: dist_cp.metadata.Metad
slime/tools/convert_fsdp_to_hf.py:41
Method
set_up_planner
( self, state_dict: dist_cp.metadata.STATE_DICT_TYPE, metadata: dist_cp.metadata.Metad
slime/tools/convert_torch_dist_to_hf.py:50
Function
set_virtual_pipeline_model_parallel_rank
Set the virtual pipeline-parallel rank.
Megatron-LM/megatron/core/parallel_state.py:1632
Function
set_virtual_pipeline_model_parallel_world_size
Set the pipeline-model-parallel size
Megatron-LM/megatron/core/parallel_state.py:1531
Method
set_world_size
(world_size=None, rank=None)
Megatron-LM/tests/unit_tests/test_utilities.py:71
Method
setup
Set up test parameters.
Megatron-LM/tests/unit_tests/inference/test_communication_utils.py:20
Method
setup_and_teardown
Setup and teardown for each test.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:69
Method
setup_and_teardown
Setup and teardown for each test.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:112
Method
setup_and_teardown
Setup and teardown for each test with tensor parallel.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:343
Method
setup_and_teardown
(self, rope_type)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:112
Method
setup_and_teardown
(self, rope_type)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:612
Method
setup_and_teardown
(self, rope_type, apply_rope_fusion)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:761
Method
setup_and_teardown
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:903
Method
setup_and_teardown
(self, rope_type)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1042
Function
setup_and_teardown_llava_model
(request)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:466
Method
setup_attrs
Setup attributes for the test class.
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:564
Method
setup_attrs
Setup attributes for the test class.
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:1004
Method
setup_class
(cls)
Megatron-LM/tests/unit_tests/test_nccl_allocator.py:14
Method
setup_class
Set up distributed environment for the entire test class.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:317
Method
setup_class
(cls)
Megatron-LM/tests/unit_tests/distributed/test_mcore_fully_sharded_data_parallel.py:76
Method
setup_class
(cls)
Megatron-LM/tests/unit_tests/distributed/test_reduce_scatter_with_fp32_accumulation.py:24
Method
setup_class
(cls)
Megatron-LM/tests/unit_tests/distributed/test_distributed_data_parallel.py:32
Method
setup_class
(cls)
Megatron-LM/tests/unit_tests/distributed/fsdp/test_mfsdp_fully_shard.py:199
Method
setup_class
Set up distributed environment for the entire test class.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:186
Method
setup_class
Set up distributed environment for the entire test class.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:27
Function
setup_grpo_data_iterator
Set up the data iterator for GRPO training. Args: model: The language model optimizer: The Megatron optimizer iterat
Megatron-LM/megatron/rl/rl_utils.py:1949
Method
setup_metadata
Set up metadata of routing_map and probs.
Megatron-LM/megatron/core/transformer/moe/token_dispatcher.py:920
Method
setup_metadata
(self, routing_map: torch.Tensor, probs: torch.Tensor)
Megatron-LM/megatron/core/transformer/moe/token_dispatcher.py:1005
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_training.py:34
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_process_groups_config.py:96
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:97
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:114
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_fp8_utils.py:26
Method
setup_method
(self, method)
Megatron-LM/tests/unit_tests/test_fp8_param.py:68
← previous
next →
8,701–8,800 of 10,561, ranked by callers