MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodtest_disable_autocast_linear
(self, half_op)
tests/unit/runtime/test_autocast.py:32
Methodtest_disable_in_eval
Test that disable_in_eval parameter controls SP behavior during evaluation. When disable_in_eval=True, SP operations should be bypassed durin
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:238
Functiontest_disable_python_gc_config
(value)
tests/unit/runtime/test_ds_config_dict.py:158
Functiontest_disable_python_gc_config_default
()
tests/unit/runtime/test_ds_config_dict.py:152
Methodtest_disabled_preserves_builtin_linear
(self)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:95
Functiontest_disabled_runtime_is_noop
(monkeypatch)
tests/unit/runtime/test_determinism.py:64
Functiontest_disagreeing_replicas_are_refused
Replicas must match. Letting the last writer win would hide a corrupt shard.
tests/unit/checkpoint/test_affine_shard_map.py:608
Methodtest_discarded_plain_forward_does_not_block_checkpoint_with_gc_disabled
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1056
Methodtest_discarded_sources_the_map_does_not_name_are_still_removed
Removal follows what the replacement detached, not what the source map names. For ``module_list`` storage the map names only this rank's loca
tests/unit/v1/moe/test_autoep_unit.py:2843
Methodtest_disjoint_windows_of_one_storage_are_valid
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:414
Methodtest_dispatch_backward_returns_a_gradient_per_input
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1117
Methodtest_dispatch_forward_returns_weights_so_they_stay_differentiable
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1132
Functiontest_documentation_and_version_mixed_with_code_still_selects_tests
()
ci/test_tests_fetcher.py:208
Functiontest_documentation_and_version_only_change_can_force_all
()
ci/test_tests_fetcher.py:257
Functiontest_documentation_and_version_only_changes_select_nothing
()
ci/test_tests_fetcher.py:194
Functiontest_documentation_named_code_paths_still_run_all
()
ci/test_tests_fetcher.py:245
Methodtest_double_backward_matches_the_reference
(self, direction)
tests/unit/v1/moe/test_autoep_permute_rows.py:106
Methodtest_double_backward_raises
(self)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:188
Functiontest_double_backward_raises_instead_of_dropping_the_second_derivative
(backend, device)
tests/unit/v1/runtime/test_chunked_cross_entropy.py:223
Functiontest_double_backward_raises_instead_of_returning_wrong_values
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:325
Functiontest_double_mapping_syntax
()
tests/unit/inference/v2/model_implementations/parameters/test_mapping.py:121
Methodtest_dp_world_size_2to2
(self, baseline_ws2, tmpdir, dtype, ds_config, load_optim, use_torch_adam)
tests/unit/checkpoint/test_universal_checkpoint.py:270
Methodtest_dp_world_size_2to4
(self, baseline_ws2, tmpdir, dtype, ds_config, load_optim, use_torch_adam)
tests/unit/checkpoint/test_universal_checkpoint.py:278
Methodtest_dp_world_size_4to2
(self, baseline_ws4, tmpdir, dtype, ds_config, load_optim, use_torch_adam)
tests/unit/checkpoint/test_universal_checkpoint.py:274
Methodtest_dp_world_size_4to2_fixed_ep_size
(self, autoep_topology_baseline_ws4_ep2, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:901
Methodtest_dp_world_size_4to8_and_autoep_size_2to4
(self, autoep_topology_baseline_ws4_ep2, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:917
Methodtest_dp_world_size_4to8_fixed_ep_size
(self, autoep_topology_baseline_ws4_ep2, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:905
Methodtest_drain_failure_preserves_original_error_and_pending_buffers
(self, monkeypatch, async_split_layer)
tests/unit/v1/moe/test_autoep_unit.py:1980
Functiontest_dtype
(dtype: torch.dtype)
tests/unit/inference/v2/modules/test_pre_rms_module.py:82
Functiontest_dtype
(dtype: torch.dtype)
tests/unit/inference/v2/modules/test_cuda_pre_ln_module.py:82
Functiontest_dtype_mismatch_raises
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:199
Functiontest_dtype_permutations
Validate (on a single problem size) that the kernel support for different data types is correct.
tests/unit/inference/v2/kernels/ragged_ops/test_ragged_embed.py:109
Functiontest_dtypes
(dtype: torch.dtype)
tests/unit/inference/v2/modules/test_cutlass_moe.py:183
Functiontest_dtypes
(shape: Iterable[int], dtype: torch.dtype)
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:44
Functiontest_dtypes
Validate data type behavior.
tests/unit/inference/v2/kernels/cutlass_ops/test_moe_gemm.py:109
Functiontest_dualpipev_schedule_runs_to_completion
Replay all ranks' instruction streams against the batched p2p protocol. Catches a schedule that deadlocks (a rank waits on a batch its peer never
tests/unit/runtime/pipe/test_pipe_schedule.py:165
Functiontest_dynamic_edge_pulls_in_moe_tests
()
ci/test_tests_fetcher.py:519
Methodtest_dynamic_gradient_offload_preserves_optimizer_input
(self)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:304
Methodtest_dynamic_offload_states_zero12
(self, included_state, pin_memory, non_blocking, zero_stage, static
tests/unit/v1/zero/test_offload_states.py:233
Methodtest_dynamic_offload_states_zero3
(self, included_state, pin_memory, non_blocking, static_offload_optimizer)
tests/unit/v1/zero/test_offload_states.py:389
Functiontest_dynamic_scaler_is_not_double_reported
DynamicLossScaler overrides update_scale and logs the skip itself.
tests/unit/runtime/half_precision/test_static_loss_scale_overflow.py:37
Functiontest_dynamo_guard_detection_is_false_outside_guard_stack
()
tests/unit/v1/compile/test_z3_eager_fallback.py:89
Functiontest_dynamo_guard_detection_is_true_inside_guard_module_stack
()
tests/unit/v1/compile/test_z3_eager_fallback.py:93
Functiontest_e2e_squad_deepspeed_base
(tmpdir)
tests/model/BingBertSquad/test_e2e_squad.py:56
Functiontest_e2e_squad_deepspeed_zero
(tmpdir)
tests/model/BingBertSquad/test_e2e_squad.py:92
Functiontest_e2e_swiglu_experts_matches_native_grouped_mm
()
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:357
Methodtest_each_scope_is_new
(self)
tests/unit/module_inject/test_auto_ep_comm.py:168
Methodtest_eager_model_parameters_are_remapped
Config-built and callable optimizers receive ``model_parameters`` only after AutoEP. An eager flat or grouped list therefore needs the same so
tests/unit/v1/moe/test_autoep_unit.py:2650
Functiontest_easy_balance_balanced
()
tests/unit/runtime/utils/test_partition.py:141
Functiontest_easy_balance_uniform
()
tests/unit/runtime/utils/test_partition.py:132
Functiontest_elapsed_is_latest_interval_and_elapsed_total_is_sum
(run_matmuls)
tests/unit/utils/test_timer.py:51
Methodtest_elastic_checkpoint_change_dp
(self, ws4_model_checkpoint, class_tmpdir, elastic_save, elastic_load,
tests/unit/checkpoint/test_zero_optimizer.py:345
Methodtest_elastic_checkpoint_fixed_dp
(self, tmpdir, elastic_save, elastic_load, load_optim)
tests/unit/checkpoint/test_zero_optimizer.py:289
Functiontest_elastic_checkpoint_is_deprecated_for_zero3
(monkeypatch)
tests/unit/checkpoint/test_zero_optimizer.py:694
Functiontest_elastic_dp_change_repartitions_masters_and_drops_moments
(dp2_checkpoint)
tests/unit/checkpoint/test_fp32_master_only.py:223
Functiontest_elementwise_broadcast_flops
An elementwise op costs one flop per element of its broadcast result, and broadcasting lines the operand shapes up from the trailing dimension.
tests/unit/profiling/flops_profiler/test_flops_profiler.py:250
Functiontest_eligible_follows_unsafe_view_to_the_tensor_it_aliases
aten._unsafe_view declares a fresh tensor return but hands back a view. AOTAutograd emits it after nearly every matmul. Reading only the schema,
tests/unit/v1/compile/test_offload_activation.py:613
Functiontest_eligible_includes_saved_view_when_base_is_not_saved
()
tests/unit/v1/compile/test_offload_activation.py:491
Functiontest_eligible_skips_a_view_of_a_module_constant
A get_attr reads a tensor the GraphModule owns for the life of the process. Attention masks and rotary embedding tables arrive this way. The stor
tests/unit/v1/compile/test_offload_activation.py:590
Functiontest_eligible_skips_a_view_whose_elements_overlap
()
tests/unit/v1/compile/test_offload_activation.py:516
Functiontest_eligible_skips_a_zero3_gathered_parameter
A gathered weight reaches the forward graph through an aliasing op, and must not be moved. zero3_compile.add_gather_and_release fuses a narrowing
tests/unit/v1/compile/test_offload_activation.py:559
Functiontest_eligible_skips_saved_view_when_base_is_also_saved
()
tests/unit/v1/compile/test_offload_activation.py:504
Methodtest_embedding_rowwise_plan_preserves_compile_compatibility
(self, explicit_vocab_parallel)
tests/unit/compile/test_tp_compile.py:156
Functiontest_empty_cache_runs_once_per_phase
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:272
Methodtest_empty_comet
(self)
tests/unit/monitor/test_monitor.py:153
Functiontest_empty_cpu_like_pins_via_accelerator
(monkeypatch, use_pin_memory)
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:381
Methodtest_empty_csv_monitor
(self)
tests/unit/monitor/test_monitor.py:96
Methodtest_empty_expert_grad_rows_are_cleared_without_copying_a_full_grad
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:190
Methodtest_empty_grad
(self)
tests/unit/runtime/half_precision/test_fp16.py:94
Functiontest_empty_input
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:88
Methodtest_empty_list_keeps_old_behavior
(self, zero_stage)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:190
Methodtest_empty_model_returns_empty_info
(self)
deepspeed/sequence/test_autosp.py:136
Methodtest_empty_param_groups
(self, dtype, use_client_optimizer, empty_weight_group)
tests/unit/v1/zero/test_zero.py:2144
Functiontest_empty_pieces_count_against_piece_budget
(side)
tests/unit/checkpoint/test_affine_transfer_plan.py:555
Methodtest_empty_plan
An empty plan has nothing to convert, so the caller should fall back rather than silently partition nothing.
tests/unit/module_inject/test_tp_plan_converter.py:73
Functiontest_empty_rank_shard_is_representable
()
tests/unit/checkpoint/test_autoep_affine.py:140
Methodtest_empty_sequence
(self)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:179
Methodtest_empty_shard_and_fully_masked_local_support
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:784
Methodtest_empty_shard_does_not_desynchronize_ranks
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:711
Methodtest_empty_tensorboard
(self)
tests/unit/monitor/test_monitor.py:37
Functiontest_empty_token_batch
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:294
Functiontest_empty_total_is_safe
All-empty groups produce a well-formed zero-row output and zero weight grad.
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:326
Methodtest_empty_tp_plan
(self)
tests/unit/runtime/test_tp_plan_extraction.py:50
Methodtest_empty_wandb
(self)
tests/unit/monitor/test_monitor.py:67
Functiontest_enable_cuda_graph_alias_and_new_key_conflict
()
tests/unit/hybrid_engine/test_he_graph.py:287
Functiontest_enable_cuda_graph_alias_migrates_value
()
tests/unit/hybrid_engine/test_he_graph.py:281
Functiontest_enable_graph_capture_defaults_false
()
tests/unit/hybrid_engine/test_he_graph.py:273
Functiontest_enable_graph_capture_direct
()
tests/unit/hybrid_engine/test_he_graph.py:277
Functiontest_end_backward_depends_on_all_reduce_nodes
()
tests/unit/v1/compile/test_compile_fx.py:16
Methodtest_engine_and_module_branches_match_manual_reference
(self)
tests/unit/runtime/zero/test_zero_shared_loss_gradient.py:97
Methodtest_engine_backward_still_works
(self, stage)
tests/unit/v1/zero/test_zero_torch_func.py:109
Methodtest_engine_boundary_restored_and_step_works_on_exit
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:610
Functiontest_engine_disable_python_gc_false_preserves_existing_state
(monkeypatch, initial_gc_enabled)
tests/unit/runtime/test_python_gc.py:99
Functiontest_engine_disable_python_gc_true_acquires_manager_without_autoep
(monkeypatch)
tests/unit/runtime/test_python_gc.py:76
Functiontest_engine_factory_hybrid_requires_student_engine
()
tests/unit/runtime/rollout/test_rollout_interface.py:239
Functiontest_engine_factory_unknown_raises
()
tests/unit/runtime/rollout/test_rollout_interface.py:232
Methodtest_engine_getter_returns_config_value
(self)
tests/unit/v1/test_engine_log_level.py:30
Methodtest_engine_getter_returns_config_value
(self, gradient_clipping)
tests/unit/v1/half_precision/test_gradient_clipping_default.py:27
Functiontest_engine_pairs_shared_prefill_cache_tensors
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1554
Methodtest_engine_rejects_unsupported_modes
(self, monkeypatch, condition, match)
tests/unit/v1/moe/test_autoep_unit.py:1386
← previousnext →12,101–12,200 of 14,579, ranked by callers