MCPcopy Create free account

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

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

Methodtest_repr
Test __repr__ shows active process groups and their sizes.
Megatron-LM/tests/unit_tests/test_process_groups_config.py:70
Methodtest_repr_returns_string
Test that __repr__ always returns a string for both str and list inputs.
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:625
Methodtest_request_overflow
(self, is_hybrid_model: bool)
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:167
Methodtest_reset
(self, is_hybrid_model: bool)
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:226
Functiontest_resume_checkpoint_pipeline
( compare_approximate_results: bool, actual_values_first_run: Dict[str, common.GoldenValueMetric],
Megatron-LM/tests/functional_tests/python_test_utils/test_pretraining_resume_checkpoint_pipeline.py:14
Methodtest_return_log_probs
Verify that returning log probs does not raise any error.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:817
Methodtest_roll_tensor_with_packed_sequences
Test roll_tensor function with packed sequences, with and without CP. For CP=1: Tests standard packed sequence rolling with verified expected
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:531
Methodtest_rotate_activation_dtype_check
Test that rotate_activation only accepts bfloat16.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:79
Methodtest_rotate_activation_shape
Test that rotate_activation preserves shape.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:67
Methodtest_router_dtype
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:130
Methodtest_router_forward
(self, moe_router_pre_softmax, score_function)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:66
Methodtest_router_forward
( self, moe_router_group_topk, moe_router_num_groups, moe_router_pre_softmax, score_function )
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:294
Methodtest_router_forward_aux_free
(self)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:389
Methodtest_router_forward_fusion_equivalence
(self, score_function)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:82
Methodtest_router_forward_fusion_equivalence
(self, score_function)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:330
Methodtest_router_forward_fusion_equivalence
(self, score_function)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:420
Functiontest_router_gating_linear
(router_dtype)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:462
Functiontest_router_gating_linear_bias
(router_dtype)
Megatron-LM/tests/unit_tests/transformer/moe/test_routers.py:493
Methodtest_router_padding_for_fp8_forward_backward
( self, tp_size, ep_size, permute_fusion, experimental_fusion )
Megatron-LM/tests/unit_tests/transformer/moe/test_a2a_token_dispatcher.py:107
Methodtest_router_padding_for_fp8_forward_backward
( self, tp_size, ep_size, permute_fusion, moe_flex_dispatcher_backend )
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:503
Methodtest_row_init
(self)
Megatron-LM/tests/unit_tests/tensor_parallel/test_initialization.py:57
Methodtest_row_parallel_linear_tp_attrs_no_init
(self, use_cpu_init)
Megatron-LM/tests/unit_tests/tensor_parallel/test_tp_attrs_without_init.py:65
Methodtest_run_engine
Test asynchronously adding and waiting for requests while the engine is running continuously.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:762
Functiontest_run_hello_world_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_run_hello_world.py:8
Methodtest_safe_globals
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_safe_globals.py:23
Functiontest_safely_set_viewless_tensor_data
()
Megatron-LM/tests/unit_tests/test_utils.py:98
Methodtest_sample_from_dynamic_logits
(self, backend)
Megatron-LM/tests/unit_tests/inference/text_generation_controllers/test_simple_text_generation_controller.py:235
Methodtest_sample_from_logits
(self)
Megatron-LM/tests/unit_tests/inference/text_generation_controllers/test_simple_text_generation_controller.py:146
Methodtest_sampled_tokens_match_with_parallelism
Verify that sampled tokens match across all parallel ranks.
Megatron-LM/tests/unit_tests/inference/text_generation_controllers/test_simple_text_generation_controller.py:868
Methodtest_sampling_params
(self)
Megatron-LM/tests/unit_tests/inference/test_common_inference_params.py:6
Functiontest_save_and_load_checkpoint_pp
(tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_pipeline_parallel_layout.py:88
Functiontest_save_and_load_checkpoint_vpp
( create_args, tmp_path_dist_ckpt, src_tp_pp_vpp, src_pp_layout, dst_tp_pp_vpp, dst_pp
Megatron-LM/tests/unit_tests/dist_checkpointing/test_pipeline_parallel_layout.py:276
Functiontest_save_checkpoint
Test save_checkpoint.
Megatron-LM/tests/unit_tests/test_checkpointing.py:203
Methodtest_save_distribution
(self, parallelization_along_dp, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:143
Methodtest_save_load
(self, tmp_path)
Megatron-LM/tests/unit_tests/models/test_multimodal_projector.py:66
Methodtest_save_load
(self, tmp_path)
Megatron-LM/tests/unit_tests/models/test_mamba_model.py:124
Methodtest_save_load
(self, tmp_path)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:445
Methodtest_save_load
(self, tmp_path)
Megatron-LM/tests/unit_tests/models/test_clip_vit_model.py:52
Methodtest_save_load
(self, tmp_path)
Megatron-LM/tests/unit_tests/models/test_radio_model.py:57
Methodtest_save_loss_to_tracker
Test saving loss to tracker.
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:624
Functiontest_save_traj_includes_class_names
Test that save_traj includes the full class names with import paths.
swe-rl/mini-swe-agent/tests/run/test_save.py:11
Functiontest_save_traj_with_none_agent
Test that save_traj works correctly when agent is None.
swe-rl/mini-swe-agent/tests/run/test_save.py:54
Methodtest_save_wrapper
(save_wrapper, subdir)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:276
Methodtest_scaling_factor
Test softmax with different scaling factors.
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:128
Methodtest_scheduler
(self)
Megatron-LM/tests/unit_tests/inference/test_scheduler.py:25
Methodtest_self_attention_independent_pg_smoke
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:489
Methodtest_self_attention_mpu
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:467
Methodtest_send_backward_recv_backward
Test send_backward and recv_backward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:234
Methodtest_send_backward_recv_backward
Test send_backward and recv_backward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:217
Methodtest_send_forward_recv_backward_send_backward_recv_forward
Test combined send_forward_recv_backward and send_backward_recv_forward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:257
Methodtest_send_forward_recv_backward_send_backward_recv_forward
Test send_forward_recv_backward and send_backward_recv_forward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:278
Methodtest_send_forward_recv_forward
Test send_forward and recv_forward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:213
Methodtest_send_forward_recv_forward
Test send_forward and recv_forward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:110
Methodtest_send_forward_recv_forward_with_different_pp_size
Test for the case when pp(image_encoder) != pp(audio_encoder).
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:164
Methodtest_send_forward_recv_forward_with_transformer_blocks
Test send_forward and recv_forward operations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:356
Methodtest_send_forward_recv_forward_with_transformer_blocks_and_different_parallelisms
Test bridge communicator with two transformer blocks having different process group configurations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:603
Methodtest_send_recv
Test send/recv in a ring pattern with different configs.
Megatron-LM/tests/unit_tests/inference/test_communication_utils.py:75
Methodtest_seq_aux_loss
(self, tp_size, ep_size, cp_size)
Megatron-LM/tests/unit_tests/transformer/moe/test_aux_loss.py:226
Functiontest_sequence_packing_basic
Test basic sequence packing functionality.
Megatron-LM/tests/unit_tests/test_rl_utils.py:374
Functiontest_sequence_packing_empty_bins
Test that empty bins are created correctly.
Megatron-LM/tests/unit_tests/test_rl_utils.py:484
Functiontest_sequence_packing_integration
Simple integration test for sequence packing - just verifies the packing works.
Megatron-LM/tests/unit_tests/test_rl_utils.py:601
Functiontest_sequence_packing_with_generation_masks
Test sequence packing with generation masks.
Megatron-LM/tests/unit_tests/test_rl_utils.py:443
Methodtest_sequence_parallel_fp8_inference
(self, materialize_only_last_token_logits: bool)
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:898
Methodtest_sequential_grouped_mlp_extra_state
Test saving and loading _extra_state
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_moe_experts.py:324
Methodtest_sequential_grouped_mlp_interchangeable
Test model saving and loading with different TP/PP/expert parallelism
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_moe_experts.py:250
Methodtest_set_api_key
Test setting an API key.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:188
Functiontest_set_cache_control_basic
Test basic cache control functionality with simple input/output.
swe-rl/mini-swe-agent/tests/models/test_cache_control.py:4
Functiontest_set_cache_control_with_offset
Test cache control with last_n_messages_offset parameter.
swe-rl/mini-swe-agent/tests/models/test_cache_control.py:37
Methodtest_set_command_via_typer
Test the set command through the Typer app.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:432
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:86
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_mamba_model.py:50
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:83
Methodtest_set_input_tensor
(self, setup_and_teardown_llava_model)
Megatron-LM/tests/unit_tests/models/test_llava_model.py:523
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_bert_model.py:61
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_clip_vit_model.py:35
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_radio_model.py:40
Methodtest_set_input_tensor
(self)
Megatron-LM/tests/unit_tests/models/test_gpt_model.py:61
Methodtest_set_key_value
Test setting a key-value pair (legacy test for compatibility).
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:177
Methodtest_set_multiple_keys
Test setting multiple keys in sequence.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:198
Methodtest_set_overwrites_existing_key
Test that setting a key overwrites existing value.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:212
Methodtest_set_with_both_arguments_provided
Test set command when both key and value are provided as arguments.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:113
Methodtest_set_with_empty_strings_via_prompt
Test set command when prompted values are empty strings.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:226
Methodtest_set_with_key_only_prompts_for_value
Test set command when only key is provided - should prompt for value.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:143
Methodtest_set_with_no_arguments_prompts_for_both
Test set command when no arguments provided - should prompt for both key and value.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:124
Methodtest_set_with_value_only_prompts_for_key
Test set command when only value is provided - should prompt for key.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:160
Methodtest_setup_key_name_but_no_value
Test setup when user provides key name but no value.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:87
Methodtest_setup_with_all_inputs
Test setup function when user provides all inputs.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:10
Methodtest_setup_with_empty_inputs
Test setup when user provides empty inputs.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:50
Methodtest_setup_with_existing_env_vars
Test setup when environment variables already exist.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:68
Methodtest_setup_with_model_only
Test setup when user only provides model name.
swe-rl/mini-swe-agent/tests/run/test_extra_config.py:30
Methodtest_sharded_metadata
(self, tmp_path_dist_ckpt, save_format)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:1037
Methodtest_sharded_object_serialization
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:437
Methodtest_sharded_state_dict
Test LayerWiseDistributedOptimizer sharded_state_dict method.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:228
Methodtest_sharded_state_dict
(self, tp_pp, order)
Megatron-LM/tests/unit_tests/transformer/test_transformer_layer.py:259
Methodtest_sharded_state_dict
Test MTP with different tensor parallel sizes.
Megatron-LM/tests/unit_tests/transformer/test_multi_token_prediction.py:316
Methodtest_sharded_state_dict_restore
Save with the default TE spec and restore using the ModelOpt spec.
Megatron-LM/tests/unit_tests/post_training/test_modelopt_module_spec.py:92
Methodtest_sharded_state_dict_save_load
( self, tmp_path_dist_ckpt, src_spec_type, dst_spec_type, model_type )
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_t5_model.py:93
Methodtest_sharded_state_dict_save_load
(self, tmp_path_dist_ckpt, src_layer_spec, dst_layer_spec)
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_bert_model.py:70
Methodtest_sharded_state_dict_save_load
( self, tmp_path_dist_ckpt: pathlib.Path, src_layer_spec_fn: Callable[[], ModuleSpec],
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_gpt_model.py:70
Methodtest_sharded_tensor_checkpointing
Test sharded tensor checkpointing with pure DCP.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_checkpointable.py:28
← previousnext →10,101–10,200 of 10,561, ranked by callers