MCPcopy Create free account

hub / github.com/Gen-Verse/OpenClaw-RL / functions

Functions10,561 in github.com/Gen-Verse/OpenClaw-RL

Methodbackup_tags
(self)
slime/slime/utils/tensor_backper.py:23
Methodbackup_tags
(self)
slime/slime/utils/tensor_backper.py:48
Methodbackup_tags
(self)
slime/slime/utils/tensor_backper.py:85
Functionbackward
backward host function
Megatron-LM/megatron/core/fusions/linear_cross_entropy/blackwell/entry.py:309
Methodbackward
(ctx, grad_out)
openclaw-combine/hint_opd_loss.py:134
Methodbackward
(ctx, grad_out)
openclaw-combine/hint_opd_loss.py:198
Methodbackward
(ctx, grad_output)
Megatron-LM/pretrain_ict.py:62
Methodbackward
(ctx, output_grads)
Megatron-LM/megatron/legacy/model/fused_softmax.py:33
Methodbackward
(ctx, output_grads)
Megatron-LM/megatron/legacy/model/fused_softmax.py:69
Methodbackward
(ctx, grad_output)
Megatron-LM/megatron/legacy/model/fused_bias_gelu.py:39
Methodbackward
No-op
Megatron-LM/megatron/core/utils.py:682
Methodbackward
Backward pass for scaled upper-triangular masked softmax. Args: ctx: Autograd context containing saved tensors from forward.
Megatron-LM/megatron/core/fusions/fused_softmax.py:40
Methodbackward
Backward pass for scaled masked softmax. Args: ctx: Autograd context containing saved tensors from forward. output_gr
Megatron-LM/megatron/core/fusions/fused_softmax.py:90
Methodbackward
Backward implementation for the cross entropy loss.
Megatron-LM/megatron/core/fusions/fused_cross_entropy.py:124
Methodbackward
Backward function for IndicesToMultihot Convert multihot probs representation to indices. indices is ignored in the backward function
Megatron-LM/megatron/core/fusions/fused_indices_converter.py:239
Methodbackward
Backward function for ApplyMLARotaryEmbQ. Args: grad: [seq_len, batch_size, head_num, qk_head_dim + emb_dim]
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:285
Methodbackward
Backward function for ApplyMLARotaryEmbKV. Args: dk: [seq_len, batch_size, head_num, emb_dim + k_dim] or
Megatron-LM/megatron/core/fusions/fused_mla_yarn_rope_apply.py:692
Methodbackward
Backward pass of biased GEGLU activation. Args: ctx: Autograd context object containing saved tensors from forward pass.
Megatron-LM/megatron/core/fusions/fused_bias_geglu.py:104
Methodbackward
Backward pass of GEGLU activation. Args: ctx: Autograd context object containing saved tensors from forward pass. gra
Megatron-LM/megatron/core/fusions/fused_bias_geglu.py:138
Methodbackward
Backward pass of weighted Quick-GEGLU. Args: ctx: Autograd context object containing saved tensors from forward pass.
Megatron-LM/megatron/core/fusions/fused_bias_geglu.py:333
Methodbackward
Backward pass of weighted Quick-GEGLU with bias. Args: ctx: Autograd context object containing saved tensors from forward pass.
Megatron-LM/megatron/core/fusions/fused_bias_geglu.py:387
Methodbackward
(ctx, grad_output)
Megatron-LM/megatron/core/fusions/fused_bias_gelu.py:44
Methodbackward
The backward pass of the Linear Cross Entropy. Args: dlogprobs (torch.Tensor): The gradient of the cross entropy, with sh
Megatron-LM/megatron/core/fusions/fused_linear_cross_entropy.py:184
Methodbackward
backward method for `WeightedSquaredReLUFunction` Args: ctx : context object to store intermediate tensors. grad_outp
Megatron-LM/megatron/core/fusions/fused_weighted_squared_relu.py:79
Methodbackward
Backward pass of biased SwiGLU activation. Args: ctx: Autograd context object containing saved tensors from forward pass.
Megatron-LM/megatron/core/fusions/fused_bias_swiglu.py:128
Methodbackward
Backward pass of SwiGLU activation. Args: ctx: Autograd context object containing saved tensors from forward pass. gr
Megatron-LM/megatron/core/fusions/fused_bias_swiglu.py:173
Methodbackward
(ctx, grad_output)
Megatron-LM/megatron/core/fusions/fused_bias_swiglu.py:202
Methodbackward
Backward with frozen weight.
Megatron-LM/megatron/core/tensor_parallel/layers.py:356
Methodbackward
Backward.
Megatron-LM/megatron/core/tensor_parallel/layers.py:503
Methodbackward
Vocab parallel cross entropy backward function.
Megatron-LM/megatron/core/tensor_parallel/cross_entropy.py:192
Methodbackward
Backward pass.
Megatron-LM/megatron/core/tensor_parallel/random.py:579
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:212
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:231
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:251
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:271
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:291
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:328
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:368
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:395
Methodbackward
Backward function.
Megatron-LM/megatron/core/tensor_parallel/mappings.py:415
Methodbackward
Backward pass of the RegisterFSDPBackwardFunction function.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/megatron_fsdp.py:1256
Methodbackward
Passes through gradients unchanged in the backward pass.
Megatron-LM/megatron/core/pipeline_parallel/utils.py:139
Methodbackward
(ctx, *grad_output)
Megatron-LM/megatron/core/pipeline_parallel/fine_grained_activation_offload.py:503
Methodbackward
(ctx, grad_output)
Megatron-LM/megatron/core/pipeline_parallel/fine_grained_activation_offload.py:542
Methodbackward
(ctx, grad_output)
Megatron-LM/megatron/core/extensions/transformer_engine.py:1210
Methodbackward
If this is the first bwd pass of this runner, record that a bwd graph needs to be created.
Megatron-LM/megatron/core/transformer/cuda_graphs.py:426
Methodbackward
Replay the backward graph of the passed runner.
Megatron-LM/megatron/core/transformer/cuda_graphs.py:495
Methodbackward
Backward pass for the native attention function with context parallelism
Megatron-LM/megatron/core/transformer/dot_product_attention_context_parallel.py:237
Methodbackward
Compute and scale the gradient for mtp loss.. Args: grad_output (torch.Tensor): The gradient of the output. Returns:
Megatron-LM/megatron/core/transformer/multi_token_prediction.py:569
Methodbackward
Compute and scale the gradient for indexer loss. Args: grad_output: The gradient of the output. Returns: Tup
Megatron-LM/megatron/core/transformer/experimental_attention_variant/dsa.py:279
Methodbackward
Compute and scale the gradient for auxiliary loss.. Args: grad_output (torch.Tensor): The gradient of the output. Return
Megatron-LM/megatron/core/transformer/moe/moe_utils.py:194
Methodbackward
Backward pass propagates the gradient for logits.
Megatron-LM/megatron/core/transformer/moe/moe_utils.py:940
Methodbackward
Backward pass of the RouterGatingLinearFunction function.
Megatron-LM/megatron/core/transformer/moe/moe_utils.py:987
Methodbackward
Backward pass of fused dispatch.
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:140
Methodbackward
Backward pass of fused combine.
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:191
Methodbackward
Backward pass of fused dispatch of the HybridEP backend
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:398
Methodbackward
Backward pass of fused combine of the HybridEP backend
Megatron-LM/megatron/core/transformer/moe/fused_a2a.py:429
Methodbackward
(ctx, g_logprobs: torch.Tensor)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:1094
Methodbackward
Backward pass for GateUpProjFunction - Pure Python implementation. Forward: output = input @ w1 (without topk_weight multiplication)
slime/tests/test_fused_experts_backward.py:56
Methodbackward
(ctx, *grads)
slime/slime_plugins/models/hf_attention.py:67
Methodbackward
(ctx, grad_output: torch.Tensor)
slime/slime/utils/ppo_utils.py:185
Methodbackward
Backward pass for GateUpProjFunction using Triton kernels. Args: grad_output: shape (num_tokens * topk, N) Retu
slime/slime/backends/fsdp_utils/kernels/fused_experts.py:96
Methodbackward
(ctx, grad_output)
slime/slime/backends/fsdp_utils/kernels/fused_experts.py:188
Methodbackward
(ctx, grad_output)
slime/slime/backends/fsdp_utils/kernels/fused_experts.py:379
Methodbackward_dw
Compute weight gradients during the backward pass if delay_wgrad_compute is enabled.
Megatron-LM/megatron/core/extensions/transformer_engine.py:656
Methodbackward_dw
Compute weight gradients during the backward pass if delay_wgrad_compute is enabled.
Megatron-LM/megatron/core/extensions/transformer_engine.py:755
Methodbackward_dw
Compute weight gradients during the backward pass if delay_wgrad_compute is enabled.
Megatron-LM/megatron/core/extensions/transformer_engine.py:855
Methodbackward_dw
Compute weight gradients during the backward pass if delay_wgrad_compute is enabled.
Megatron-LM/megatron/core/extensions/transformer_engine.py:1562
Methodbackward_dw
(self)
Megatron-LM/megatron/core/transformer/mlp.py:254
Methodbackward_dw
Performs backward pass for weight gradients in TEGroupedMLP. This method executes the backward pass for weight gradients by calling b
Megatron-LM/megatron/core/transformer/moe/experts.py:1029
Methodbackward_dw
Backward pass for weight gradients in SequentialMLP.
Megatron-LM/megatron/core/transformer/moe/experts.py:1152
Methodbackward_dw
Compute weight gradients for experts and shared experts.
Megatron-LM/megatron/core/transformer/moe/moe_layer.py:329
Methodbackward_impl
Implements the backward pass for the transformer layer node.
Megatron-LM/megatron/core/models/gpt/fine_grained_callables.py:277
Methodbase_generate
(self, request: InferenceRequest)
Megatron-LM/megatron/rl/inference/megatron.py:166
Methodbase_generate
(self, request: ChatInferenceRequest)
Megatron-LM/megatron/rl/inference/inference_interface.py:111
Methodbase_generate
(request: ChatInferenceRequest)
Megatron-LM/megatron/rl/server/inference/inference_interface_server.py:72
Methodbatch
Pad/stack individual samples into a single batch dict.
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:288
Methodbatch
Pad/stack individual samples into a single batch dict.
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:195
Methodbatch
(self, samples: List[Union[ImageTaskSample, ImageTaskSamplePacked]])
Megatron-LM/examples/multimodal/dataset_helpers.py:791
Functionbert_vocab
(odir)
Megatron-LM/tests/unit_tests/data/test_preprocess_data.py:207
Methodbias_act_func
(intermediate_parallel, bias_parallel, permuted_probs)
Megatron-LM/megatron/core/transformer/moe/experts.py:901
Functionbias_dropout_add_fused_inference
(x: torch.Tensor, bias: Optional[torch.Tensor],
Megatron-LM/megatron/legacy/model/transformer.py:868
Functionbias_dropout_add_fused_inference
( x_with_bias: Tuple[torch.Tensor, Optional[torch.Tensor]], residual: torch.Tensor, prob: float )
Megatron-LM/megatron/core/fusions/fused_bias_dropout.py:75
Functionbias_dropout_add_fused_train
(x: torch.Tensor, bias: Optional[torch.Tensor],
Megatron-LM/megatron/legacy/model/transformer.py:860
Methodbos
Returns id of beginning of sentence token.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:186
Methodbos
The BOS token id Raises: NotImplementedError: Non-abstract, optional attribute
Megatron-LM/megatron/core/datasets/megatron_tokenizer.py:138
Methodbos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:186
Methodbos
Id of the beginning of sentence token in the vocabulary.
Megatron-LM/megatron/training/tokenizer/tokenizer.py:291
Methodbos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:518
Methodbos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:749
Methodbos
Beginning of sequence token ID.
Megatron-LM/megatron/training/tokenizer/sft_tokenizer.py:174
Methodbos_id
Get the beginning-of-sequence ID.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:139
Methodbos_id
Returns id of beggining of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:286
Methodbos_id
Returns id of begginning of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/sentencepiece_tokenizer.py:323
Methodbos_id
Property alias to match MegatronTokenizer; returns bos_id if available.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:129
Methodbos_id
Returns id of beginning of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:241
Methodbos_token
Beginning of sentence token id
Megatron-LM/megatron/training/tokenizer/tokenizer.py:306
Methodbound_device_id
(self)
slime/slime/utils/reloadable_process_group.py:257
Methodbroadcast_params
Syncs parameters across all DP ranks.
Megatron-LM/megatron/core/distributed/fsdp/src/megatron_fsdp/megatron_fsdp.py:1213
Methodbroadcast_params
All rank broadcast updated local params.
Megatron-LM/megatron/core/optimizer/layer_wise_optimizer.py:185
← previousnext →6,701–6,800 of 10,561, ranked by callers