Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Method
test_free_activation_mode
Test that eagerly free activations work correctly and the threshold is configurable
tests/unit/v1/compile/test_compile_zero.py:207
Method
test_frozen_inputs_with_trainable_experts_still_replay_the_layout
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1261
Method
test_frozen_parameter_without_backward_consumer_releases_at_last_use
Frozen param with no backward consumer should release at its last use, not at epilogue.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:458
Function
test_frozen_parameters_are_left_out
()
tests/unit/runtime/zero/test_muon_param_groups.py:121
Method
test_frozen_parameters_keep_their_identity_and_storage
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:689
Method
test_frozen_params
Test that models with frozen params (e.g. LoRA/PEFT) work correctly with DeepCompile
tests/unit/v1/compile/test_compile_zero.py:271
Method
test_frozen_params_are_not_mistaken_for_replaced_ones
A frozen parameter is still in the model, so it must not look like a replaced one.
tests/unit/v1/moe/test_autoep_unit.py:2636
Method
test_frozen_qwen3_initializes_and_runs
A frozen model, such as a distillation teacher, has no gradients to reduce. Registering the all-reduce hook on a parameter that does not requ
tests/unit/v1/autotp/test_tp_plan_e2e.py:419
Method
test_frozen_replacements_keep_their_param_group
A replacement inherits its source's requires_grad. A frozen one still has to keep the param group its frozen source held, or a staged fine-tun
tests/unit/v1/moe/test_autoep_unit.py:2660
Method
test_frozen_weight_gradients_are_not_computed
(self, gate_up_impl, trainable, record_property)
tests/unit/v1/moe/test_autoep_expert_activation.py:673
Function
test_frozen_weight_only_produces_hidden_grad
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:74
Method
test_frozen_weights_get_no_gradient
(self, gate_up_impl, trainable)
tests/unit/v1/moe/test_autoep_expert_activation.py:925
Function
test_full_check_refuses_a_destination_collision_of_any_stride
()
tests/unit/checkpoint/test_affine_shard_map.py:567
Function
test_full_gradient_reconstruction_uses_only_the_owned_fragment
(monkeypatch, full_accumulation_buffer)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:34
Method
test_full_mask_matches_reference
(self)
tests/unit/v1/compile/test_compile_autosp.py:1058
Method
test_full_pipeline_visual_to_fused
SP-wrapped ViT -> InternVLFusionAdapter must produce fused output numerically equivalent to the single-device splice reference.
tests/unit/v1/sequence_parallelism/test_autosp_integration.py:168
Method
test_full_pipeline_visual_to_fused
SP-wrapped ViT -> Qwen2VLFusionAdapter must produce fused output numerically equivalent to the single-device splice reference.
tests/unit/v1/sequence_parallelism/test_autosp_integration.py:235
Function
test_fully_composed
()
tests/unit/inference/v2/modules/test_blocked_attn.py:188
Function
test_fully_composed
()
tests/unit/inference/v2/kernels/ragged_ops/test_blocked_flash.py:194
Method
test_functionality
(self, batch_size, model_name)
tests/unit/hybrid_engine/test_he_llama.py:86
Method
test_functionality
(self, batch_size, model_name)
tests/unit/hybrid_engine/test_he_all.py:84
Method
test_fused_adam_equal
(self, dtype, model_size)
tests/unit/ops/adam/test_cpu_adam.py:316
Function
test_fused_adam_fallback_matches_torch_adamw
(monkeypatch)
tests/unit/v1/accelerator/test_klxpu_accelerator.py:57
Function
test_fused_adam_matches_reference
(adam_w_mode, dtype)
tests/unit/ops/adam/test_adamw.py:105
Method
test_fused_add_norm
(self)
tests/unit/module_inject/test_segment_ki_kernels.py:266
Method
test_fused_combine_accepts_folded_tensor_parallelism
(self)
tests/unit/v1/moe/test_autoep_unit.py:399
Method
test_fused_combine_accepts_the_standard_path
(self)
tests/unit/v1/moe/test_autoep_unit.py:439
Method
test_fused_combine_rejects_deepep
(self)
tests/unit/v1/moe/test_autoep_unit.py:418
Method
test_fused_combine_rejects_expert_tensor_parallelism
(self)
tests/unit/v1/moe/test_autoep_unit.py:408
Method
test_fused_combine_requires_post_score_apply
(self, score_apply, spec_score_apply)
tests/unit/v1/moe/test_autoep_unit.py:430
Function
test_fused_engine_names_what_it_cannot_run
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:146
Method
test_fused_gate_up_source_feeds_both_w1_and_w3
With no separate w3 name the single fused tensor is the source for both.
tests/unit/v1/moe/test_autoep_unit.py:3024
Method
test_fused_gradnorm
(self, monkeypatch)
tests/unit/runtime/half_precision/test_fp16.py:219
Method
test_fused_kernel_matches_plain_pytorch
(self, activation)
tests/unit/v1/moe/test_autoep_expert_activation.py:283
Method
test_fused_linear_loss_rejects_unsupported_configurations
(self)
tests/unit/v1/autotp/test_autotp_training.py:681
Method
test_fused_linear_loss_skips_logits_only_when_hf_computes_loss
(self, tie_word_embeddings)
tests/unit/v1/autotp/test_autotp_training.py:620
Method
test_fused_lion_equal
(self, dtype, model_size)
tests/unit/ops/lion/test_cpu_lion.py:102
Method
test_fused_matches_eager_through_a_full_step
(self, checkpoint_activations, seed)
tests/unit/v1/moe/test_autoep_fused_parity.py:301
Method
test_fused_matches_eager_with_autotp_folding
(self, zero_stage, checkpoint_activations)
tests/unit/v1/moe/test_autoep_fused_parity.py:347
Method
test_fused_matches_eager_without_expert_parallelism
(self)
tests/unit/v1/moe/test_autoep_fused_parity.py:323
Function
test_fused_qkv_architectures_tag_nothing
These name their MLP matrices `dense_h_to_4h` / `dense_4h_to_h` and their output proj `dense`. Matching `dense` anywhere in the path tagged all t
tests/unit/runtime/zero/test_per_head_muon.py:297
Function
test_fused_qkv_is_skipped
One matrix holding Q, K and V does not split into uniform heads under GQA.
tests/unit/runtime/zero/test_per_head_muon.py:232
Method
test_fused_qkv_matches_module_injection
(self)
tests/unit/compile/test_tp_compile.py:345
Method
test_fused_replacement_preserves_frozen_experts_and_trainable_router
(self)
tests/unit/v1/moe/test_autoep_unit.py:2140
Function
test_fused_rms_norm_fail_fast_dtype_guard
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:360
Function
test_fused_rms_norm_fail_fast_guards_on_cpu
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:350
Method
test_fused_rms_norm_handles_head_major_non_contiguous_input
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:819
Method
test_fused_rms_norm_handles_strided_weight
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:830
Method
test_fused_rms_norm_large_and_tiny_magnitudes
(self, dtype, scale)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:825
Method
test_fused_rms_norm_matches_hf_forward_and_backward
(self, dtype, shape)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:781
Function
test_fused_rms_norm_narrow_tile_size
(monkeypatch, n_rows, n_cols, block_m)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:744
Method
test_fused_rms_norm_narrow_tiles
(self, monkeypatch, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:786
Method
test_fused_rms_norm_rejects_double_backward
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:844
Method
test_fused_rms_norm_rejects_unsupported_inputs
(self, hidden_dtype, weight_dtype, width)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:840
Method
test_fused_rms_norm_weight_gradient_is_deterministic
(self, width)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:814
Method
test_fused_rms_norm_width_one_has_nonzero_input_gradient
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:809
Method
test_fused_row_weighting_accepts_the_deepep_path
(self)
tests/unit/v1/moe/test_autoep_unit.py:341
Method
test_fused_row_weighting_fails_before_the_router_when_unsupported
(self)
tests/unit/module_inject/test_auto_ep_comm.py:659
Function
test_fused_row_weighting_guards_name_unsupported_inputs
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:228
Method
test_fused_row_weighting_handles_empty_experts_and_skewed_routing
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:662
Method
test_fused_row_weighting_matches_eager_for_each_score_boundary
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:629
Function
test_fused_row_weighting_matches_eager_including_gradients
(n_rows, hidden, row_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:164
Method
test_fused_row_weighting_rejects_ep_size_one
(self)
tests/unit/v1/moe/test_autoep_unit.py:330
Method
test_fused_row_weighting_rejects_non_deepep_backend
(self)
tests/unit/v1/moe/test_autoep_unit.py:321
Method
test_fused_row_weighting_supports_reentrant_activation_checkpointing
(self)
tests/unit/v1/moe/test_autoep_deepep_parity.py:639
Method
test_fused_row_weighting_uses_the_same_boundaries
(self)
tests/unit/module_inject/test_auto_ep_comm.py:435
Function
test_fused_row_weighting_weight_gradient_is_as_accurate_as_eager
The weight gradient sums the same FP32 products as eager in another order; it must be no less accurate.
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:202
Function
test_fused_weighted_restore_matches_eager_including_gradients
(top_k, hidden, row_dtype, score_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:52
Function
test_fused_weighted_restore_rounds_fp32_product_before_accumulation
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:127
Function
test_fused_weighted_restore_walks_wide_hidden_deterministically
(num_tokens, top_k, hidden)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:100
Method
test_fusing_allgather_and_autocast
Test that allgather and autocast can be correctly fused with DeepCompile
tests/unit/v1/compile/test_compile_zero.py:238
Function
test_fwd_insertion_schedules_all_tasks_under_forced_budget
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:189
Function
test_fwd_keeps_resident_only_what_the_budget_has_room_for
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:754
Function
test_fwd_moves_everything_when_the_profile_is_missing
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:402
Function
test_fwd_no_op_when_memory_fits
(ample_budget)
tests/unit/v1/compile/test_offload_activation.py:744
Function
test_fwd_offloads_saved_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:355
Function
test_fwd_rerun_replans_instead_of_stacking
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:779
Function
test_fwd_skips_parameters
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:416
Function
test_fwd_skips_small_tensors
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:711
Function
test_fwd_skips_symbolic_shapes
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:721
Function
test_fwd_skips_values_already_on_the_host
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:684
Function
test_fwd_skips_values_saved_twice
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:443
Function
test_fwd_skips_values_that_alias_another_tensor
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:458
Function
test_fwd_skips_values_that_are_not_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:697
Function
test_fwd_skips_values_the_caller_also_receives
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:428
Function
test_fwd_without_partition_info_is_skipped
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:770
Method
test_ga_greater_than_one_offload_unchanged
(self, zero_stage)
tests/unit/v1/zero/test_zero2_offload_multi_backward.py:139
Function
test_gate_off_collects_everything
()
tests/unit/test_multirank_selection.py:146
Function
test_gate_on_keeps_only_multirank_items
()
tests/unit/test_multirank_selection.py:152
Method
test_gate_up_fused_weight_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:924
Method
test_gate_up_gather_restores_sub_param_order
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:901
Function
test_gate_up_pack_publishes_sub_param_metadata
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:373
Function
test_gate_up_partition_covers_the_whole_weight
()
tests/unit/module_inject/test_fused_repartition.py:31
Method
test_gate_up_single_param_bias_gather_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:950
Function
test_gated_ffn_sharding
Test the same cases assuming a gated regime.
tests/unit/inference/v2/model_implementations/sharding/test_mlp_sharding.py:88
Method
test_gated_norm
GDN z-gated norm kernel vs reference: (w * rms(x)) * silu(z).
tests/unit/module_inject/test_segment_ki_kernels.py:77
Function
test_gated_silu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_geglu.py:62
Method
test_gather
(self)
tests/unit/runtime/test_runtime_utils.py:36
Function
test_gather_16bit_params_on_model_save
(gather_weights_key)
tests/unit/runtime/test_ds_config_dict.py:214
Function
test_gather_from_tp_region_supports_uneven_shards
()
tests/unit/compile/test_tp_compile.py:134
← previous
next →
13,001–13,100 of 15,468, ranked by callers