Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
14,579 in github.com/deepspeedai/DeepSpeed
⨍
Functions
14,579
◇
Types & classes
2,353
↳
Endpoints
92
Function
test_narrow_of_locked_buffer_is_pinned
()
tests/unit/v1/nvme/test_pinned_manager.py:24
Method
test_native_async_offload_destroy_synchronizes_before_unpin
(self, stage, monkeypatch)
tests/unit/v1/pin_memory/test_destroy_unpin.py:160
Method
test_native_destroy_frees_offload_states_pins
(self, stage)
tests/unit/v1/pin_memory/test_destroy_unpin.py:135
Method
test_native_destroy_frees_optimizer_pins
(self, stage)
tests/unit/v1/pin_memory/test_destroy_unpin.py:92
Function
test_native_device_registration_and_unpin
(monkeypatch, native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:152
Function
test_native_device_registration_disabled
(monkeypatch, native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:170
Method
test_native_etp_and_folded_experts_share_global_clipping
(self, zero_stage, folded)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:365
Method
test_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:534
Method
test_native_generation_after_training
(self)
tests/unit/hybrid_engine/test_he_opt_cache.py:18
Function
test_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:1367
Method
test_native_stage3_param_offload_frees_optimizer_pins
(self)
tests/unit/v1/pin_memory/test_destroy_unpin.py:112
Method
test_nd_strided_pieces_land_in_the_target_map
(self, shape)
tests/unit/checkpoint/test_affine_transfer_executor.py:316
Method
test_nd_tiles_fit_a_small_packed_budget_and_preserve_guards
(self, shape)
tests/unit/checkpoint/test_affine_transfer_executor.py:296
Function
test_nebula_config_is_rejected
()
tests/unit/runtime/test_ds_config_dict.py:290
Method
test_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
Method
test_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
Function
test_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:102
Function
test_negative_max_ragged_batch_size
()
tests/unit/inference/v2/ragged/test_manager_configs.py:26
Function
test_negative_max_ragged_sequence_count
()
tests/unit/inference/v2/ragged/test_manager_configs.py:38
Function
test_negative_max_tracked_sequences
()
tests/unit/inference/v2/ragged/test_manager_configs.py:14
Function
test_nest_and_plan_a_scalar_parameter
()
tests/unit/checkpoint/test_zero_affine.py:188
Function
test_nest_describes_a_contiguous_storage_run_as_a_few_boxes
()
tests/unit/checkpoint/test_zero_affine.py:137
Function
test_nest_describes_zero_storage_of_a_column_split
(partition)
tests/unit/checkpoint/test_zero_affine.py:129
Function
test_nest_keeps_boxes_dense_in_every_replica
()
tests/unit/checkpoint/test_zero_affine.py:178
Function
test_nest_keeps_fused_sub_parameters_apart
()
tests/unit/checkpoint/test_zero_affine.py:167
Function
test_nest_merges_holders_of_replicated_layout_shards_split_at_different_places
()
tests/unit/checkpoint/test_zero_affine.py:153
Function
test_nest_rejects_storage_that_does_not_match_the_layout
()
tests/unit/checkpoint/test_zero_affine.py:228
Method
test_nested_autocast
(self, enable, zero_stage, dtype)
tests/unit/v1/zero/test_zero_autocast.py:189
Method
test_nested_coalesce_grad_reduction_inside_no_sync
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:553
Function
test_nested_depth_correct
Verify correct count and paths at 3 layers deep.
tests/unit/module_inject/test_tp_partition_config_path.py:144
Function
test_nested_managers_unpatch_on_outer_exit
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:143
Method
test_nested_no_sync_outer_coalesce_grad_reduction
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:542
Method
test_nested_non_reentrant_checkpoint_matches_no_checkpoint
(self)
tests/unit/module_inject/test_auto_ep_comm.py:940
Method
test_nested_parallel_init
(self, tmp_path)
tests/unit/runtime/zero/test_zero_nesting_init.py:88
Function
test_nested_storage_plans_into_another_layout
()
tests/unit/checkpoint/test_zero_affine.py:205
Method
test_nesting_init
(self)
tests/unit/runtime/zero/test_zero_nesting_init.py:40
Method
test_new_class_declared_inside_nesting_init
(self)
tests/unit/runtime/zero/test_zero_dynamic_class.py:38
Method
test_new_class_declared_nesting_init
(self)
tests/unit/runtime/zero/test_zero_dynamic_class.py:16
Method
test_new_enough_nccl_passes
(self)
tests/unit/module_inject/test_auto_ep_comm.py:284
Function
test_new_fallback_owner_drops_previous_owner
()
tests/unit/v1/compile/test_z3_eager_fallback.py:321
Function
test_new_invalid_or_mismatched_placement_is_rejected
(placement)
tests/unit/checkpoint/test_autoep_zero3_metadata.py:73
Function
test_new_test_file_is_selected
()
ci/test_tests_fetcher.py:480
Method
test_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
Method
test_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
Method
test_newton_schulz_runs_once_per_matrix_per_step
(self, monkeypatch)
tests/unit/v1/ops/muon/test_muon_zero3_grad_accum.py:110
Method
test_no_args
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:550
Method
test_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
Function
test_no_bias
Validate bias activation kernel with no bias.
tests/unit/inference/v2/kernels/core_ops/test_bias_activation.py:93
Method
test_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
Method
test_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
Function
test_no_cuda_arch_in_checkarch
()
tests/unit/ops/deepspeed4science/test_evoformer_attn_builder.py:51
Function
test_no_ds_arguments
()
tests/unit/launcher/test_ds_arguments.py:30
Function
test_no_ds_arguments_no_ds_parser
()
tests/unit/launcher/test_ds_arguments.py:18
Function
test_no_ds_config_argument
()
tests/unit/launcher/test_ds_arguments.py:63
Function
test_no_ds_enable_argument
()
tests/unit/launcher/test_ds_arguments.py:46
Function
test_no_ds_parser
()
tests/unit/launcher/test_ds_arguments.py:80
Method
test_no_ep_group
(self, monkeypatch)
tests/unit/v1/moe/test_moe.py:364
Function
test_no_error_for_genuine_single_process
(env)
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:25
Function
test_no_error_when_explicit_group_supplied
()
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:34
Function
test_no_error_when_group_actually_shards
()
tests/unit/v1/zero/test_zero_init_pg_contradiction.py:29
Method
test_no_gather_handle_wait_is_idempotent
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:61
Method
test_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
Method
test_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
Method
test_no_grad_input_accumulation
(self, use_reentrant, dtype, param_persistence_threshold)
tests/unit/v1/zero/test_zero_user_backward.py:1806
Method
test_no_grad_input_error
(self)
tests/unit/runtime/zero/test_zero_leaf_module.py:417
Method
test_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
Method
test_no_image_token_returns_text_unchanged
When input_ids has no placeholder, output equals text_embeds exactly.
deepspeed/sequence/test_autosp.py:437
Method
test_no_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:475
Method
test_no_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:513
Method
test_no_low_precision_when_disabled
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:60
Method
test_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:2919
Method
test_no_overflow
(self, zero_stage, offload_optimizer)
tests/unit/runtime/half_precision/test_zero_optim_overflow.py:39
Method
test_no_overflow
(self, zero_stage, offload_optimizer, gradient_clipping)
tests/unit/runtime/half_precision/test_zero_optim_overflow.py:243
Method
test_no_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:31
Method
test_no_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:167
Method
test_no_padding_when_divisible
When fused_len is already divisible, no extra tokens should be added.
deepspeed/sequence/test_autosp.py:334
Function
test_no_progress_watchdog_enforces_deadline_after_output_eof
()
ci/test_torch_latest.py:1170
Function
test_no_progress_watchdog_enforces_deadline_after_parent_exit
()
ci/test_torch_latest.py:1153
Function
test_no_progress_watchdog_kills_sigterm_resistant_descendant
()
ci/test_torch_latest.py:1183
Function
test_no_res_add
()
tests/unit/inference/v2/modules/test_pre_rms_module.py:87
Function
test_no_res_add
()
tests/unit/inference/v2/modules/test_cuda_pre_ln_module.py:87
Method
test_no_tokens_at_all
(self)
tests/unit/v1/moe/test_autoep_permute_rows.py:140
Method
test_no_tp_plan_model
(self)
tests/unit/runtime/test_tp_plan_extraction.py:44
Function
test_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
Method
test_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
Method
test_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
Function
test_non_attention_parameters_are_left_on_the_full_matrix_path
()
tests/unit/runtime/zero/test_per_head_muon.py:223
Method
test_non_contiguous_incoming_gradients
(self)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:154
Function
test_non_contiguous_input
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:100
Function
test_non_contiguous_non_uniform_placement_preserves_local_order
()
tests/unit/checkpoint/test_autoep_affine.py:48
Function
test_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:495
Method
test_non_divisible
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:85
Function
test_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
Function
test_non_identity_scale_still_unscales
()
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:53
Function
test_non_jit_branch_canonical_dedupe_mixed_ptx_combinations
()
tests/unit/ops/test_op_builder.py:208
Function
test_non_jit_branch_canonicalizes_mixed_ptx_variants_to_one_sm_and_one_ptx
()
tests/unit/ops/test_op_builder.py:189
Function
test_non_jit_branch_sorts_and_dedupes_gencode_flags
()
tests/unit/ops/test_op_builder.py:175
Function
test_non_jit_branch_unchanged
()
tests/unit/ops/test_op_builder.py:162
Method
test_non_member_irecv_preserves_native_return
(self)
tests/unit/comm/test_dist.py:388
Method
test_non_reentrant_checkpointing_does_not_need_input_grads
(self, mixed_param_model, simple_config)
tests/unit/pipe/test_pipe_module.py:165
← previous
next →
13,001–13,100 of 14,579, ranked by callers