MCPcopy Create free account

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

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

Methodtest_metrics_writer_none_handling
Test that engine handles None metrics_writer gracefully.
Megatron-LM/tests/unit_tests/inference/test_wandb_logging.py:262
Functiontest_mini_calls_prompt_when_no_task_provided
Test that mini calls prompt when no task is provided.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:147
Functiontest_mini_command_calls_run_interactive
Test that mini command creates InteractiveAgent when visual=False.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:57
Functiontest_mini_e_help
Test that mini-e --help works correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:480
Functiontest_mini_extra_config_help
Test that mini-extra config --help works correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:519
Functiontest_mini_extra_help
Test that mini-extra --help works correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:462
Functiontest_mini_extra_subcommand_help
Test that mini-extra subcommands --help work correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:504
Functiontest_mini_help
Test that mini --help works correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:380
Functiontest_mini_help_with_typer_runner
Test help functionality using typer's test runner.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:402
Functiontest_mini_script_help
Test that the mini script entry point help works.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:435
Functiontest_mini_swe_agent_help
Test that mini-swe-agent --help works correctly.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:448
Functiontest_mini_v_calls_prompt_when_no_task_provided
Test that mini -v calls prompt when no task is provided.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:194
Functiontest_mini_v_command_calls_run_textual
Test that mini -v command creates TextualAgent when visual=True.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:102
Functiontest_mini_with_explicit_model
Test that mini works with explicitly provided model.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:241
Methodtest_missing_keys_raises_error_during_validation
( self, caplog, tmp_path_dist_ckpt, validate_integrity, save_format )
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:928
Methodtest_missing_special_token_id
Test error when a modality is missing from special_token_ids.
Megatron-LM/tests/unit_tests/models/test_mimo_embedding_alignment.py:416
Methodtest_mixed_pg_transformer_block
Test TransformerBlock with custom process groups.
Megatron-LM/tests/unit_tests/transformer/test_transformer_block.py:322
Methodtest_mixed_precision
Test FusedScaleMaskSoftmax with different precision configurations.
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:206
Methodtest_mlp_with_custom_pgs
(self, world_size, tp_size, dp_size, reverse_tp_dp_order)
Megatron-LM/tests/unit_tests/transformer/test_transformer_block_custom_pgs.py:612
Methodtest_mlp_with_glu
Test model loading when MLP activation is gated linear unit.
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_gpt_model.py:196
Functiontest_mode_switch_during_keyboard_interrupt
Test mode switching during keyboard interrupt handling.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:369
Functiontest_model_config_tracks_memory
Test if each YAML file contains the required record.
Megatron-LM/tests/unit_tests/test_model_configs.py:25
Functiontest_model_parallel_cuda_manual_seed
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:181
Methodtest_model_parallel_dp_group_idx_preservation
For each dst DP group, test there is at least one DP 0 rank both in the src and dest group. For this condition to hold, `parallel_state` must
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:848
Methodtest_model_parallel_rank_order
Verifies that DP group idx is `PP rank * TP size + TP rank`.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:821
Functiontest_model_registry_loading
Test that custom model registry is loaded and registered when provided.
swe-rl/mini-swe-agent/tests/models/test_litellm_model.py:34
Functiontest_model_registry_none
Test that no registry loading occurs when litellm_model_registry is None.
swe-rl/mini-swe-agent/tests/models/test_litellm_model.py:63
Functiontest_model_registry_not_provided
Test that no registry loading occurs when litellm_model_registry is not provided.
swe-rl/mini-swe-agent/tests/models/test_litellm_model.py:72
Methodtest_moe_layer_a2a_dispatcher_discrepancy
( self, num_moe_experts, grouped_gemm, tp_size, ep_size )
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer_discrepancy.py:185
Methodtest_moe_layer_ag_dispatcher_discrepancy
( self, num_moe_experts, grouped_gemm, tp_size, ep_size )
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer_discrepancy.py:114
Methodtest_moe_layer_dispatcher_discrepancy
( self, num_moe_experts, grouped_gemm, tp_size, ep_size )
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer_discrepancy.py:30
Methodtest_moe_layer_fp16_forward_backward
Test MoE layer forward and backward pass with fp16 params and inputs.
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer.py:206
Functiontest_moe_tensor_model_parellel_rank
(order)
Megatron-LM/tests/unit_tests/test_parallel_state.py:112
Methodtest_moe_tp_forward_backward
(self, tp_size, ep_size, moe_tp_size, permute_fusion)
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:390
Methodtest_moe_with_late_initialize
( self, moe_token_dispatcher_type, grouped_gemm, tp_size, ep_size )
Megatron-LM/tests/unit_tests/transformer/moe/test_moe_layer.py:90
Methodtest_mtp_layer_overlap
Verifies all-to-all overlap optimization in MTP layer produces the same results as the reference implementation.
Megatron-LM/tests/unit_tests/a2a_overlap/test_schedule_layer_1f1b.py:451
Methodtest_multi_add
Test adding multiple requests simultaneously.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:656
Functiontest_multi_device_hybrid_optimizer
( with_param_groups, optimizer, offload_fraction, overlap_cpu_optimizer_d2h_h2d, n_steps )
Megatron-LM/tests/unit_tests/test_optimizer_cpu_offloading.py:64
Methodtest_multi_process_save
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:103
Methodtest_multi_process_save_log_difference
(self, tmp_path_dist_ckpt, caplog)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:139
Functiontest_multimodal_tokenizer
Test MultimodalTokenizer.
Megatron-LM/tests/unit_tests/test_tokenizer.py:235
Methodtest_multimodule_communicator_init
Test MultiModulePipelineCommunicator initialization.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:44
Methodtest_multiple_audio_encoders
Test the forward pass with different audio encoder models and batch sizes
Megatron-LM/tests/unit_tests/models/test_mimo_audio_submodules.py:371
Functiontest_multiple_confirmations_and_commands
Test complex interaction with multiple confirmations and commands.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:184
Methodtest_multiple_images_with_variable_length
Test handling multiple images per sample with variable sequence lengths. This test verifies that: 1. Multiple image occurrences per b
Megatron-LM/tests/unit_tests/models/test_mimo_embedding_alignment.py:233
Functiontest_multiple_instances
(manager, statuses)
swe-rl/mini-swe-agent/tests/run/test_batch_progress.py:62
Methodtest_multiple_local_shards
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_checkpointable.py:47
Methodtest_multiple_modalities
Test alignment with multiple modalities with special tokens at different positions.
Megatron-LM/tests/unit_tests/models/test_mimo_embedding_alignment.py:136
Methodtest_multiple_optimizers
Test LayerWiseDistributedOptimizer with multiple chained optimizers. This test properly tests allgather functionality with multiple ranks.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:261
Methodtest_multiple_overrides
Test that multiple argparse_meta overrides work together.
Megatron-LM/tests/unit_tests/test_argument_utils.py:543
Functiontest_multiple_steps_before_completion
Test agent can handle multiple steps before finding completion signal.
swe-rl/mini-swe-agent/tests/agents/test_default.py:183
Methodtest_muon_optimizer_blockwise_mode_different_result
Test that blockwise mode produces different results than duplicated/distributed with TP > 1.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:402
Functiontest_muon_optimizer_coefficient_types
Test TensorParallelMuon optimizer with different coefficient types.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:426
Functiontest_muon_optimizer_different_modes_single_rank
Test TensorParallelMuon optimizer with different modes on single rank. When TP size is 1, all modes should produce the same result.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:296
Functiontest_muon_optimizer_extra_scale_factor
Test TensorParallelMuon optimizer with different extra_scale_factor values.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:616
Methodtest_muon_optimizer_modes_multirank_same_result
Test that duplicated and distributed modes produce same results with TP > 1.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:382
Functiontest_muon_optimizer_multiple_steps
Test TensorParallelMuon optimizer across multiple optimization steps.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:513
Functiontest_muon_optimizer_nesterov
Test TensorParallelMuon optimizer with and without Nesterov momentum.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:484
Functiontest_muon_optimizer_num_ns_steps
Test TensorParallelMuon optimizer with different numbers of Newton-Schulz steps.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:645
Functiontest_muon_optimizer_qkv_split
Test TensorParallelMuon optimizer with QKV splitting.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:548
Functiontest_muon_optimizer_scale_modes
Test TensorParallelMuon optimizer with different scale modes.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:455
Functiontest_muon_optimizer_smoke
Smoke test for TensorParallelMuon optimizer.
Megatron-LM/tests/unit_tests/test_muon_optimizer.py:44
Methodtest_mxfp8
dp_overlap: (overlap_param_gather, overlap_grad_reduce)
Megatron-LM/tests/unit_tests/test_fp8_param.py:416
Methodtest_mxfp8_with_cuda_graph
dp_overlap: (overlap_param_gather, overlap_grad_reduce)
Megatron-LM/tests/unit_tests/test_fp8_param.py:431
Methodtest_nargs_override
Test that argparse_meta can override nargs.
Megatron-LM/tests/unit_tests/test_argument_utils.py:568
Methodtest_narrowing
(self)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_mapping.py:89
Methodtest_nccl_allocator_init_sets_env_vars
(self)
Megatron-LM/tests/unit_tests/test_nccl_allocator.py:25
Methodtest_nccl_nccl_mem_register_and_allreduce
(self)
Megatron-LM/tests/unit_tests/test_nccl_allocator.py:35
Methodtest_no_api_key_when_none_provided
Test that no api_key is set when neither env var nor config provide one.
swe-rl/mini-swe-agent/tests/models/test_init.py:130
Functiontest_no_exit_immediately_flag_sets_confirm_exit_true
Test that when --exit-immediately flag is not used, confirm_exit defaults to True.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:577
Methodtest_no_global_metadata_reuse_on_different_parallelism
(self, tmp_path_dist_ckpt, tp, pp)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_global_metadata_reuse.py:101
Methodtest_no_post_process_forward
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:117
Methodtest_no_preprocess_forward
(self)
Megatron-LM/tests/unit_tests/models/test_t5_model.py:120
Methodtest_no_print_when_limits_are_zero
Test that nothing is printed when limits are explicitly set to zero.
swe-rl/mini-swe-agent/tests/models/test_init.py:191
Methodtest_no_print_when_no_limits_set
Test that nothing is printed when no limits are set.
swe-rl/mini-swe-agent/tests/models/test_init.py:184
Methodtest_no_print_when_silent_startup_set
Test that limits are not printed when MSWEA_SILENT_STARTUP is set.
swe-rl/mini-swe-agent/tests/models/test_init.py:173
Methodtest_no_window_size
Test when window_size is None or empty.
Megatron-LM/tests/unit_tests/transformer/test_utils.py:112
Functiontest_non_whitelisted_action_requires_confirmation
Test that non-whitelisted actions still require confirmation.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:213
Methodtest_nonreshardable_optimizer_save_load
Generalization of the test above for different formats. This time we don't load "plain" tensors from the checkpoint to compare. Inste
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:713
Functiontest_null_tokenizer
()
Megatron-LM/tests/unit_tests/test_tokenizer.py:176
Functiontest_null_tokenizer
()
Megatron-LM/tests/unit_tests/tokenizers/test_tokenizer.py:198
Methodtest_num_kv_heads_greater_equal_tp_size_invalid
Test that an exception is raised when num_kv_heads >= tp_size but num_kv_heads % tp_size != 0
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_single_device_converter.py:395
Methodtest_num_kv_heads_greater_equal_tp_size_valid
Test the condition where num_kv_heads >= tp_size and num_kv_heads % tp_size == 0 (valid case)
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_single_device_converter.py:488
Methodtest_num_kv_heads_less_than_tp_size_invalid
Test that an exception is raised when num_kv_heads < tp_size but tp_size % num_kv_heads != 0
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_single_device_converter.py:302
Methodtest_num_kv_heads_less_than_tp_size_valid
Test the condition where num_kv_heads < inference_tp_size and tp_size % num_kv_heads == 0 (valid case)
Megatron-LM/tests/unit_tests/export/trtllm/test_trtllm_single_device_converter.py:172
Methodtest_num_tokens_total
Simple test, but using num_tokens_total instead of num_tokens_to_generate.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:916
Methodtest_numerical_stability
(self)
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:99
Functiontest_nvtx_decorator
()
Megatron-LM/tests/unit_tests/test_utils.py:158
Functiontest_nvtx_range
(msg, suffix)
Megatron-LM/tests/unit_tests/test_utils.py:135
Methodtest_only_necessary_exchanges_performed_during_load
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:387
Methodtest_oom_is_handled
(self, caplog)
Megatron-LM/tests/unit_tests/dist_checkpointing/models/test_mlp_glu.py:94
Functiontest_openrouter_model_authentication_error
Test authentication error handling.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:91
Functiontest_openrouter_model_config
Test OpenRouter model configuration.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:134
Functiontest_openrouter_model_get_template_vars
Test get_template_vars method.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:148
Functiontest_openrouter_model_no_api_key
Test behavior when no API key is provided.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:165
Functiontest_openrouter_model_no_cost_information
Test error when cost information is missing.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:115
Functiontest_openrouter_model_successful_query
Test successful OpenRouter API query with cost tracking.
swe-rl/mini-swe-agent/tests/models/test_openrouter_model.py:46
Functiontest_optim_sharded_state_dict
(use_distributed_optimizer: bool, precision: str)
Megatron-LM/tests/unit_tests/test_optimizer.py:264
Methodtest_optimizer_common_state_dict
( self, tmp_path_dist_ckpt, fully_parallel, tp, pp, ep, is_moe, is_mla, optimizer_type )
Megatron-LM/tests/unit_tests/dist_checkpointing/test_layer_wise_optimizer.py:513
Methodtest_optimizer_common_state_dict
( self, tmp_path_dist_ckpt, fully_parallel, tp_pp_ep, is_moe, is_mla, test_step, kwargs )
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:376
← previousnext →9,901–10,000 of 10,561, ranked by callers