MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Functiontest_outputs_support_in_place_masking
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:310
Functiontest_overflow_check_accepts_every_invalid_norm_representation
(bad)
tests/unit/v1/zero/test_invalid_grad_norm.py:55
Methodtest_overflow_check_still_skips_the_step
(self)
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:130
Functiontest_overlap_backward_preserves_shape_changing_producers
(monkeypatch)
tests/unit/v1/sequence_parallelism/test_overlap_grad_permutation.py:18
Functiontest_overlap_check_matches_what_empty_like_would_allocate
The predicate has one job: reject a tensor empty_like would allocate more storage for. csrc/compile/z3.cpp builds both the pinned host buffer and
tests/unit/v1/compile/test_offload_activation.py:531
Methodtest_overlap_kwargs
(self)
tests/unit/inference/test_inference_config.py:57
Methodtest_overlap_kwargs_conflict
(self)
tests/unit/inference/test_inference_config.py:64
Functiontest_overlapping_view_is_skipped
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:411
Functiontest_oversized_copy_is_independent_and_preserves_routing
(dtype, cpu_offload, bucket_size)
tests/unit/v1/zero/test_zero2_gradient_safety.py:131
Functiontest_owner_geometry_still_has_to_match_the_shape
The module is another candidate, not an override: #8384's shape confirmation still rules.
tests/unit/runtime/zero/test_per_head_muon.py:719
Methodtest_packed_activation_matches_the_separate_halves
(self, activation)
tests/unit/v1/moe/test_autoep_expert_activation.py:335
Functiontest_packed_create_graph_is_rejected
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:160
Methodtest_packed_kernels_are_registered
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:351
Functiontest_packed_matches_the_separate_kernel_exactly
(dtype, shape)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:119
Functiontest_packed_non_contiguous_input_and_gradient
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:141
Functiontest_packed_odd_width_raises
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:194
Functiontest_packed_uses_the_input_device_and_stream
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:169
Methodtest_packing_failure_drains_pending_and_allows_retry
(self, monkeypatch, async_split_layer)
tests/unit/v1/moe/test_autoep_unit.py:1951
Functiontest_pad_after_eos_handles_different_lengths_and_missing_eos
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1698
Functiontest_pad_after_eos_keeps_eos_attended_when_eos_is_pad
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1719
Functiontest_pad_after_eos_supports_multiple_eos_ids
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1728
Methodtest_padded_shard_handling
Test that parameters with padding (uneven division) work correctly with DeepCompile
tests/unit/v1/compile/test_compile_zero.py:174
Methodtest_padding_produces_valid_output_when_not_divisible
When fused_len % world_size != 0, padding must not raise and output is well-formed.
deepspeed/sequence/test_autosp.py:318
Methodtest_parallel_read
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_gds.py:76
Methodtest_parallel_read
(self, tmpdir, use_cuda_pinned_tensor, single_submit, overlap_events, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:96
Methodtest_parallel_write
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_gds.py:127
Methodtest_parallel_write
(self, tmpdir, use_cuda_pinned_tensor, single_submit, overlap_events, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:165
Methodtest_param
(self, tmpdir)
tests/unit/v1/zero/test_zero3_nvme_offload.py:105
Methodtest_param_and_optimizer
(self, tmpdir, fast_init)
tests/unit/v1/zero/test_zero3_nvme_offload.py:110
Methodtest_param_dtype_from_bf16_flag
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:51
Methodtest_param_dtype_from_fp16_flag
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:56
Methodtest_param_dtype_none_leaves_params
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:112
Methodtest_param_offload_keeps_only_buffers
(self)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:477
Methodtest_param_persistence_threshold
(self, param_persistence_threshold)
tests/unit/v1/zero/test_zero.py:970
Functiontest_param_uc_restore_builder_normalizes_shapes_and_nests_conversion_view
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:215
Methodtest_parameter_alignment_is_opt_in
(self, zero_stage, parameter_alignment)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:99
Methodtest_parameters_match_ddp_after_step
Test that parameters match DDP after a training step. Note: This test is for FP16 where gradients are scaled and hard to compare.
tests/unit/v1/half_precision/test_with_autocast.py:123
Methodtest_params
()
tests/unit/runtime/test_runtime_utils.py:183
Methodtest_params
()
tests/unit/runtime/test_runtime_utils.py:289
Methodtest_params_cast_buffers_preserved_by_default
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:96
Methodtest_params_reconstruct_exactly
(self, numels)
tests/unit/runtime/zero/test_zero_allreduce_fetch_params.py:33
Functiontest_parity_contiguous_split
The default branch: `cat(slices, dim=1)` for row parallelism, `dim=0` otherwise.
tests/unit/checkpoint/test_affine_shard_map.py:327
Functiontest_parity_replicated
`merge_tp_slices` takes slices[0] after asserting every rank matches.
tests/unit/checkpoint/test_affine_shard_map.py:315
Functiontest_parity_round_trips_back_to_the_original_slices
Extracting from the merged parameter returns the slices it was built from.
tests/unit/checkpoint/test_affine_shard_map.py:390
Functiontest_parity_sub_params_with_uneven_widths
The sub-parameter branch, with the per-rank widths #8185 added for uneven splits. Q, K and V are different sizes and none divides evenly by the t
tests/unit/checkpoint/test_affine_shard_map.py:358
Functiontest_parity_two_sub_params_cat_dim_0
The 2-sub-param branch chunks each slice, merges each half, then concatenates.
tests/unit/checkpoint/test_affine_shard_map.py:338
Methodtest_parse_and_validate_enabled_size_contract
(self)
tests/unit/v1/moe/test_autoep_unit.py:253
Functiontest_parse_inclusion_exclusion
parse_inclusion_exclusion() maps a slot-count pool onto parse_resource_filter(). The pool holds slot counts rather than slot lists, so this is th
tests/unit/launcher/test_run.py:77
Functiontest_parse_inclusion_exclusion_errors
An out-of-range slot has to be rejected for --include, not just --exclude.
tests/unit/launcher/test_run.py:105
Functiontest_parser_errors
Ensure we catch errors.
tests/unit/launcher/test_run.py:209
Functiontest_parser_local
Test cases with only one node.
tests/unit/launcher/test_run.py:21
Functiontest_parser_multinode
()
tests/unit/launcher/test_run.py:58
Functiontest_parser_mutual_exclusive
Ensure dsrun.parse_resource_filter() raises a ValueError when include_str and exclude_str are both provided.
tests/unit/launcher/test_run.py:13
Functiontest_partial_live_output_falls_back_after_terminal_drain_failure
()
ci/test_torch_latest.py:1400
Functiontest_partial_offload_when_budget_allows_residency
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:207
Functiontest_partial_replica_boundaries_offer_rebuild_fallback
()
tests/unit/checkpoint/test_affine_transfer_plan.py:639
Functiontest_partially_masked_vocabulary_matches_unmasked_subset
(op)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:393
Methodtest_partially_optimized_packed_sources_raise
``module_list`` storage packs several local experts into one replacement tensor. If the caller optimized only some of them, that tensor can be
tests/unit/v1/moe/test_autoep_unit.py:2807
Functiontest_partition_assignments_splits_each_expert_once_across_tp_lanes
()
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:52
Functiontest_partition_balanced
()
tests/unit/utils/test_partition_balanced.py:21
Functiontest_partition_config_receives_full_path
Verify that pattern matching sees the full hierarchical path.
tests/unit/module_inject/test_tp_partition_config_path.py:116
Functiontest_partition_excludes_padded_and_dropped_assignments_from_stats
()
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:67
Functiontest_partitioned_legacy_metadata_still_requires_uniform_contiguous_ranges
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:119
Functiontest_partitioned_metadata_with_explicit_uneven_noncontiguous_placement_is_accepted
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:106
Functiontest_parts_count_against_the_budget_across_requests
()
tests/unit/checkpoint/test_affine_replica_policy.py:346
Functiontest_pass_does_not_ask_for_a_reprofiling_replay
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:387
Functiontest_pass_reruns_do_not_double_append
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:232
Functiontest_patch_compiled_func_unwraps_staticmethod_descriptor
()
tests/unit/compile/test_backend.py:83
Methodtest_pattern_matches_param_name
(self)
tests/unit/module_inject/test_tp_plan_converter.py:98
Methodtest_pattern_weight_suffix
(self)
tests/unit/module_inject/test_tp_plan_converter.py:59
Methodtest_pattern_weight_suffix_already_present
(self)
tests/unit/module_inject/test_tp_plan_converter.py:66
Functiontest_pdsh_runner
(runner_info)
tests/unit/launcher/test_multinode_runner.py:24
Functiontest_per_head_differs_from_full_matrix_when_heads_are_unbalanced
The point of the change: one loud head must stop setting the direction for the quiet ones. Without this the test would pass even if num_heads wer
tests/unit/runtime/zero/test_per_head_muon.py:111
Functiontest_per_head_matches_orthogonalizing_each_head_alone
The batched path must equal running NS on each head block on its own.
tests/unit/runtime/zero/test_per_head_muon.py:74
Methodtest_per_head_moves_exactly_the_head_blocked_matrices
One step from the same start: per-head changes q and k and leaves the untagged MLP alone.
tests/unit/v1/ops/muon/test_muon_zero3_grad_accum.py:185
Functiontest_per_head_on_a_shard_is_the_shard_of_per_head
Exactly equal, not close: the shards are the same matrices in the same batch.
tests/unit/v1/ops/muon/test_per_head_muon_accelerator.py:62
Methodtest_per_layer_groups_tolerate_a_trainable_parameter_the_caller_left_out
Per-layer groups plus a trainable parameter the caller never gave the optimizer. Every replacement here is traceable, so nothing is ambiguous
tests/unit/v1/moe/test_autoep_unit.py:2772
Methodtest_per_layer_param_groups_survive_replacement
Layer-wise learning-rate decay gives each layer its own group, so the replacement spans several groups at once. Each layer's replacements must
tests/unit/v1/moe/test_autoep_unit.py:2744
Methodtest_perf_1_5B
(self)
tests/model/Megatron_GPT2/run_perf_baseline.py:19
Methodtest_perf_1_5B
(self)
tests/model/Megatron_GPT2/run_perf_test.py:19
Methodtest_perf_20B
(self)
tests/model/Megatron_GPT2/run_perf_baseline.py:67
Methodtest_perf_20B
(self)
tests/model/Megatron_GPT2/run_perf_test.py:70
Methodtest_perf_4B
(self)
tests/model/Megatron_GPT2/run_perf_baseline.py:35
Methodtest_perf_4B
(self)
tests/model/Megatron_GPT2/run_perf_test.py:36
Methodtest_perf_8B
(self)
tests/model/Megatron_GPT2/run_perf_baseline.py:51
Methodtest_perf_8B
(self)
tests/model/Megatron_GPT2/run_perf_test.py:53
Methodtest_permute_and_unpermute_match_the_reference
(self, dtype, hidden, ep_degree, num_local_experts, empty)
tests/unit/v1/moe/test_autoep_permute_rows.py:54
Functiontest_persisted_autoep_affine_map_must_match_placement_descriptor
(use_collection)
tests/unit/checkpoint/test_autoep_affine.py:61
Methodtest_persistent_param_storage_unchanged_across_release
(self)
tests/torch_compile/test_deepcompile_z3_release.py:91
Functiontest_pg_utils_not_exported_from_comm
()
tests/unit/comm/test_dist.py:155
Functiontest_pg_utils_without_process_group
()
tests/unit/comm/test_dist.py:150
Functiontest_pid_running_treats_linux_zombies_as_terminated
()
ci/test_torch_latest.py:1139
Functiontest_piece_count_does_not_grow_with_model_size
Piece count follows the block structure of the layout, not the size of the tensor. This is what keeps the description small: if piece count track
tests/unit/checkpoint/test_affine_shard_map.py:215
Functiontest_pieces_never_span_a_replication_boundary
GPTBigCode's last rank is where an unconstrained merge would cross one. Its q slice ends exactly where the replicated kv block begins, so merging
tests/unit/checkpoint/test_affine_shard_map.py:249
Methodtest_pieces_reproduce_shards_of_unseen_data
Pieces derived from markers must reproduce shards of data they were not derived from.
tests/unit/checkpoint/test_affine_shard_map.py:193
Functiontest_pin_copies_and_matches_shape
(native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:26
Methodtest_pin_device_tensor
(self, use_new_api)
tests/unit/v1/nvme/test_gds.py:257
Functiontest_pin_empty_cpu_torch_skips_accounting
CPU torch pinning is a no-op and must not inflate the pinned-byte total.
tests/unit/v1/accelerator/test_accelerator.py:173
Functiontest_pin_empty_native_backend
(monkeypatch)
tests/unit/v1/accelerator/test_accelerator.py:203
Functiontest_pin_empty_requires_dtype_and_host_device
(monkeypatch)
tests/unit/v1/accelerator/test_accelerator.py:164
← previousnext →13,201–13,300 of 14,579, ranked by callers