MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_preset_registry_core_contracts
(self)
tests/unit/v1/moe/test_autoep_unit.py:1190
Methodtest_pretrained_init
(self)
tests/unit/linear/test_ctx.py:91
Functiontest_primes
Test prime factorizations.
tests/unit/runtime/pipe/test_topology.py:210
Functiontest_print_model_profile_with_none_dp_world_size
(capsys)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:211
Functiontest_probe_is_compatible_does_not_propagate_a_failed_probe
()
tests/unit/ops/test_op_builder.py:532
Functiontest_probe_is_compatible_passes_through_a_successful_probe
(answer)
tests/unit/ops/test_op_builder.py:539
Functiontest_problem_size_permutations
Validate on wider range of problem sizes.
tests/unit/inference/v2/kernels/ragged_ops/test_ragged_embed.py:127
Functiontest_problem_size_permutations
Validate for different embedding sizes.
tests/unit/inference/v2/kernels/ragged_ops/test_logits_gather.py:83
Functiontest_process_group_resolves_noncontiguous_group_rank
(monkeypatch)
tests/unit/module_inject/test_tp_shard.py:71
Methodtest_producer_matches_the_verified_fixture_layout
(self)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1815
Functiontest_profile_backfill_makes_partial_profile_safe_for_profile_dependent_passes
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:410
Functiontest_profile_helpers_drop_warmup_and_intermediate_outputs
()
tests/unit/v1/compile/test_graph_profile.py:85
Functiontest_profiling_does_not_change_rollout_output
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1429
Functiontest_profiling_interpreter_restores_state_if_gathered_param_cleanup_fails
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:337
Functiontest_profiling_interpreter_wall_time_excludes_warmup
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:119
Methodtest_projection_is_applied
Projection layer must transform visual features before gather.
deepspeed/sequence/test_autosp.py:368
Functiontest_prompt_forward_never_uses_graphs
()
tests/unit/hybrid_engine/test_he_graph.py:141
Functiontest_public_barrier_forwards_device_ids
(monkeypatch, call_kwargs)
tests/unit/comm/test_barrier.py:15
Methodtest_pure_copy_lands_every_element
(self, dtype)
tests/unit/checkpoint/test_affine_transfer_executor.py:103
Functiontest_python_gc_manager_collection_allows_reentrant_release
(monkeypatch)
tests/unit/runtime/test_python_gc.py:201
Functiontest_python_gc_manager_explicit_collection
(monkeypatch)
tests/unit/runtime/test_python_gc.py:71
Functiontest_python_gc_manager_ignores_pre_fork_release
(monkeypatch)
tests/unit/runtime/test_python_gc.py:168
Functiontest_python_gc_manager_preserves_disabled_state
(monkeypatch)
tests/unit/runtime/test_python_gc.py:56
Functiontest_python_gc_manager_preserves_disabled_state_after_fork
(monkeypatch)
tests/unit/runtime/test_python_gc.py:154
Functiontest_python_gc_manager_restores_enabled_state
(monkeypatch)
tests/unit/runtime/test_python_gc.py:15
Functiontest_python_gc_manager_restores_enabled_state_after_fork
(monkeypatch)
tests/unit/runtime/test_python_gc.py:130
Functiontest_q_proj_on_a_non_mla_config_still_uses_head_dim
The MLA width only applies where the config carries the MLA head dimensions.
tests/unit/runtime/zero/test_per_head_muon.py:405
Methodtest_q_proj_reaches_muon_update_with_its_head_count
(self, zero_stage, monkeypatch)
tests/unit/runtime/zero/test_per_head_muon.py:947
Methodtest_q_proj_reaches_muon_update_with_its_head_count
(self, monkeypatch)
tests/unit/runtime/zero/test_per_head_muon.py:1000
Methodtest_quad_gemv
(self)
tests/unit/module_inject/test_segment_ki_kernels.py:240
Methodtest_quantized_frozen_param_stays_quantized
(self)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:389
Methodtest_quantized_linear
(self, quantization_bits, group_dim)
tests/unit/inference/quantization/test_intX_quantization.py:325
Functiontest_query_projection_uses_the_query_head_count
()
tests/unit/runtime/zero/test_per_head_muon.py:178
Methodtest_query_sharded_mask_matches_full_sequence_reference
(self, mask_as_kwarg)
tests/unit/v1/compile/test_compile_autosp.py:896
Methodtest_queue_pairs_leave_room_for_the_control_path
(self)
tests/unit/module_inject/test_auto_ep_comm.py:96
Methodtest_qwen2_tied_lm_head_with_embedding_rowwise_becomes_vocab_parallel
Test HF's tied-model `embedding_rowwise` tp_plan entry (transformers#47579) drives real vocab-parallel sharding automatically, not just the SK
tests/unit/v1/autotp/test_tp_plan_real_models.py:208
Methodtest_qwen2_tied_lm_head_without_embedding_rowwise_falls_back_to_replicated
Test that a tied Qwen2 model without the new HF style remains replicated.
tests/unit/v1/autotp/test_tp_plan_real_models.py:147
Methodtest_qwen2_tp_plan_with_uneven_vocab
Test an untied Qwen2 LM head with an uneven gathered vocabulary size.
tests/unit/v1/autotp/test_tp_plan_real_models.py:96
Methodtest_qwen2_tp_plan_with_zero2
Test an untied Qwen2 LM head with gathered column output and ZeRO2.
tests/unit/v1/autotp/test_tp_plan_real_models.py:27
Methodtest_qwen3_norm_grads_match_across_ranks
(self)
tests/unit/v1/autotp/test_tp_plan_e2e.py:356
Methodtest_qwen3_tp3_keeps_attention_heads_aligned
(self)
tests/unit/v1/autotp/test_tp_plan_real_models.py:404
Methodtest_qwen_adapter_guards
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:2352
Functiontest_qwen_rejects_a_tensor_parallel_size_that_empties_a_rank
()
tests/unit/module_inject/test_fused_repartition.py:90
Functiontest_qwen_split_size_follows_the_frozen_shard_width
()
tests/unit/module_inject/test_fused_repartition.py:77
Functiontest_raises_instead_of_guessing_when_nothing_carries_it
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:51
Methodtest_raises_instead_of_training_with_adam
(self)
tests/unit/v1/zero/test_reflow.py:1711
Methodtest_raises_on_unknown_model
(self)
deepspeed/sequence/test_autosp.py:229
Functiontest_raises_when_nothing_carries_it
()
tests/unit/module_inject/test_llama_rope_theta.py:89
Functiontest_random_supported_layouts_match_the_oracle
Fixed seed, random geometry, including a change of split axis across degrees. A layout that cannot be planned is a failure of the generator rathe
tests/unit/checkpoint/test_affine_transfer_plan.py:981
Methodtest_rank_dependent_param_order
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:92
Methodtest_rank_local_callback_failure_can_retry_without_backward
(self)
tests/unit/v1/zero/test_reflow.py:1496
Functiontest_rank_local_expert_count_must_match_layer_entry
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:97
Functiontest_rank_local_placement_must_match_runtime_packing
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:81
Methodtest_rank_main_and_worker_cpus_are_disjoint
(self, rank_affinity)
tests/unit/v1/zero/test_reflow.py:1062
Methodtest_ranks_disagreeing_about_the_schedule_refuse_everywhere
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:142
Methodtest_read
(self, tmpdir, async_queue)
tests/unit/v1/nvme/test_gds.py:176
Methodtest_read
(self, tmpdir, async_queue, use_cuda_pinned_tensor, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:235
Methodtest_read
(self, tmpdir, use_cuda_pinned_tensor, layout)
tests/unit/v1/nvme/test_aio.py:442
Functiontest_readme_check_rejects_missing_or_invalid_utf8
()
ci/test_tests_fetcher.py:272
Functiontest_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:33
Functiontest_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/module_inject/test_llama_rope_theta.py:26
Functiontest_reads_rope_scaling_when_that_is_the_only_dict
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:39
Functiontest_reads_the_legacy_attribute
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:29
Functiontest_reads_the_legacy_config_attribute
()
tests/unit/module_inject/test_llama_rope_theta.py:20
Functiontest_ready_writers_publish_aligned_and_unaligned_output
(optimizer_kind, dtype, offset)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:302
Functiontest_real_guard_builder_source_resolution_suppresses_gather
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:49
Functiontest_real_vocabulary_backward_peak_drops_by_the_float32_tensors
A bounded real-vocabulary case preserves accuracy and rejects stock-loss memory use.
tests/unit/v1/runtime/test_chunked_cross_entropy.py:376
Methodtest_rebuild_inverts_extract
Rebuilding from the shards returns the parameter the shards were cut from.
tests/unit/checkpoint/test_affine_shard_map.py:207
Methodtest_recompute_forward_exception_unwinds_for_clean_retry
An exception during replay must unwind the GraphTask so a retry starts clean.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:403
Functiontest_recompute_param_aliases_leaves_unrelated_activations_to_min_cut
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:13
Functiontest_recompute_param_aliases_preserves_existing_non_param_policy
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:31
Methodtest_recomputed_parameter_releases_at_last_activation_consumer
Frozen param should release at its real backward consumer, not at outer cleanup.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:335
Functiontest_record_stream_is_separate_from_readiness
(monkeypatch)
tests/unit/v1/zero/test_zero2_gradient_safety.py:556
Methodtest_recorded_eager_row_weighting_backward_matches_autograd_bitwise
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1571
Methodtest_recorded_fused_row_weighting_backward_matches_the_fused_one_bitwise
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1595
Methodtest_recorded_recompute_matches_the_normal_recompute_bitwise
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1486
Methodtest_records_the_backend_it_measured
(self)
tests/unit/checkpoint/test_affine_transfer_calibration.py:275
Methodtest_reduce_scatter
(self, reduce_scatter)
tests/unit/v1/zero/test_zero.py:999
Functiontest_reduction_and_offload_consume_owned_oversized_buffer
()
tests/unit/v1/zero/test_zero2_gradient_safety.py:217
Methodtest_reentrant_checkpointed_engine_branches_are_scaled_once
(self)
tests/unit/runtime/zero/test_zero_shared_loss_gradient.py:168
Methodtest_reentrant_recompute_dispatches_afresh
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1162
Methodtest_reentry
(self)
tests/unit/runtime/test_no_sync_ctxt.py:185
Functiontest_reflow_block_configures_the_optimizer
()
tests/unit/v1/zero/test_reflow.py:53
Functiontest_reflow_builder_falls_back_to_avx2_when_avx512_is_incomplete
(builder, monkeypatch)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:105
Functiontest_reflow_builder_rejects_missing_fma
(builder, monkeypatch)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:115
Functiontest_reflow_builder_rejects_non_avx_cpu
(builder, monkeypatch)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:98
Functiontest_reflow_builder_rejects_unvalidated_accelerator
(builder, monkeypatch)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:124
Functiontest_reflow_builder_uses_shared_cpu_info_fallback
(builder, monkeypatch)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:78
Functiontest_reflow_extension_is_independent
(normal, reflow, symbol)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:136
Functiontest_reflow_optimizer_rejects_direct_step
(optimizer_type, builder)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:63
Functiontest_reflow_optimizer_rejects_low_precision_states
(optimizer_type)
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:55
Functiontest_reflow_overflow_keeps_nvme_restore_paths
(nvme_parameter)
tests/unit/v1/zero/test_reflow.py:1581
Functiontest_reflow_rejects_nonpositive_h2d_chunks
(size)
tests/unit/v1/zero/test_reflow.py:71
Functiontest_refuses_a_config_whose_layer_types_disagree
Callers feed one ``RotateHalfConfig.theta_base`` for the whole model. Picking either base would be wrong for the layers using the other one, so t
tests/unit/inference/v2/model_implementations/test_rope_theta.py:82
Methodtest_regional_compile_matches_eager
(self, checkpoint_enabled, model_layout, async_split_plan)
tests/unit/v1/moe/test_autoep_grad_parity.py:491
Functiontest_register_and_get
(clean_registry)
tests/unit/compile/test_pass_contract.py:52
Functiontest_register_custom_ops_defines_every_op_it_registers
register_custom_ops must not raise when only _define_dc_ops has run. It registers each dc op in sequence, so an op the helper does not define rai
tests/unit/v1/compile/test_list_schedule.py:574
Functiontest_register_custom_ops_includes_graphsafe_rng_state_no_reuse
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:599
Methodtest_register_hub_kernel_attn
Test hub-kernel attention strings are registered before validation. This verifies that DeepSpeed can accept kernel-based attention implementa
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:307
Functiontest_register_offload_ops_idempotent
()
tests/unit/v1/compile/test_offload_opt_states.py:106
← previousnext →14,101–14,200 of 15,468, ranked by callers