MCPcopy Create free account

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

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

Methodtest_aux_loss_fusion_equivalence
(self, aux_type)
Megatron-LM/tests/unit_tests/transformer/moe/test_aux_loss.py:335
Methodtest_backward_pass
Test that backward pass triggers indexer loss backward and scales gradient correctly.
Megatron-LM/tests/unit_tests/transformer/test_attention_variant_dsa.py:230
Methodtest_basic
Test basic LayerWiseDistributedOptimizer initialization and step with bf16.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:139
Methodtest_basic_alignment
Test basic alignment with text and one modality.
Megatron-LM/tests/unit_tests/models/test_mimo_embedding_alignment.py:64
Functiontest_basic_functionality_and_cost_tracking
Test basic model functionality, cost tracking, and default configuration.
swe-rl/mini-swe-agent/tests/models/test_test_models.py:8
Methodtest_basic_save_load_scenario
(self, tmp_path_dist_ckpt, tp, pp)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_nonpersistent.py:127
Methodtest_basic_save_load_scenarios
( self, tmp_path_dist_ckpt, tp, pp, use_ramdisk, async_save, algo )
Megatron-LM/tests/unit_tests/dist_checkpointing/test_local.py:156
Methodtest_basic_save_load_scenarios
(self, tmp_path_dist_ckpt, tp, pp)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_nonpersistent.py:34
Methodtest_bf16_error
Test LayerWiseDistributedOptimizer raises error when receiving pre-wrapped Float16 optimizer.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:325
Methodtest_bf16_module
(self)
Megatron-LM/tests/unit_tests/transformer/test_module.py:89
Methodtest_bf16_wrapping
Test LayerWiseDistributedOptimizer automatically wraps optimizer with bf16.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:309
Functiontest_bias_dropout_add
(dtype, training)
Megatron-LM/tests/unit_tests/fusions/test_bias_dropout_fusion.py:9
Methodtest_block_overflow
Test block overflow.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:637
Methodtest_blockwise_scaling
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:393
Methodtest_blockwise_scaling_with_cuda_graph
(self, tp_size, dp_overlap)
Megatron-LM/tests/unit_tests/test_fp8_param.py:405
Methodtest_blockwise_scaling_with_first_last_layers_bf16
(self, tp_size)
Megatron-LM/tests/unit_tests/test_fp8_param.py:444
Methodtest_boolean_store_false
Test that boolean fields with default True use store_false with no- prefix.
Megatron-LM/tests/unit_tests/test_argument_utils.py:157
Methodtest_boolean_store_true
Test that boolean fields with default False use store_true.
Megatron-LM/tests/unit_tests/test_argument_utils.py:142
Methodtest_bridge_communicator_init
(self)
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:203
Methodtest_bridge_communicator_with_transformer_blocks
Test bridge communicator with two transformer blocks having different process group configurations.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_bridge_communicator.py:295
Methodtest_broadcast_comparison
Test broadcast with different parallel configurations.
Megatron-LM/tests/unit_tests/inference/test_communication_utils.py:30
Functiontest_broadcast_data
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_data.py:7
Methodtest_broadcast_params
Test that parameter broadcasting works correctly across DP ranks.
Megatron-LM/tests/unit_tests/dist_checkpointing/test_layer_wise_optimizer.py:156
Methodtest_broadcast_sharded_objects
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_fully_parallel.py:435
Methodtest_broadcast_vs_allgather
Test LayerWiseDistributedOptimizer allgather code agains broadcast code.
Megatron-LM/tests/unit_tests/test_layer_wise_optimizer.py:406
Functiontest_bubblewrap_environment_basic_execution
Test basic command execution in bubblewrap environment.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:12
Functiontest_bubblewrap_environment_cleanup
Test that cleanup properly removes working directory.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:211
Functiontest_bubblewrap_environment_command_failure
Test that command failures are properly captured.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:78
Functiontest_bubblewrap_environment_custom_cwd
Test executing commands in a custom working directory.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:47
Functiontest_bubblewrap_environment_custom_executable
Test custom bubblewrap executable configuration.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:223
Functiontest_bubblewrap_environment_custom_wrapper_args
Test custom wrapper args configuration.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:234
Functiontest_bubblewrap_environment_cwd_parameter_override
Test that the cwd parameter in execute() overrides the config cwd.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:62
Functiontest_bubblewrap_environment_file_operations
Test file operations in the bubblewrap environment.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:172
Functiontest_bubblewrap_environment_get_template_vars
Test get_template_vars method returns expected data.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:246
Functiontest_bubblewrap_environment_multiline_output
Test handling of multiline command output.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:153
Functiontest_bubblewrap_environment_nonexistent_command
Test execution of non-existent command.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:92
Functiontest_bubblewrap_environment_return_codes
Test that various return codes are properly captured.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:140
Functiontest_bubblewrap_environment_set_env_variables
Test setting environment variables in the bubblewrap environment.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:26
Functiontest_bubblewrap_environment_stderr_capture
Test that stderr is properly captured.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:106
Functiontest_bubblewrap_environment_timeout
Test timeout functionality.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:120
Functiontest_bubblewrap_environment_working_directory_creation
Test that working directory is properly created.
swe-rl/mini-swe-agent/tests/environments/extra/test_bubblewrap.py:199
Functiontest_bucket_sizes
( bucket_size: Optional[int], use_distributed_optimizer: bool, bias: bool, shared_embedding: bool )
Megatron-LM/tests/unit_tests/distributed/test_param_and_grad_buffer.py:60
Methodtest_bucket_space_optimizer_save_load
Test DistOpt save/load with dp_reshardable format. Since unit test have a fixed world size and "bucket_space" format is only DP-resha
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:555
Methodtest_build_and_merge
(self)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_mapping.py:137
Methodtest_build_module
(self)
Megatron-LM/tests/unit_tests/transformer/test_spec_customization.py:85
Functiontest_build_num_microbatches_calculator
()
Megatron-LM/tests/unit_tests/test_num_microbatches_calculator.py:82
Methodtest_build_train_valid_test_data_iterators
(self)
Megatron-LM/tests/unit_tests/test_training.py:39
Functiontest_bytelevel_tokenizer
()
Megatron-LM/tests/unit_tests/tokenizers/test_tokenizer.py:208
Methodtest_cached_metadata
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_torch_dist.py:26
Methodtest_calculate_and_store_log_probs
(self)
Megatron-LM/tests/unit_tests/inference/contexts/test_dynamic_context.py:985
Functiontest_callback
(record)
swe-rl/mini-swe-agent/tests/agents/test_interactive_textual.py:462
Methodtest_can_mix_sharded_tensors_and_factories
(self, tmp_path_dist_ckpt)
Megatron-LM/tests/unit_tests/dist_checkpointing/test_serialization.py:360
Methodtest_capacity_forward_backward
(self, tp_size, ep_size, permute_fusion)
Megatron-LM/tests/unit_tests/transformer/moe/test_a2a_token_dispatcher.py:61
Methodtest_capacity_forward_backward
( self, tp_size, ep_size, permute_fusion, moe_flex_dispatcher_backend )
Megatron-LM/tests/unit_tests/transformer/moe/test_token_dispatcher.py:466
Methodtest_capacity_padding_forward_backward
(self, tp_size, ep_size, permute_fusion)
Megatron-LM/tests/unit_tests/transformer/moe/test_a2a_token_dispatcher.py:82
Methodtest_causal_mask_equal_scores
(self)
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:36
Methodtest_causal_mask_equal_scores
(self)
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:110
Methodtest_causal_mask_input_shape_assert
(self)
Megatron-LM/tests/unit_tests/fusions/test_torch_softmax.py:31
Functiontest_chained_optimizer
()
Megatron-LM/tests/unit_tests/test_optimizer.py:57
Methodtest_chained_optimizer_resharding
( self, tmp_path_dist_ckpt, src_tp_pp_exp, dest_tp_pp_exp, use_te,
Megatron-LM/tests/unit_tests/dist_checkpointing/test_optimizer.py:1053
Functiontest_check_param_hashes_across_dp_replicas
()
Megatron-LM/tests/unit_tests/test_utils.py:189
Functiontest_checkpoint
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:189
Functiontest_checkpoint_without_output
()
Megatron-LM/tests/unit_tests/tensor_parallel/test_random.py:203
Methodtest_checkpointed_gpu_forward
Test checkpointed forward pass with no_rope pattern.
Megatron-LM/tests/unit_tests/transformer/test_attention_no_rope.py:170
Methodtest_checkpointed_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:307
Methodtest_checkpointed_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention_packed_seq.py:136
Methodtest_checkpointed_gpu_forward
(self)
Megatron-LM/tests/unit_tests/transformer/test_attention.py:186
Methodtest_choices_override
Test that argparse_meta can override choices.
Megatron-LM/tests/unit_tests/test_argument_utils.py:500
Methodtest_chunked_mlp
(self)
Megatron-LM/tests/unit_tests/transformer/test_transformer_layer.py:63
Methodtest_chunked_prefill
Verify that chunked prefill output is equivalent to regular prefill.
Megatron-LM/tests/unit_tests/inference/engines/test_dynamic_engine.py:971
Methodtest_clip_qk_above_threshold_updates_weights
Test that weights are updated when max logits exceed threshold.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1144
Methodtest_clip_qk_above_threshold_updates_weights
Test that weights are updated when max logits exceed threshold.
Megatron-LM/tests/unit_tests/transformer/test_attention.py:302
Methodtest_clip_qk_below_threshold_no_update
Test that weights are not updated when max logits are below threshold.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1107
Methodtest_clip_qk_below_threshold_no_update
Test that weights are not updated when max logits are below threshold.
Megatron-LM/tests/unit_tests/transformer/test_attention.py:268
Methodtest_clip_qk_disabled_raises_error
Test that clip_qk raises ValueError when qk_clip is not enabled.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1066
Methodtest_clip_qk_disabled_raises_error
Test that clip_qk raises ValueError when qk_clip is not enabled.
Megatron-LM/tests/unit_tests/transformer/test_attention.py:230
Methodtest_clip_qk_gqa_configuration
Test clip_qk with GQA (Grouped Query Attention) configuration.
Megatron-LM/tests/unit_tests/transformer/test_attention.py:336
Methodtest_clip_qk_mixed_logits
Test clip_qk with mixed logits (some above, some below threshold).
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1181
Methodtest_clip_qk_mixed_logits
Test clip_qk with mixed logits (some above, some below threshold).
Megatron-LM/tests/unit_tests/transformer/test_attention.py:371
Methodtest_clip_qk_none_logits_raises_error
Test that clip_qk raises ValueError when current_max_attn_logits is None.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1094
Methodtest_clip_qk_none_logits_raises_error
Test that clip_qk raises ValueError when current_max_attn_logits is None.
Megatron-LM/tests/unit_tests/transformer/test_attention.py:248
Methodtest_clip_qk_with_absorption_raises_error
Test that clip_qk raises ValueError when in absorption mode.
Megatron-LM/tests/unit_tests/transformer/test_multi_latent_attention.py:1218
Methodtest_closed_formula_vocab_size_with_padding
(self)
Megatron-LM/tests/unit_tests/test_training.py:48
Methodtest_col_init
(self)
Megatron-LM/tests/unit_tests/tensor_parallel/test_initialization.py:92
Methodtest_column_parallel_linear_tp_attrs_no_init
(self, use_cpu_init)
Megatron-LM/tests/unit_tests/tensor_parallel/test_tp_attrs_without_init.py:40
Methodtest_combine_embeddings
Test combining embeddings functionality.
Megatron-LM/tests/unit_tests/models/test_mimo_submodules.py:257
Methodtest_combined_aux_loss
(self, tp_size, ep_size, cp_size)
Megatron-LM/tests/unit_tests/transformer/moe/test_aux_loss.py:473
Functiontest_completions_endpoint
(mock_send_do_generate, client, gpt2_tiktoken_tokenizer)
Megatron-LM/tests/unit_tests/test_inference.py:88
Methodtest_complex_grid_scenario
Test a complex scenario similar to the docstring example.
Megatron-LM/tests/unit_tests/test_hyper_comm_grid.py:230
Functiontest_complex_mode_switching_sequence
Test complex sequence of mode switches across different contexts.
swe-rl/mini-swe-agent/tests/agents/test_interactive.py:555
Methodtest_comprehensive_scenario
Test a comprehensive scenario with multiple configurations.
Megatron-LM/tests/unit_tests/transformer/test_utils.py:330
Methodtest_compute_total_pipeline_stages
Test compute_total_pipeline_stages for overall chain and until specific ranks.
Megatron-LM/tests/unit_tests/pipeline_parallel/test_multimodule_communicator.py:76
Functiontest_concurrent_operations
Test handling multiple operations without corruption.
swe-rl/mini-swe-agent/tests/run/test_batch_progress.py:125
Methodtest_config_api_key_used_when_no_env_var
Test that config api_key is used when env var is not set.
swe-rl/mini-swe-agent/tests/models/test_init.py:112
Functiontest_config_dataclass
Test DeterministicModelConfig with custom values.
swe-rl/mini-swe-agent/tests/models/test_test_models.py:42
Methodtest_config_deep_copy
Test that get_model preserves original config via deep copy.
swe-rl/mini-swe-agent/tests/models/test_init.py:76
Methodtest_config_fallback
Test that config model name is used when input and env are missing.
swe-rl/mini-swe-agent/tests/models/test_init.py:29
Methodtest_config_takes_precedence_over_env
Test that config takes precedence over environment variable.
swe-rl/mini-swe-agent/tests/models/test_init.py:19
Functiontest_configure_if_first_time_called
Test that configure_if_first_time is called when running mini main.
swe-rl/mini-swe-agent/tests/run/test_cli_integration.py:17
Functiontest_configure_if_first_time_called
Test that configure_if_first_time is called when running github_issue main.
swe-rl/mini-swe-agent/tests/run/test_github_issue.py:47
← previousnext →9,301–9,400 of 10,561, ranked by callers