MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_narrow_dtypes_preserved
(self, zero_stage, dtype)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:178
Functiontest_narrow_of_locked_buffer_is_pinned
()
tests/unit/v1/nvme/test_pinned_manager.py:24
Methodtest_native_async_offload_destroy_synchronizes_before_unpin
(self, stage, monkeypatch)
tests/unit/v1/pin_memory/test_destroy_unpin.py:160
Methodtest_native_destroy_frees_offload_states_pins
(self, stage)
tests/unit/v1/pin_memory/test_destroy_unpin.py:135
Methodtest_native_destroy_frees_optimizer_pins
(self, stage)
tests/unit/v1/pin_memory/test_destroy_unpin.py:92
Functiontest_native_device_registration_and_unpin
(monkeypatch, native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:152
Functiontest_native_device_registration_disabled
(monkeypatch, native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:170
Methodtest_native_etp_and_folded_experts_share_global_clipping
(self, zero_stage, folded)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:365
Methodtest_native_fused_row_weighting_backward_reaches_router
A wrong weight gradient must not disappear between DeepEP and the router.
tests/unit/v1/moe/test_autoep_deepep_parity.py:592
Methodtest_native_generation_after_training
(self)
tests/unit/hybrid_engine/test_he_opt_cache.py:18
Functiontest_native_repeat_kv_cache_fp16_reverse_copy
Exercise the native reverse copy with multiple source cache rows.
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1461
Methodtest_native_stage3_param_offload_frees_optimizer_pins
(self)
tests/unit/v1/pin_memory/test_destroy_unpin.py:112
Methodtest_nd_strided_pieces_land_in_the_target_map
(self, shape)
tests/unit/checkpoint/test_affine_transfer_executor.py:527
Methodtest_nd_tiles_fit_a_small_packed_budget_and_preserve_guards
(self, shape)
tests/unit/checkpoint/test_affine_transfer_executor.py:507
Functiontest_nebula_config_is_rejected
()
tests/unit/runtime/test_ds_config_dict.py:290
Methodtest_needs_scaler_with_bf16
Test that needs_scaler() correctly identifies that bf16 does NOT require scaling
tests/unit/v1/zero/test_zero_user_backward.py:1087
Methodtest_needs_scaler_with_fp16
Test that needs_scaler() correctly identifies when scaling is required with fp16
tests/unit/v1/zero/test_zero_user_backward.py:1027
Functiontest_negative_logits
Ensure that scores/values are propagated correctly when all the logits are negative. An earlier implementation of the scoring would return Na
tests/unit/inference/v2/kernels/ragged_ops/test_top_k_gating.py:107
Functiontest_negative_max_ragged_batch_size
()
tests/unit/inference/v2/ragged/test_manager_configs.py:26
Functiontest_negative_max_ragged_sequence_count
()
tests/unit/inference/v2/ragged/test_manager_configs.py:38
Functiontest_negative_max_tracked_sequences
()
tests/unit/inference/v2/ragged/test_manager_configs.py:14
Functiontest_nest_and_plan_a_scalar_parameter
()
tests/unit/checkpoint/test_zero_affine.py:188
Functiontest_nest_describes_a_contiguous_storage_run_as_a_few_boxes
()
tests/unit/checkpoint/test_zero_affine.py:137
Functiontest_nest_describes_zero_storage_of_a_column_split
(partition)
tests/unit/checkpoint/test_zero_affine.py:129
Functiontest_nest_keeps_boxes_dense_in_every_replica
()
tests/unit/checkpoint/test_zero_affine.py:178
Functiontest_nest_keeps_fused_sub_parameters_apart
()
tests/unit/checkpoint/test_zero_affine.py:167
Functiontest_nest_merges_holders_of_replicated_layout_shards_split_at_different_places
()
tests/unit/checkpoint/test_zero_affine.py:153
Functiontest_nest_rejects_storage_that_does_not_match_the_layout
()
tests/unit/checkpoint/test_zero_affine.py:228
Methodtest_nested_autocast
(self, enable, zero_stage, dtype)
tests/unit/v1/zero/test_zero_autocast.py:189
Methodtest_nested_coalesce_grad_reduction_inside_no_sync
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:553
Functiontest_nested_depth_correct
Verify correct count and paths at 3 layers deep.
tests/unit/module_inject/test_tp_partition_config_path.py:144
Functiontest_nested_managers_unpatch_on_outer_exit
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:143
Methodtest_nested_no_sync_outer_coalesce_grad_reduction
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:542
Methodtest_nested_non_reentrant_checkpoint_matches_no_checkpoint
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1126
Methodtest_nested_parallel_init
(self, tmp_path)
tests/unit/runtime/zero/test_zero_nesting_init.py:88
Functiontest_nested_storage_plans_into_another_layout
()
tests/unit/checkpoint/test_zero_affine.py:205
Methodtest_nesting_init
(self)
tests/unit/runtime/zero/test_zero_nesting_init.py:40
Methodtest_new_class_declared_inside_nesting_init
(self)
tests/unit/runtime/zero/test_zero_dynamic_class.py:38
Methodtest_new_class_declared_nesting_init
(self)
tests/unit/runtime/zero/test_zero_dynamic_class.py:16
Methodtest_new_enough_nccl_passes
(self)
tests/unit/module_inject/test_auto_ep_comm.py:289
Functiontest_new_fallback_owner_drops_previous_owner
()
tests/unit/v1/compile/test_z3_eager_fallback.py:321
Functiontest_new_invalid_or_mismatched_placement_is_rejected
(placement)
tests/unit/checkpoint/test_autoep_zero3_metadata.py:73
Functiontest_new_test_file_is_selected
()
ci/test_tests_fetcher.py:480
Methodtest_newton_schulz_runs_at_stage_zero
Every stage-0 wrapper: unwrapped for fp32, FP16_UnfusedOptimizer for bf16 and fp16. Each hands `step` the weight itself rather than a flat pa
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:102
Methodtest_newton_schulz_runs_on_the_supported_stages
The positive control, and the assertion the existing tests were missing. They check that training progresses, which SGD does too. Counting th
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:136
Methodtest_newton_schulz_runs_once_per_matrix_per_step
(self, monkeypatch)
tests/unit/v1/ops/muon/test_muon_zero3_grad_accum.py:110
Methodtest_no_args
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:550
Methodtest_no_autocast_leak_into_backward
When forward runs without autocast, an outer autocast during backward must not affect gradient dtype.
tests/unit/v1/zero/test_zero_functorch_linear.py:166
Functiontest_no_bias
Validate bias activation kernel with no bias.
tests/unit/inference/v2/kernels/core_ops/test_bias_activation.py:98
Methodtest_no_context_token_passthrough
When there are no IMG_CONTEXT tokens the fused output must equal the text.
tests/unit/v1/sequence_parallelism/test_autosp_equivalence.py:305
Methodtest_no_context_tokens_returns_text_unchanged
When there are no IMG_CONTEXT tokens the output must equal text_embeds.
deepspeed/sequence/test_autosp.py:564
Functiontest_no_cuda_arch_in_checkarch
()
tests/unit/ops/deepspeed4science/test_evoformer_attn_builder.py:50
Methodtest_no_discarded_model_sized_gradient
(self, pin_memory)
tests/unit/v1/zero/test_reflow.py:1617
Functiontest_no_ds_arguments
()
tests/unit/launcher/test_ds_arguments.py:30
Functiontest_no_ds_arguments_no_ds_parser
()
tests/unit/launcher/test_ds_arguments.py:18
Functiontest_no_ds_config_argument
()
tests/unit/launcher/test_ds_arguments.py:63
Functiontest_no_ds_enable_argument
()
tests/unit/launcher/test_ds_arguments.py:46
Functiontest_no_ds_parser
()
tests/unit/launcher/test_ds_arguments.py:80
Methodtest_no_ep_group
(self, monkeypatch)
tests/unit/v1/moe/test_moe.py:364
Functiontest_no_error_for_genuine_single_process
(env)
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:25
Functiontest_no_error_when_explicit_group_supplied
()
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:34
Functiontest_no_error_when_group_actually_shards
()
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:29
Methodtest_no_gather_handle_wait_is_idempotent
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:61
Methodtest_no_grad_checkpoint_input_direct_backward_releases
Direct Tensor.backward must run the no-grad-input checkpoint cleanup after each microbatch.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:353
Methodtest_no_grad_checkpoint_input_scaled_backward_releases
engine.scale(loss).backward() must also drain no-grad checkpoint leftovers.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:368
Methodtest_no_grad_input_accumulation
(self, use_reentrant, dtype, param_persistence_threshold)
tests/unit/v1/zero/test_zero_user_backward.py:1806
Methodtest_no_grad_input_error
(self)
tests/unit/runtime/zero/test_zero_leaf_module.py:417
Methodtest_no_image_token_passthrough
When there are no image placeholders the SP fused output must equal the sharded text after padding/scatter (all-text path).
tests/unit/v1/sequence_parallelism/test_autosp_equivalence.py:206
Methodtest_no_image_token_returns_text_unchanged
When input_ids has no placeholder, output equals text_embeds exactly.
deepspeed/sequence/test_autosp.py:437
Methodtest_no_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:475
Methodtest_no_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:513
Methodtest_no_low_precision_when_disabled
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:60
Methodtest_no_map_is_built_and_nothing_is_stashed_when_not_requested
The default path must hold no reference to the discarded pre-shard expert weights.
tests/unit/v1/moe/test_autoep_unit.py:2990
Methodtest_no_overflow
(self, zero_stage, offload_optimizer)
tests/unit/runtime/half_precision/test_zero_optim_overflow.py:39
Methodtest_no_overflow
(self, zero_stage, offload_optimizer, gradient_clipping)
tests/unit/runtime/half_precision/test_zero_optim_overflow.py:243
Methodtest_no_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:31
Methodtest_no_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:167
Methodtest_no_padding_when_divisible
When fused_len is already divisible, no extra tokens should be added.
deepspeed/sequence/test_autosp.py:334
Functiontest_no_progress_watchdog_enforces_deadline_after_output_eof
()
ci/test_torch_latest.py:1170
Functiontest_no_progress_watchdog_enforces_deadline_after_parent_exit
()
ci/test_torch_latest.py:1153
Functiontest_no_progress_watchdog_kills_sigterm_resistant_descendant
()
ci/test_torch_latest.py:1183
Functiontest_no_res_add
()
tests/unit/inference/v2/modules/test_pre_rms_module.py:87
Functiontest_no_res_add
()
tests/unit/inference/v2/modules/test_cuda_pre_ln_module.py:87
Methodtest_no_tokens_at_all
(self)
tests/unit/v1/moe/test_autoep_permute_rows.py:140
Methodtest_no_tp_plan_model
(self)
tests/unit/runtime/test_tp_plan_extraction.py:44
Functiontest_no_truncated_paths
Ensure paths are never truncated to just the immediate parent prefix.
tests/unit/module_inject/test_tp_partition_config_path.py:129
Methodtest_no_vision_token_passthrough
When there are no vision_start/end tokens the fused output must equal the text.
tests/unit/v1/sequence_parallelism/test_autosp_equivalence.py:402
Methodtest_no_vision_tokens_returns_text_unchanged
When there are no vision_start/end tokens the output must equal text_embeds.
deepspeed/sequence/test_autosp.py:674
Methodtest_no_weight_copies_installed
Injection must not materialize fused weight buffers.
tests/unit/module_inject/test_segment_ki_kernels.py:356
Functiontest_non_attention_parameters_are_left_on_the_full_matrix_path
()
tests/unit/runtime/zero/test_per_head_muon.py:225
Methodtest_non_contiguous_incoming_gradients
(self)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:154
Functiontest_non_contiguous_input
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:102
Functiontest_non_contiguous_non_uniform_placement_preserves_local_order
()
tests/unit/checkpoint/test_autoep_affine.py:48
Functiontest_non_contiguous_rank_numbers_are_two_namespaces_not_one
Ranks 3 and 9 are addresses within a layout, not a world size or a process id.
tests/unit/checkpoint/test_affine_transfer_plan.py:606
Methodtest_non_divisible
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:85
Functiontest_non_dynamic_configs_get_the_reporting_scaler
bf16 and fp32 never get a DynamicLossScaler, so the static path is the only one.
tests/unit/runtime/half_precision/test_static_loss_scale_overflow.py:51
Functiontest_non_identity_scale_still_unscales
()
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:53
Methodtest_non_member_irecv_preserves_native_return
(self)
tests/unit/comm/test_dist.py:388
Methodtest_non_reentrant_checkpointing_does_not_need_input_grads
(self, mixed_param_model, simple_config)
tests/unit/pipe/test_pipe_module.py:165
Methodtest_non_reentrant_checkpointing_replays_the_forward_dispatch_layout
A non-reentrant recompute keeps the forward's nodes and handle, so it must reuse that layout. DeepEP's received order depends on arrival timi
tests/unit/v1/moe/test_autoep_deepep_parity.py:723
← previousnext →13,701–13,800 of 15,468, ranked by callers