MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

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:95
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_full_sequence_reference
(self, zero_stage, reduction, keyword_args, explicit_mesh, empty_shard,
tests/unit/v1/compile/test_compile_autosp.py:302
Methodtest_matches_generate_on_sharded_llama
(self, use_graph)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:179
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:1795
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_minimizing_negative_loss
(self, adamw_mode)
tests/unit/v1/zero/test_reflow.py:2672
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:478
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, path, zero_stage, zero_init, vocab_parallel_lm_head)
tests/unit/v1/autotp/test_autotp_training.py:2318
Methodtest_matches_single_device_training_tp2
(self, zero_stage)
tests/unit/v1/autotp/test_autotp_training.py:1382
Methodtest_matches_single_device_training_tp4
(self)
tests/unit/v1/autotp/test_autotp_training.py:1385
Methodtest_matches_the_plain_path_exactly_on_cpu
(self, activation, gate_up_impl, deferred)
tests/unit/v1/moe/test_autoep_expert_activation.py:655
Methodtest_matches_the_plain_path_exactly_with_the_fused_kernels
(self, activation, gate_up_impl)
tests/unit/v1/moe/test_autoep_expert_activation.py:665
Methodtest_matches_the_transformers_experts
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:124
Methodtest_matches_the_unpartitioned_fused_restore
(self, row_dtype)
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:274
Methodtest_matches_torch
(self, norm_type)
tests/unit/runtime/test_runtime_utils.py:286
Methodtest_matches_unsharded_logits
(self)
tests/unit/v1/autotp/test_autotp_inference.py:39
Methodtest_matches_zero_offload
(self, variant, precision)
tests/unit/v1/zero/test_reflow.py:521
Methodtest_matches_zero_offload
(self, gradient_accumulation_steps, warmup_lr)
tests/unit/v1/zero/test_reflow.py:2015
Methodtest_matches_zero_offload
(self, gradient_accumulation_steps, precision)
tests/unit/v1/zero/test_reflow.py:2051
Methodtest_matches_zero_offload
(self, optimizer_kind, gradient_accumulation_steps, clip, precision, offload_params)
tests/unit/v1/zero/test_reflow.py:2350
Methodtest_matches_zero_offload
(self, tmpdir, optimizer_kind, nvme_target)
tests/unit/v1/zero/test_reflow.py:2542
Methodtest_matches_zero_offload_across_accumulation_windows
(self, optimizer_kind, accumulation_steps)
tests/unit/v1/zero/test_reflow.py:2165
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:325
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:104
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
Methodtest_mean_loss_does_not_overflow_in_shard_sum
(self)
tests/unit/v1/compile/test_compile_autosp.py:577
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:771
Functiontest_merge_tp_slices_decodes_legacy_subparam_count
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:460
Functiontest_merge_tp_slices_emits_subparam_shape_metadata
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:404
Functiontest_merge_tp_slices_handles_rank_without_any_sub_param_rows
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:557
Functiontest_merge_tp_slices_keeps_each_vocabulary_size
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:616
Functiontest_merge_tp_slices_realigns_rank_that_wrote_no_fragment
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1296
Functiontest_merge_tp_slices_rejects_current_version_without_shard_widths
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:433
Functiontest_merge_tp_slices_restores_uneven_fused_bias_order
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:524
Functiontest_merge_tp_slices_uses_row_parallel_cat_dim
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:591
Functiontest_merge_tp_slices_uses_uneven_sub_param_widths
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:490
Functiontest_merge_zero_shards_rejects_a_missing_rank_that_owns_elements
(tmp_path)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1332
Methodtest_mesh_device_creation
(self)
tests/unit/v1/sequence_parallelism/test_ulysses.py:96
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:2331
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:388
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:49
Methodtest_missing_package_names_its_requirements
(self)
tests/unit/module_inject/test_auto_ep_comm.py:268
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:203
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:2116
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:350
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:338
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:383
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:202
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:1007
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
Methodtest_modification_between_microsteps_accumulates
(self, precision)
tests/unit/v1/zero/test_reflow.py:1315
← previousnext →13,501–13,600 of 15,468, ranked by callers