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
Function
test_get_num_image_embeddings
(vision_model, pixel_shuffle, tile_tags, expected)
Megatron-LM/tests/unit_tests/models/test_clip_vit_model.py:69
Function
test_get_num_microbatches
()
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:45
Function
test_get_overview_data
(manager)
swe-rl/mini-swe-agent/tests/run/test_batch_progress.py:101
Function
test_get_packed_seq_params
Test creating PackedSeqParams for context parallel.
Megatron-LM/tests/unit_tests/models/test_llava_model.py:794
Function
test_get_padding
Test calculating padding for context parallel.
Megatron-LM/tests/unit_tests/models/test_llava_model.py:780
Method
test_get_pg_multiple_dims
Test get_pg with multiple dimensions.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:216
Method
test_get_pg_not_created_error
Test get_pg raises error when process group doesn't exist.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:208
Method
test_get_pg_success
Test get_pg returns existing process group.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:194
Function
test_get_pipeline_parallel_order
( pipeline_model_parallel_size, virtual_pipeline_model_parallel_size, num_microbatches, microb
Megatron-LM/tests/unit_tests/pipeline_parallel/test_schedules.py:83
Function
test_get_tensor_model_parallel_src_rank
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:168
Method
test_get_text_embeddings
Test getting text embeddings.
Megatron-LM/tests/unit_tests/models/test_mimo_model.py:233
Function
test_get_wd_constant
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:45
Function
test_get_wd_cosine
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:85
Function
test_get_wd_linear
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:65
Function
test_github_issue_end_to_end
Test the complete flow from CLI to final result using real environment but deterministic model
swe-rl/mini-swe-agent/tests/run/test_github_issue.py:72
Method
test_global_aux_loss
(self, tp_size, ep_size, cp_size)
Megatron-LM/tests/unit_tests/transformer/moe/test_aux_loss.py:390
Function
test_global_memory_buffer
()
Megatron-LM/tests/unit_tests/test_utils.py:85
Method
test_global_metadata_reuse
(self, tmp_path_dist_ckpt, tp, pp)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_global_metadata_reuse.py:29
Function
test_gpt2_tiktok_tokenizer
(gpt2_tiktok_vocab)
Megatron-LM/tests/unit_tests/test_tokenizer.py:133
Method
test_gpt_model
(self, mtp_layers, dispatcher_type, fp8_flag, layer_num)
Megatron-LM/tests/unit_tests/fusions/test_fused_linear_cross_entropy.py:204
Method
test_gpt_model_with_custom_pg
(self, tp_size, dp_size, cp_size)
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:272
Function
test_gpt_with_te_activation_func
Test GPT model with Transformer Engine activation function
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:203
Method
test_gpu_cudagraph
(self)
Megatron-LM/tests/unit_tests/transformer/test_cuda_graphs.py:104
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/models/test_base_embedding.py:49
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_layer.py:43
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:42
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:78
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_rope.py:124
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:163
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:420
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:477
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:548
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_mlp.py:45
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention_packed_seq.py:77
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention_packed_seq.py:175
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_retro_attention.py:201
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:117
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:53
Method
test_gpu_forward
(self, shared_expert_gate)
Megatron-LM/tests/unit_tests/transformer/moe/test_shared_experts.py:24
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_shared_experts.py:85
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_sequential_mlp.py:145
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/ssm/test_mamba_layer.py:35
Method
test_gpu_forward
Test GPU forward pass.
Megatron-LM/tests/unit_tests/ssm/test_mamba_block.py:49
Method
test_gpu_forward
(self)
Megatron-LM/tests/unit_tests/ssm/test_gated_delta_net.py:110
Method
test_gpu_forward
(self, tp_size, cp_size, use_mem_eff_path)
Megatron-LM/tests/unit_tests/ssm/test_mamba_mixer.py:64
Method
test_gpu_forward_backward
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_grouped_mlp.py:321
Method
test_gpu_forward_backward_with_no_tokens_allocated
Test the case when no token is allocated for groupedGEMM kernels.
Megatron-LM/tests/unit_tests/transformer/moe/test_grouped_mlp.py:364
Method
test_gpu_forward_full_checkpoint
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:74
Method
test_gpu_forward_full_checkpoint_fp8
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:77
Method
test_gpu_forward_no_rope_freq_not_specified
Test forward pass with no_rope pattern not provided.
Megatron-LM/tests/unit_tests/transformer/test_attention_no_rope.py:132
Method
test_gpu_forward_selective_checkpoint
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:80
Method
test_gpu_forward_selective_checkpoint_fp8
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:83
Method
test_gpu_forward_thd
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:223
Method
test_gpu_forward_thd
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:576
Method
test_gpu_forward_thd_padded
Test MLA forward pass with cu_seqlens_q_padded and cu_seqlens_kv_padded.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:256
Method
test_gpu_forward_thd_precision
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:646
Method
test_gpu_forward_thd_precision
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:798
Method
test_gpu_forward_thd_precision
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:938
Method
test_gpu_forward_with_no_rope
Test forward pass with no_rope pattern.
Megatron-LM/tests/unit_tests/transformer/test_attention_no_rope.py:63
Method
test_gpu_forward_with_yarn_rope_fusion
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:188
Method
test_grad_comm_process_groups
Test basic functionality of ProcessGroupCollection.
Megatron-LM/tests/unit_tests/test_process_groups_config.py:34
Function
test_grad_sync
( use_distributed_optimizer: bool, overlap_grad_reduce: bool, average_in_collective: bool, num
Megatron-LM/tests/unit_tests/distributed/test_param_and_grad_buffer.py:168
Function
test_grad_sync
( use_distributed_optimizer: bool, overlap_grad_reduce: bool, average_in_collective: bool, ep_
Megatron-LM/tests/unit_tests/distributed/test_grad_sync_with_expert_parallel.py:113
Method
test_gradient_flow
Test gradient flow through FusedScaleMaskSoftmax.
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:234
Method
test_gradient_with_no_tokens_allocated
Test that when no token is passed in, the parameters of the grouped MLP will also have gradients.
Megatron-LM/tests/unit_tests/transformer/moe/test_grouped_mlp.py:206
Function
test_grpo_loss_calculation_2x_ratios
()
Megatron-LM/tests/unit_tests/test_rl_utils.py:216
Function
test_grpo_loss_calculation_all_pi_eq
()
Megatron-LM/tests/unit_tests/test_rl_utils.py:194
Function
test_grpo_loss_truncation
()
Megatron-LM/tests/unit_tests/test_rl_utils.py:261
Method
test_handled_unsupported_callables
Test an attribute with an unsupported type that has type info in the metadata.
Megatron-LM/tests/unit_tests/test_argument_utils.py:612
Method
test_handled_unsupported_unions
Test an attribute with an unsupported type that has type info in the metadata.
Megatron-LM/tests/unit_tests/test_argument_utils.py:632
Function
test_help_command
Test help command shows help and continues normally.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:78
Function
test_help_command_from_different_contexts
Test help command works from different contexts (confirmation, interrupt, human mode).
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:500
Function
test_help_command_from_human_mode
Test help command works from human mode.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:530
Method
test_help_override
Test that argparse_meta can override help text.
Megatron-LM/tests/unit_tests/test_argument_utils.py:458
Function
test_helpers
()
Megatron-LM/tests/unit_tests/pipeline_parallel/test_helpers.py:120
Function
test_hf_tokenizer
()
Megatron-LM/tests/unit_tests/tokenizers/test_tokenizer.py:90
Method
test_hierarchical_context_parallel_groups
Test setting and accessing the hierarchical context parallel list.
Megatron-LM/tests/unit_tests/test_process_groups_config.py:52
Function
test_human_mode_basic_functionality
Test human mode where user enters shell commands directly.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:237
Function
test_human_mode_switch_to_confirm
Test switching from human mode to confirm mode.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:287
Function
test_human_mode_switch_to_yolo
Test switching from human mode to yolo mode.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:260
Function
test_hybrid_dp_cp_groups
Test that hybrid DPxCP groups are created correctly.
Megatron-LM/tests/unit_tests/test_parallel_state.py:510
Method
test_hybrid_layer_allocation
(self)
Megatron-LM/tests/unit_tests/ssm/test_mamba_hybrid_layer_allocation.py:15
Function
test_import
()
Megatron-LM/tests/unit_tests/test_basic.py:1
Method
test_import_module
(self)
Megatron-LM/tests/unit_tests/transformer/test_spec_customization.py:76
Method
test_indices_to_multihot
(self, num_of_token, topk, num_of_local_experts)
Megatron-LM/tests/unit_tests/transformer/moe/test_multihot_indices_converter.py:51
Method
test_inference
(self)
Megatron-LM/tests/unit_tests/post_training/test_modelopt_module_spec.py:106
Method
test_inference
(self)
Megatron-LM/tests/unit_tests/models/test_mamba_model.py:86
Method
test_inference_config
(self)
Megatron-LM/tests/unit_tests/inference/model_inference_wrappers/test_model_inference_wrapper_config.py:10
Method
test_inference_only_tensor_parallel
(self, materialize_only_last_token_logits)
Megatron-LM/tests/unit_tests/inference/model_inference_wrappers/gpt/test_gpt_inference_wrapper.py:147
Method
test_inference_only_tensor_parallel
(self)
Megatron-LM/tests/unit_tests/inference/model_inference_wrappers/t5/test_t5_inference_wrapper.py:97
Function
test_inference_pipeline
(golden_values_path: str, test_values_path: str)
Megatron-LM/tests/functional_tests/python_test_utils/test_inference_regular_pipeline.py:12
Method
test_inference_pipeline_parallel_large_size
(self, materialize_only_last_token_logits)
Megatron-LM/tests/unit_tests/inference/model_inference_wrappers/gpt/test_gpt_inference_wrapper.py:112
Method
test_inference_pipeline_parallel_small_size
(self, materialize_only_last_token_logits)
Megatron-LM/tests/unit_tests/inference/model_inference_wrappers/gpt/test_gpt_inference_wrapper.py:76
Method
test_init_basic
Test basic initialization of HyperCommGrid.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:16
Function
test_init_num_microbatches_calculator
()
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:8
Method
test_init_validation_errors
Test initialization validation errors.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:45
Method
test_init_with_optional_params
Test initialization with optional parameters.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:30
Function
test_initialization
(mock_optimizer)
Megatron-LM/tests/unit_tests/test_optimizer_param_scheduler.py:18
Function
test_initialize_and_destroy_model_parallel
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:19
Method
test_initialize_dynamic_context
(self, is_hybrid_model: bool)
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:92
← previous
next →
9,701–9,800 of 10,561, ranked by callers