MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodtest_zero3_autoep_contiguous_grads_average_by_global_dp
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:921
Methodtest_zero3_autoep_expert_grads_match_zero2_autoep
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:443
Methodtest_zero3_autoep_reduce_scatter_grads_average_by_global_dp
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:887
Methodtest_zero3_checkpoint_metadata_includes_partition_group_ranks
(self)
tests/unit/v1/moe/test_autoep_unit.py:830
Methodtest_zero3_compatibility_gate_allows_active_autotp
(self)
tests/unit/v1/moe/test_autoep_unit.py:567
Methodtest_zero3_compatibility_gate_allows_constrained_autoep
(self)
tests/unit/v1/moe/test_autoep_unit.py:536
Methodtest_zero3_compatibility_gate_rejects_hpzero
(self)
tests/unit/v1/moe/test_autoep_unit.py:598
Methodtest_zero3_compatibility_gate_rejects_native_moe
(self)
tests/unit/v1/moe/test_autoep_unit.py:523
Methodtest_zero3_compatibility_gate_rejects_quantized_gradients
(self)
tests/unit/v1/moe/test_autoep_unit.py:582
Methodtest_zero3_compatibility_gate_rejects_sequence_parallel
(self)
tests/unit/v1/moe/test_autoep_unit.py:551
Methodtest_zero3_consolidated_state_dict_keeps_tied_weight_shared
(self)
tests/unit/v1/autotp/test_autotp_training.py:767
Methodtest_zero3_cpu_offload_grad_norm_reduces_autoep_expert_parallel_group
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:855
Functiontest_zero3_dynamo_config_restores_after_last_overlapping_owner
(monkeypatch, first_owner_to_restore)
tests/unit/compile/test_zero3_grad_dtype.py:188
Functiontest_zero3_dynamo_config_restores_when_overlapping_engines_are_destroyed
(monkeypatch, first_owner_to_destroy)
tests/unit/compile/test_zero3_grad_dtype.py:209
Methodtest_zero3_ep_expert_replica_group_train_save_load_4gpu
(self, tmpdir)
tests/unit/v1/moe/test_autoep_integration.py:213
Methodtest_zero3_ep_save_load_same_topology_2gpu
(self, tmpdir)
tests/unit/v1/moe/test_autoep_integration.py:129
Methodtest_zero3_ep_source_zero_init_expert_replica_placement_4gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:187
Methodtest_zero3_ep_source_zero_init_expert_replica_placement_8gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:256
Methodtest_zero3_ep_train_step_and_placement_2gpu
EP with ZeRO-3 trains when AutoEP owns the MoE layers.
tests/unit/v1/moe/test_autoep_integration.py:77
Functiontest_zero3_generation_disables_native_synced_gpus
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1101
Methodtest_zero3_int4_post_init_quant
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:387
Methodtest_zero3_int4_post_init_quant_cpu_offload
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:392
Methodtest_zero3_int4_post_init_quant_nvme_offload
(self, tmpdir)
tests/unit/inference/quantization/test_intX_quantization.py:397
Methodtest_zero3_int4_quantized_initialization
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:405
Methodtest_zero3_int4_quantized_initialization_cpu_offload
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:410
Methodtest_zero3_int4_quantized_initialization_nvme_offload
(self, tmpdir)
tests/unit/inference/quantization/test_intX_quantization.py:415
Methodtest_zero3_multi_step_diff_under_corruption_threshold
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:511
Methodtest_zero3_native_moe_rejected_2gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:101
Methodtest_zero3_nvme_aggregate_unswapped_fragments
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:720
Methodtest_zero3_nvme_mixed_fragments_numerical_equivalence
(self, tmpdir, pipeline, save_in_memory)
tests/unit/v1/ops/muon/test_muon.py:810
Methodtest_zero3_nvme_momentum_residency
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:624
Methodtest_zero3_nvme_multirank_mixed_fragments
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:952
Functiontest_zero3_partition_native_consolidation_allows_rank_without_fragments
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:311
Functiontest_zero3_partition_native_consolidation_uses_affine_placement
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:241
Methodtest_zero3_partition_native_universal_round_trip_replica_groups_4gpu
Same round trip as the 2-GPU test, but with expert-DP world size 2 so the converter consolidates multiple partition fragments per expert
tests/unit/v1/moe/test_autoep_checkpoint.py:791
Methodtest_zero3_partition_native_universal_round_trip_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:536
Functiontest_zero3_partitions_drop_padding
()
tests/unit/checkpoint/test_zero_affine.py:43
Functiontest_zero3_qkv_layout_round_trip_persists_mutation
(monkeypatch)
tests/unit/module_inject/test_hybrid_megatron.py:34
Functiontest_zero3_rendezvous_uses_optimizer_dp_group
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1075
Functiontest_zero3_restore_extracts_ep_rank_before_zero_partition
(tmp_path, monkeypatch)
tests/unit/checkpoint/test_autoep_affine_universal.py:487
Functiontest_zero3_scheduler_budget_uses_rank_reduced_non_gathered_peak
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:136
Functiontest_zero3_semantic_guard_ignores_transient_physical_state_changes
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:99
Functiontest_zero3_semantic_guard_resolves_real_parameter_from_dummy_value
()
tests/unit/compile/test_zero3_grad_dtype.py:145
Methodtest_zero3_storage_maps_refuse_storage_without_plain_elements
(self, encoding)
tests/unit/v1/moe/test_autoep_checkpoint.py:769
Functiontest_zero3_storage_plans_directly_into_a_new_placement
()
tests/unit/checkpoint/test_autoep_affine.py:322
Functiontest_zero3_tensor_match_delegates_non_zero_tensor
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:65
Methodtest_zero3_universal_load_optimizer_states_false_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:620
Methodtest_zero3_universal_module_only_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:623
Methodtest_zero3_universal_weights_only_preserves_fp32_master_weights
(self, tmpdir, load_kwargs)
tests/unit/v1/moe/test_autoep_checkpoint.py:627
Functiontest_zero_config_aliasfields
()
tests/unit/runtime/zero/test_zero_config.py:35
Functiontest_zero_config_compute_grad_norm
()
tests/unit/runtime/zero/test_zero_config.py:64
Functiontest_zero_config_deprecatedfields
()
tests/unit/runtime/zero/test_zero_config.py:24
Functiontest_zero_config_offload_configs
()
tests/unit/runtime/zero/test_zero_config.py:73
Functiontest_zero_config_overlapcomm
()
tests/unit/runtime/zero/test_zero_config.py:55
Functiontest_zero_config_parameter_alignment
()
tests/unit/runtime/zero/test_zero_config.py:18
Functiontest_zero_config_pipeline_loading_checkpoint
()
tests/unit/runtime/zero/test_zero_config.py:49
Functiontest_zero_config_reduce_bucket_size
()
tests/unit/runtime/zero/test_zero_config.py:11
Functiontest_zero_exit_reports_success_without_any_sentinel
()
ci/test_classify_multirank_exit.py:55
Functiontest_zero_extent_piece_covers_nothing
A rank may hold none of a sub-parameter, and an empty piece must not claim coverage.
tests/unit/checkpoint/test_affine_shard_map.py:596
Methodtest_zero_fragments
(self, tmpdir, dtype, api_type, zero_stage, offload_device, frozen_weights)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:148
Methodtest_zero_fragments
(self, tmpdir, api_type, zero_stage, offload_device, dtype)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:462
Methodtest_zero_fragments
(self, tmpdir, torch_adam, zero_stage, offload_device, dtype)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:546
Functiontest_zero_fwd_stash_retains_no_gpu_activation
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:451
Methodtest_zero_grad
(self, zero_grad)
tests/unit/v1/zero/test_zero.py:988
Functiontest_zero_hpz_partition_size_config
()
tests/unit/runtime/zero/test_zeropp.py:40
Functiontest_zero_hpz_secondary_shard_padding_is_zeroed
(monkeypatch)
tests/unit/runtime/zero/test_zeropp.py:113
Functiontest_zero_hpz_small_param_secondary_shard_without_overlap
(monkeypatch)
tests/unit/runtime/zero/test_zeropp.py:80
Methodtest_zero_init_embedding_slices_like_plain
(self)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:805
Methodtest_zero_init_matches_plain_build
(self, world_size, case)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:758
Methodtest_zero_init_skips_param_cast
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:107
Methodtest_zero_init_source_gathered_for_parser_router_and_fused_repack
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:2091
Functiontest_zero_leaf_module_custom_config
()
tests/unit/runtime/zero/test_zero_leaf_module.py:221
Functiontest_zero_leaf_module_default_config
()
tests/unit/runtime/zero/test_zero_leaf_module.py:214
Functiontest_zero_leaf_module_string_coercion
()
tests/unit/runtime/zero/test_zero_leaf_module.py:237
Functiontest_zero_max_ragged_batch_size
()
tests/unit/inference/v2/ragged/test_manager_configs.py:32
Functiontest_zero_max_ragged_sequence_count
()
tests/unit/inference/v2/ragged/test_manager_configs.py:44
Functiontest_zero_max_tracked_sequences
()
tests/unit/inference/v2/ragged/test_manager_configs.py:20
Functiontest_zero_offload_optimizer_config_pipeline
()
tests/unit/runtime/zero/test_zero_config.py:87
Methodtest_zero_optimizer
(self, num_models, shared_loss, zero_stage, fp32_grad_accum, contiguous_gradients,
tests/unit/runtime/test_multiple_models.py:81
Functiontest_zero_optimizer_uc_info_comes_from_cached_state
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:615
Functiontest_zero_ordered_dict_does_not_read_ds_status_while_compiling
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:168
Functiontest_zero_partial_offload_config
()
tests/unit/runtime/zero/test_zero_offloadpp.py:31
Methodtest_zero_reference_requires_zero_actual
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:397
Functiontest_zero_scale_is_refused
Zero cannot be inverted, so the full tensor could never be recovered.
tests/unit/checkpoint/test_affine_shard_map.py:780
Methodtest_zero_stage
(self, zero_stage, dtype)
tests/unit/runtime/test_no_sync_ctxt.py:25
Methodtest_zero_to_fp32_rejects_zero3_partitioned_autoep_checkpoint
(self, tmp_path)
tests/unit/v1/moe/test_autoep_unit.py:1091
Functiontest_zero_to_torch_cli_passes_dtype
(monkeypatch, tmp_path)
tests/unit/checkpoint/test_convert_checkpoint.py:88
Functiontest_zero_to_torch_standalone_uses_local_converter
(tmp_path)
tests/unit/checkpoint/test_convert_checkpoint.py:103
Functiontext2text_generation_assert
(x, y)
tests/unit/inference/test_inference.py:217
Functiontext_classification_assert
(x, y)
tests/unit/inference/test_inference.py:205
Functiontext_generation_assert
(x, y)
tests/unit/inference/test_inference.py:213
Methodthread_id
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:973
Functionthread_start_column
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:773
Functionthread_start_column
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:620
Functionthread_start_row
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:769
Functionthread_start_row
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:616
Methodtiled_forward
(self, x, y)
tests/unit/ulysses_alst/test_tiled_compute.py:335
Functiontimed_identity
(x)
tests/unit/v1/compile/test_graph_profile.py:134
Functiontimed_op
(func)
deepspeed/comm/comm.py:99
Functionto
deepspeed/inference/v2/kernels/includes/conversion_utils.h:20
← previousnext →14,201–14,300 of 14,579, ranked by callers