MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Functiontest_fused_rms_norm_fail_fast_dtype_guard
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:247
Functiontest_fused_rms_norm_fail_fast_guards_on_cpu
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:237
Methodtest_fused_rms_norm_handles_head_major_non_contiguous_input
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:643
Methodtest_fused_rms_norm_handles_strided_weight
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:654
Methodtest_fused_rms_norm_large_and_tiny_magnitudes
(self, dtype, scale)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:649
Methodtest_fused_rms_norm_matches_hf_forward_and_backward
(self, dtype, shape)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:638
Methodtest_fused_rms_norm_rejects_double_backward
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:668
Methodtest_fused_rms_norm_rejects_unsupported_inputs
(self, hidden_dtype, weight_dtype, width)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:664
Methodtest_fused_row_weighting_accepts_the_deepep_path
(self)
tests/unit/v1/moe/test_autoep_unit.py:341
Methodtest_fused_row_weighting_fails_before_the_router_when_unsupported
(self)
tests/unit/module_inject/test_auto_ep_comm.py:641
Functiontest_fused_row_weighting_guards_name_unsupported_inputs
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:228
Methodtest_fused_row_weighting_handles_empty_experts_and_skewed_routing
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:604
Methodtest_fused_row_weighting_matches_eager_for_each_score_boundary
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:571
Functiontest_fused_row_weighting_matches_eager_including_gradients
(n_rows, hidden, row_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:164
Methodtest_fused_row_weighting_rejects_ep_size_one
(self)
tests/unit/v1/moe/test_autoep_unit.py:330
Methodtest_fused_row_weighting_rejects_non_deepep_backend
(self)
tests/unit/v1/moe/test_autoep_unit.py:321
Methodtest_fused_row_weighting_supports_reentrant_activation_checkpointing
(self)
tests/unit/v1/moe/test_autoep_deepep_parity.py:581
Methodtest_fused_row_weighting_uses_the_same_boundaries
(self)
tests/unit/module_inject/test_auto_ep_comm.py:421
Functiontest_fused_row_weighting_weight_gradient_is_as_accurate_as_eager
The weight gradient sums the same FP32 products as eager in another order; it must be no less accurate.
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:202
Functiontest_fused_weighted_restore_matches_eager_including_gradients
(top_k, hidden, row_dtype, score_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:52
Functiontest_fused_weighted_restore_rounds_fp32_product_before_accumulation
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:127
Functiontest_fused_weighted_restore_walks_wide_hidden_deterministically
(num_tokens, top_k, hidden)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:100
Methodtest_fusing_allgather_and_autocast
Test that allgather and autocast can be correctly fused with DeepCompile
tests/unit/v1/compile/test_compile_zero.py:238
Functiontest_fwd_insertion_schedules_all_tasks_under_forced_budget
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:189
Functiontest_fwd_keeps_resident_only_what_the_budget_has_room_for
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:754
Functiontest_fwd_moves_everything_when_the_profile_is_missing
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:402
Functiontest_fwd_no_op_when_memory_fits
(ample_budget)
tests/unit/v1/compile/test_offload_activation.py:744
Functiontest_fwd_offloads_saved_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:355
Functiontest_fwd_rerun_replans_instead_of_stacking
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:779
Functiontest_fwd_skips_parameters
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:416
Functiontest_fwd_skips_small_tensors
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:711
Functiontest_fwd_skips_symbolic_shapes
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:721
Functiontest_fwd_skips_values_already_on_the_host
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:684
Functiontest_fwd_skips_values_saved_twice
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:443
Functiontest_fwd_skips_values_that_alias_another_tensor
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:458
Functiontest_fwd_skips_values_that_are_not_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:697
Functiontest_fwd_skips_values_the_caller_also_receives
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:428
Functiontest_fwd_without_partition_info_is_skipped
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:770
Methodtest_ga_greater_than_one_offload_unchanged
(self, zero_stage)
tests/unit/v1/zero/test_zero2_offload_multi_backward.py:139
Functiontest_gate_off_collects_everything
()
tests/unit/test_multirank_selection.py:146
Functiontest_gate_on_keeps_only_multirank_items
()
tests/unit/test_multirank_selection.py:152
Methodtest_gate_up_fused_weight_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:795
Methodtest_gate_up_gather_restores_sub_param_order
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:772
Functiontest_gate_up_pack_publishes_sub_param_metadata
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:373
Functiontest_gate_up_partition_covers_the_whole_weight
()
tests/unit/module_inject/test_fused_repartition.py:31
Methodtest_gate_up_single_param_bias_gather_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:821
Functiontest_gated_ffn_sharding
Test the same cases assuming a gated regime.
tests/unit/inference/v2/model_implementations/sharding/test_mlp_sharding.py:88
Functiontest_gated_silu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_geglu.py:62
Methodtest_gather
(self)
tests/unit/runtime/test_runtime_utils.py:36
Functiontest_gather_16bit_params_on_model_save
(gather_weights_key)
tests/unit/runtime/test_ds_config_dict.py:214
Functiontest_gather_from_tp_region_supports_uneven_shards
()
tests/unit/compile/test_tp_compile.py:134
Methodtest_gather_output_from_config_dict
(self)
tests/unit/module_inject/test_tp_plan_converter.py:48
Methodtest_gather_rows_treats_both_padding_encodings_as_zero
(self, strided_index)
tests/unit/v1/moe/test_autoep_permute_rows.py:151
Methodtest_gather_uses_the_layers_own_shard_widths
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:939
Methodtest_gathered_colwise_conversion
(self)
tests/unit/module_inject/test_tp_plan_converter.py:37
Functiontest_gathered_lm_head_falls_back_for_runtime_parameter_tie
()
tests/unit/module_inject/test_tp_partition_config_path.py:246
Functiontest_gathered_lm_head_uses_column_parallel_layer_when_output_dim_is_uneven
()
tests/unit/module_inject/test_tp_partition_config_path.py:279
Functiontest_gathered_lm_head_uses_column_parallel_layer_when_untied
()
tests/unit/module_inject/test_tp_partition_config_path.py:238
Functiontest_gathered_parameters_after_forward_defers_partition_until_backward
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:390
Functiontest_gathered_parameters_preserves_disjoint_nesting
()
tests/unit/v1/compile/test_z3_eager_fallback.py:551
Functiontest_gathered_parameters_rejects_partial_overlap_atomically
()
tests/unit/v1/compile/test_z3_eager_fallback.py:524
Methodtest_gathered_sequence_loss_backward_accumulates_all_ranks
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:257
Methodtest_geglu_tanh_known_values
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:106
Functiontest_gelu
(batch, sequence, channels, dtype, use_triton_ops)
tests/unit/ops/transformer/inference/test_gelu.py:55
Methodtest_gelu_gated_experts_with_plain_preset_are_rejected
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:612
Methodtest_gemm_error_bound_accepts_rounding_but_rejects_incorrect_values
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:324
Functiontest_gemma4_text_config_fallback
()
tests/unit/v1/multimodal/test_gemma4_config.py:11
Functiontest_gemma4_text_config_matches_text_config
()
tests/unit/v1/multimodal/test_gemma4_config.py:26
Functiontest_generalized_jsd_loss_covers_beta_variants
(beta, expected)
tests/unit/runtime/rollout/test_rollout_interface.py:136
Functiontest_generalized_jsd_loss_supports_top_k_and_empty_response_masks
()
tests/unit/runtime/rollout/test_rollout_interface.py:149
Functiontest_generate_accepts_zero_pad_token_id
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1737
Functiontest_generate_calls_graph_capture_when_enabled
(mock_get_accelerator, mock_perf_counter, temperature)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1582
Functiontest_generate_disables_top_k_for_sampling
(top_k)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1687
Functiontest_generate_does_not_profile_when_disabled
(mock_get_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1324
Functiontest_generate_falls_back_to_eager_without_graph_capture_opt_in
(mock_get_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1612
Functiontest_generate_forwards_top_k_for_sampling_with_multiple_samples_and_eos
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1661
Functiontest_generate_keeps_ranks_in_lockstep_and_pads_after_eos
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1638
Functiontest_generate_preserves_zero_pad_token_id
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1357
Functiontest_generate_records_profile_when_enabled
(mock_get_accelerator, mock_perf_counter)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1288
Functiontest_generate_uses_shared_prefill_for_multiple_samples
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1493
Functiontest_get_autocast_decorators_use_legacy_amp_or_noop_before_torch_2_4
()
tests/unit/runtime/test_autocast.py:79
Functiontest_get_autocast_decorators_use_torch_amp_on_torch_2_4_or_newer
()
tests/unit/runtime/test_autocast.py:65
Functiontest_get_best_space_record_ignores_runs_without_a_metric
(tmpdir)
tests/unit/autotuning/test_autotuning.py:82
Functiontest_get_bfloat16_enabled
(bf16_key)
tests/unit/runtime/test_ds_config_dict.py:224
Functiontest_get_expert_parallel_ranks
Example - E + M + D parallel world_size = 16 model_degree = 2 expert_degree = 4 # number of experts in same group mp_group = [0,
tests/unit/utils/test_groups.py:20
Functiontest_get_global_norm_keeps_invalid_sentinels_invalid
(bad)
tests/unit/v1/zero/test_invalid_grad_norm.py:50
Functiontest_get_last_uses_unconsumed_no_copy_wait
(case)
tests/unit/v1/compile/test_list_schedule.py:236
Functiontest_get_operation_summary_does_not_reorder_the_stored_records
()
tests/unit/comm/test_comms_logger.py:52
Functiontest_get_optim_files
(tmpdir, num_checkpoints)
tests/unit/utils/test_get_optim_files.py:12
Functiontest_get_param_uc_restore_meta_returns_top_level_restore_schema
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:641
Functiontest_get_val_by_key_searches_all_nested_subdicts
()
tests/unit/autotuning/test_autotuning.py:106
Functiontest_getattr_delegates_missing_attributes_to_model
()
tests/unit/runtime/test_engine_attribute_delegation.py:25
Functiontest_getattr_raises_for_missing_attribute
()
tests/unit/runtime/test_engine_attribute_delegation.py:31
Functiontest_getattr_resolves_registered_workspace_module
()
tests/unit/runtime/test_engine_attribute_delegation.py:19
Functiontest_git_environment_is_positive_allowlist
()
ci/test_torch_latest.py:498
Functiontest_github_output_contains_only_validated_mode_and_count
()
ci/test_tests_fetcher.py:576
Functiontest_global_eos_stops_only_when_no_global_work_remains
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1060
Functiontest_global_training_mode_does_not_leak_into_inference_routing
()
tests/unit/module_inject/test_tp_partition_config_path.py:516
Functiontest_global_work_remaining_uses_requested_group
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1049
Methodtest_gpt2_basic
(self, tmpdir, inputs)
tests/unit/v1/autotp/test_configurable_parallel_mp.py:63
← previousnext →12,401–12,500 of 14,579, ranked by callers