MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_diff_lrscheler_and_callable_onecyclelr_steplr
(self, scheduler_type)
tests/unit/runtime/test_ds_initialize.py:450
Functiontest_different_logical_shapes_are_not_a_reshape
()
tests/unit/checkpoint/test_affine_transfer_plan.py:625
Methodtest_different_ranks_return_different_slices
Rank 0 and rank 1 must return different slices of the fused sequence.
deepspeed/sequence/test_autosp.py:349
Methodtest_direct_backward_raises_without_functorch
(self)
tests/unit/v1/zero/test_zero_torch_func.py:125
Methodtest_direct_call_rejects_unsupported_inputs
(self, case)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:225
Methodtest_direct_init_preserves_quantized_linear_wrapper
(self)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:150
Methodtest_direct_init_reinstalls_wrapper_without_replacing_backup
(self)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:133
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:656
Methodtest_discarded_plain_forward_does_not_block_checkpoint_with_gc_disabled
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1242
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:2914
Methodtest_disjoint_windows_of_one_storage_are_valid
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:625
Methodtest_dispatch_backward_returns_a_gradient_per_input
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1303
Methodtest_dispatch_forward_returns_weights_so_they_stay_differentiable
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1319
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
Methodtest_double_loss_is_summed_in_double
(self)
tests/unit/v1/compile/test_compile_autosp.py:678
Functiontest_double_mapping_syntax
()
tests/unit/inference/v2/model_implementations/parameters/test_mapping.py:121
Functiontest_dp_prefill_groups_requests_and_matches_eager
(cache_support, capacity, prefill_forwards)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:2326
Functiontest_dp_prefill_rejects_single_prompt_above_forward_limit
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:2361
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:2038
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:239
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:114
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:49
Functiontest_dtypes
Validate data type behavior.
tests/unit/inference/v2/kernels/cutlass_ops/test_moe_gemm.py:114
Methodtest_dual_gemv_silu_mul
(self)
tests/unit/module_inject/test_segment_ki_kernels.py:231
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_dx_tolerance_accepts_ulp_or_small_absolute_error
()
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:135
Functiontest_dx_tolerance_still_rejects_large_errors_and_nonfinite_values
(case)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:151
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:346
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:470
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:173
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:2721
Functiontest_easy_balance_balanced
()
tests/unit/runtime/utils/test_partition.py:141
Functiontest_easy_balance_uniform
()
tests/unit/runtime/utils/test_partition.py:132
Methodtest_edits_drive_ready_persist_and_overflow
(self, optimizer_kind, precision, clip)
tests/unit/v1/zero/test_reflow.py:1364
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:229
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_batch_summary_keeps_its_keys
()
tests/unit/checkpoint/test_affine_transfer_analysis.py:86
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:192
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:90
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:2381
Functiontest_empty_pieces_count_against_piece_budget
(side)
tests/unit/checkpoint/test_affine_transfer_plan.py:666
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:288
← previousnext →12,701–12,800 of 15,468, ranked by callers