MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodtest_lr_warmup_schedule
(self, warmup_num_steps, warmup_type)
tests/unit/runtime/test_lr_schedulers.py:100
Functiontest_malformed_placement_is_rejected
(descriptor, match)
tests/unit/checkpoint/test_autoep_affine.py:207
Functiontest_malformed_world_size_does_not_raise
(bad)
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:44
Methodtest_managed_backward_context_restored_after_exception
(self)
tests/unit/runtime/zero/test_zero_shared_loss_gradient.py:199
Methodtest_managed_baseline_applies_only_on_boundary
Default managed mode only applies an update on the accumulation boundary.
tests/unit/v1/zero/test_zero_user_backward.py:1905
Functiontest_many_low_precision_chunks_accumulate_parameter_gradients_exactly
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:132
Functiontest_many_tokens_low_precision_matches_reference_on_accelerator
(chunk_size)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:195
Methodtest_map_covers_every_parameter_the_replacement_allocated
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:2900
Functiontest_mapping_syntax
()
tests/unit/inference/v2/model_implementations/parameters/test_mapping.py:74
Functiontest_maps_are_validated_before_the_policy_runs
()
tests/unit/checkpoint/test_affine_replica_policy.py:376
Methodtest_maps_describe_live_storage
(self, zero_stage, bf16_optimizer)
tests/unit/checkpoint/test_zero_affine.py:269
Methodtest_maps_describe_live_storage_of_tp2_dp2
(self, zero_stage, zero_init)
tests/unit/checkpoint/test_zero_affine.py:388
Functiontest_margin_is_measured_not_guessed
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:158
Functiontest_margin_override_wins
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:333
Functiontest_mark_output_never_reuse_mixed_pytree
()
tests/unit/v1/compile/test_list_schedule.py:551
Functiontest_mark_overrides_class_world_size
()
tests/unit/test_multirank_selection.py:159
Functiontest_marked_cpu_tensor_is_skipped
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:36
Functiontest_marked_view_with_storage_offset
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:306
Functiontest_marker_offloads_checkpoint_input
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:168
Functiontest_marker_patch_restored_after_context_exit
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:99
Functiontest_marker_patch_restored_on_exception
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:129
Functiontest_masked_softmax_when_max_is_masked
(dtype, mask_value)
tests/unit/ops/transformer/inference/test_softmax.py:55
Functiontest_masked_undefined_row_gets_zero_gradient
(op)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:463
Methodtest_masters_only_keeps_saved_precision
(self, tmpdir, kind)
tests/unit/checkpoint/test_fp32_master_stage3_bf16.py:96
Methodtest_matches_backward_epilogue_accumulation
(self)
tests/unit/v1/half_precision/test_bf16.py:560
Methodtest_matches_cpu_offload
(self, tmpdir, checkpointing)
tests/unit/v1/zero/test_zero3_nvme_param_prefetch.py:107
Methodtest_matches_eager
(self, dtype, batch, seq_len, q_heads, k_heads, head_dim, layout)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:86
Methodtest_matches_flat_norm
(self, zero_stage, norm_type)
tests/unit/runtime/zero/test_zero_grad_clip.py:57
Methodtest_matches_full_sequence_reference
(self, seq_dim)
tests/unit/v1/compile/test_compile_autosp.py:126
Methodtest_matches_generate_on_sharded_llama
(self, use_graph)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:133
Functiontest_matches_hugging_face_loss_and_gradient
(backend, device, dtype, block_rows)
tests/unit/v1/runtime/test_chunked_cross_entropy.py:76
Methodtest_matches_legacy_two_collective_planner
(self, monkeypatch, scenario, ep_rank)
tests/unit/v1/moe/test_autoep_unit.py:1737
Functiontest_matches_linear_then_cross_entropy
(reduction, use_bias, chunk_size)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:39
Methodtest_matches_module_injection
(self, gather_output_head)
tests/unit/compile/test_tp_compile.py:215
Methodtest_matches_separate_with_skewed_and_empty_experts
(self, activation)
tests/unit/v1/moe/test_autoep_expert_activation.py:404
Methodtest_matches_sequential_model
DualPipeV must give the same loss and weights as the unpartitioned model. A checkpoint saved by one engine must restore the same weights in a
tests/unit/runtime/pipe/test_pipe.py:298
Methodtest_matches_single_device_training
(self)
tests/unit/v1/autotp/test_autotp_training.py:1294
Methodtest_matches_the_transformers_experts
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:122
Methodtest_matches_torch
(self, norm_type)
tests/unit/runtime/test_runtime_utils.py:286
Methodtest_matching_param_dtype_ok
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:80
Methodtest_matching_shape_is_passed_through_untouched
(self)
tests/unit/module_inject/test_auto_ep_comm.py:320
Functiontest_matmul_2d_autotune
(monkeypatch, M, N, K, transposed, add_bias, activation)
tests/unit/ops/transformer/inference/test_matmul.py:66
Functiontest_matmul_4d
(B, H, M, K, N, dtype, use_triton_ops)
tests/unit/ops/transformer/inference/test_matmul.py:43
Functiontest_matrices_are_still_tagged_once_zero3_has_partitioned_them
()
tests/unit/runtime/zero/test_muon_use_muon_under_zero_init.py:58
Functiontest_matrices_are_tagged_when_the_model_is_not_partitioned
()
tests/unit/runtime/zero/test_muon_use_muon_under_zero_init.py:49
Functiontest_max_channels
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:99
Functiontest_max_grad_norm_leaves_caller_config_untouched
()
tests/unit/runtime/test_ds_config_dict.py:400
Functiontest_max_out_tokens_must_be_positive
(field, value)
tests/unit/inference/test_inference_config.py:19
Functiontest_megatron
()
tests/model/run_sanity_check.py:33
Functiontest_megatron_checkpoint
()
tests/model/run_sanity_check.py:38
Functiontest_memory_profiler_finishes_the_node_collectives_before_reporting_a_failure
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:268
Functiontest_memory_profiling_interpreter_clears_gathered_params_after_failure
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:151
Functiontest_memory_profiling_interpreter_disables_profiling_if_cleanup_fails
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:173
Functiontest_merge_comparisons_have_their_own_budget
()
tests/unit/checkpoint/test_affine_transfer_plan.py:660
Functiontest_merge_tp_slices_decodes_legacy_subparam_count
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:459
Functiontest_merge_tp_slices_emits_subparam_shape_metadata
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:403
Functiontest_merge_tp_slices_handles_rank_without_any_sub_param_rows
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:556
Functiontest_merge_tp_slices_realigns_rank_that_wrote_no_fragment
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1257
Functiontest_merge_tp_slices_rejects_current_version_without_shard_widths
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:432
Functiontest_merge_tp_slices_restores_uneven_fused_bias_order
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:523
Functiontest_merge_tp_slices_uses_row_parallel_cat_dim
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:590
Functiontest_merge_tp_slices_uses_uneven_sub_param_widths
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:489
Functiontest_merge_zero_shards_rejects_a_missing_rank_that_owns_elements
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1293
Methodtest_mesh_device_creation
(self)
tests/unit/v1/sequence_parallelism/test_ulysses.py:93
Functiontest_meta_descends_into_multimodal_text_config
()
tests/unit/module_inject/test_tp_shard.py:30
Functiontest_meta_descends_only_when_text_config_is_set
()
tests/unit/module_inject/test_tp_shard.py:40
Functiontest_mha_even_sharding
Even head sharding for MHA. Args: n_heads (int): The number QKV heads. n_shards (int): The number of shards to test for.
tests/unit/inference/v2/model_implementations/sharding/test_attn_out_sharding.py:28
Functiontest_mha_input_shape_error
()
tests/unit/inference/v2/model_implementations/sharding/test_qkv_sharding.py:229
Functiontest_mha_unbalanced_sharding
Unbalanced head sharding for MHA. Args: n_heads (int): The number QKV heads. n_shards (int): The number of shards to test fo
tests/unit/inference/v2/model_implementations/sharding/test_attn_out_sharding.py:56
Methodtest_micro_step_id_is_zero_at_flush
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:479
Functiontest_mics_zero_config_is_rejected
()
tests/unit/runtime/test_ds_config_dict.py:331
Functiontest_min_split_bytes_bounds_every_part_of_a_split
()
tests/unit/checkpoint/test_affine_replica_policy.py:309
Methodtest_minimax_m3_adapter_guards
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:2260
Methodtest_missing_amp_autocast
(self, half_op)
tests/unit/runtime/test_autocast.py:20
Functiontest_missing_base_runs_all
()
ci/test_tests_fetcher.py:532
Functiontest_missing_bw_compiler_uses_original_fw_compiler_for_backward
(monkeypatch)
tests/unit/compile/test_inductor_aot_kwargs.py:113
Functiontest_missing_exit_reports_no_sentinel
()
ci/test_classify_multirank_exit.py:62
Methodtest_missing_fp32_shards_only_allows_module_only_load
(self, tmpdir)
tests/unit/checkpoint/test_fp32_master_only.py:383
Functiontest_missing_grad_dtype_attribute_falls_back_to_param_dtype
()
tests/unit/compile/test_zero3_grad_dtype.py:23
Methodtest_missing_latest
(self, tmpdir)
tests/unit/checkpoint/test_latest_checkpoint.py:44
Methodtest_missing_package_names_its_requirements
(self)
tests/unit/module_inject/test_auto_ep_comm.py:263
Functiontest_missing_requirement_raises
(clean_registry)
tests/unit/compile/test_pass_contract.py:74
Methodtest_missing_tp_group_uses_pytorch_reference
A None group is the default world to some Liger versions, so it must not select Liger.
tests/unit/v1/sequence_parallelism/test_liger_vocab_parallel_cross_entropy.py:74
Functiontest_mixed_multi_parameter_layer
()
tests/unit/inference/v2/model_implementations/parameters/test_multi_parameter_layer.py:56
Methodtest_mixed_packed_and_strided_regions_preserve_storage_windows
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:170
Functiontest_mixed_param_lists
()
tests/unit/inference/v2/model_implementations/parameters/test_parameter_list.py:99
Methodtest_mixtral_detect_replace_and_mock_forward
(self)
tests/unit/v1/moe/test_autoep_unit.py:2058
Methodtest_mixtral_matches_module_injection
(self)
tests/unit/compile/test_tp_compile.py:395
Functiontest_mixtral_moe_config
()
tests/unit/inference/v2/modules/test_cutlass_moe.py:274
Functiontest_mla_head_width_is_checked_not_assumed
A shape that does not equal num_heads * per-head width is not the layout we think it is.
tests/unit/runtime/zero/test_per_head_muon.py:348
Functiontest_mla_tags_only_the_up_projections
MLA blocks its two up-projections by head, which is the split GLM-5's Muon Split applies. Their per-head width is not `head_dim`: q_b is qk_nope
tests/unit/runtime/zero/test_per_head_muon.py:336
Functiontest_mla_without_q_lora_rank_tags_the_plain_q_proj
Without a q_lora_rank there is no q_a/q_b pair; the up-projection is `q_proj` itself. Its per-head width stays `qk_nope + qk_rope`, so reading `h
tests/unit/runtime/zero/test_per_head_muon.py:381
Functiontest_mlp_matrices_named_dense_are_not_treated_as_attention
`dense` names an MLP matrix as often as an attention one. Matching it anywhere in the path tagged `intermediate.dense` and `dense_h_to_4h` with a
tests/unit/runtime/zero/test_per_head_muon.py:200
Functiontest_modal_infrastructure_smoke_uses_production_oci_shape_and_cleans_up
()
ci/test_torch_latest.py:586
Methodtest_model
(self)
tests/unit/linear/test_ctx.py:38
Methodtest_model_class
(self, model_class)
tests/unit/v1/zero/test_zero.py:1004
Methodtest_model_params_remain_16_byte_aligned
(self, tmpdir, zero_stage)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:119
Methodtest_model_quantization
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:269
Functiontest_model_retains_inverse_frequencies_in_fp32
(monkeypatch)
tests/unit/inference/v2/model_implementations/test_exaone4_5.py:62
Functiontest_modern_opt_uses_native_fallback
()
tests/unit/hybrid_engine/test_he_policy.py:122
← previousnext →12,801–12,900 of 14,579, ranked by callers