MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Functiontest_floor_half_is_runnable_on_its_own
Everything the floor moves out in the forward is copied back in the backward. The planner runs at WARMUP, so the steps before it execute what the
tests/unit/v1/compile/test_offload_activation.py:198
Functiontest_floor_never_reads_below_what_was_already_observed
The profile covers the compiled forward graph; work outside it is invisible to the floor. A tiled loss drives a nested backward the profile never
tests/unit/v1/compile/test_offload_activation.py:251
Functiontest_floor_peak_agrees_across_ranks
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:297
Functiontest_floor_peak_without_distributed_is_local
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:326
Functiontest_flops_profiler_counts_shared_module_once
(shared)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:298
Methodtest_flops_profiler_in_inference
(self)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:189
Functiontest_fmt_bytes
()
tests/unit/utils/test_pin_memory_tracker.py:33
Functiontest_folded_checkpoint_metadata_rejects_unfolded_runtime
()
tests/unit/v1/moe/test_autoep_autotp_checkpoint.py:162
Methodtest_folded_entry_point_agrees
(self, monkeypatch, scenario)
tests/unit/v1/moe/test_autoep_unit.py:1759
Functiontest_folded_layer_binds_explicit_group_handles
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_runtime.py:68
Methodtest_folded_router_gate_and_layernorm_grad_match_nonfolded_zero2_baseline
(self)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:735
Functiontest_folding_metadata_records_all_mvp_axes
()
tests/unit/v1/moe/test_autoep_autotp_checkpoint.py:47
Functiontest_folding_symbols_import_without_distributed_init
()
tests/unit/v1/moe/test_autoep_autotp_folding_config.py:21
Functiontest_for_init_offloads_before_profiling
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:219
Methodtest_for_loop_matches_dense_reference
(self, activation)
tests/unit/v1/moe/test_autoep_expert_activation.py:209
Methodtest_for_loop_path_does_not_need_the_triton_kernel
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_expert_activation.py:306
Functiontest_forked_child_can_use_cuda_after_importing_deepspeed
()
tests/unit/ops/test_op_builder.py:269
Methodtest_forward
(self, batch_size, hidden_size, seq_len, heads, num_layers, is_preln, use_fp16)
tests/unit/ops/accelerators/test_accelerator_forward.py:235
Methodtest_forward_after_late_submodule_attach
Attaching a fresh ``nn.Linear`` after ``initialize`` must not crash.
tests/unit/runtime/zero/test_zero_late_module_attach.py:52
Methodtest_forward_and_backward_match_the_collective_path
(self)
tests/unit/v1/moe/test_autoep_deepep_parity.py:481
Methodtest_forward_and_backward_match_the_unsharded_layer
(self)
tests/unit/v1/autotp/test_autotp_training.py:1246
Methodtest_forward_end_to_end_shape
Full forward pass through LlavaFusionAdapter returns the correct shard shape.
deepspeed/sequence/test_autosp.py:485
Methodtest_forward_end_to_end_shape
Full forward pass returns the correct shard shape.
deepspeed/sequence/test_autosp.py:595
Methodtest_forward_end_to_end_shape
Full forward pass returns the correct shard shape.
deepspeed/sequence/test_autosp.py:705
Functiontest_forward_matches_reference
(dtype, shape)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:57
Functiontest_forward_matches_reference
(counts, K, N, dtype)
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:184
Functiontest_forward_matches_torch_grouped_mm_bf16
Match the native op exactly (bf16 is the only dtype torch._grouped_mm supports).
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:269
Methodtest_forward_moves_the_expected_slices
Slot ``i`` of this rank's output holds the slot this rank owns in rank ``i``'s input.
tests/unit/ulysses_alst/test_dim_zero_all_to_all.py:44
Functiontest_forward_real_inputs_are_graph_local
()
tests/unit/compile/test_backend.py:19
Functiontest_forward_real_inputs_fall_back_to_storage_when_local_queue_is_empty
()
tests/unit/compile/test_backend.py:29
Methodtest_forward_stochastic
(self, batch_size, hidden_size, seq_len, heads, num_layers, is_preln, use_fp16)
tests/unit/ops/accelerators/test_accelerator_forward.py:297
Methodtest_forward_with_small_bsz
(self, batch_size, small_bsz, hidden_size, seq_len, heads, num_layers, is_preln,
tests/unit/ops/accelerators/test_accelerator_forward.py:268
Methodtest_fp16_bit_exact
(self, zero_stage)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:182
Functiontest_fp16_dynamic_scale_accepts_positive_when_dynamic
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:22
Functiontest_fp16_dynamic_scale_ignored_when_fp16_disabled
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:38
Functiontest_fp16_dynamic_scale_ignored_with_static_loss_scale
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:29
Functiontest_fp16_dynamic_scale_rejects_bool
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:46
Functiontest_fp16_dynamic_scale_rejects_non_integer
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:55
Functiontest_fp16_dynamic_scale_rejects_nonpositive_when_dynamic
(field, value)
tests/unit/runtime/test_precision_config_dynamic_scale.py:14
Methodtest_fp16_enabled
(self, fp16_enabled)
tests/unit/v1/zero/test_zero.py:974
Functiontest_fp16_hidden_gradient_blocks_that_cancel_stay_finite
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:100
Methodtest_fp16_hidden_gradient_partials_that_cancel_across_ranks_stay_finite
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:298
Methodtest_fp16_host_gradient_overflow_skips_step
A sum that exceeds the fp16 range must be caught when it reaches the fp16 host gradient. With fp32 accumulation the overflow appears only in
tests/unit/v1/zero/test_zero2_offload_multi_backward.py:313
Functiontest_fp16_loss_scale_accepts_valid_values
(loss_scale)
tests/unit/runtime/test_precision_config_loss_scale.py:21
Functiontest_fp16_loss_scale_does_not_overflow
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:85
Functiontest_fp16_loss_scale_invalid_type_has_clear_error
(loss_scale)
tests/unit/runtime/test_precision_config_loss_scale.py:28
Functiontest_fp16_loss_scale_rejects_invalid_values
(loss_scale)
tests/unit/runtime/test_precision_config_loss_scale.py:15
Functiontest_fp16_product_cancelled_by_bias_stays_finite
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:114
Methodtest_fp16_trains
(self)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:513
Methodtest_fp32_adapter_with_bf16_base_params
(self)
tests/unit/runtime/zero/test_zero_autocast_mixed_dtype.py:89
Methodtest_fp32_gradient_accumulation_rejects_disabled_norm
(self)
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:170
Functiontest_fp6_quantized_linear_act_fn
(tokens: int, in_channels: int, out_channels: int, act_fn: ActivationType,
tests/unit/inference/v2/modules/test_quantized_linear_module.py:159
Functiontest_fp6_quantized_linear_act_fn_fail
(tokens: int, in_channels: int, out_channels: int, act_fn: ActivationType,
tests/unit/inference/v2/modules/test_quantized_linear_module.py:175
Functiontest_fp8_gemm_decodes_zero_and_subnormal_weights
(dtype, M)
tests/unit/ops/fp_quantizer/test_fp8_gemm.py:64
Functiontest_fp_quant
(dtype, q_bits, M)
tests/unit/ops/fp_quantizer/test_fp8_gemm.py:38
Functiontest_fp_quant
(dtype, q_bits)
tests/unit/ops/fp_quantizer/test_fp_quant.py:102
Functiontest_fp_quant_meta
(dtype)
tests/unit/ops/fp_quantizer/test_fp_quant.py:39
Functiontest_fp_quant_preserves_zero_and_subnormal_codes
(q_bits, mantissa_bits)
tests/unit/ops/fp_quantizer/test_fp_quant.py:138
Functiontest_fp_quant_selective
(dtype)
tests/unit/ops/fp_quantizer/test_fp_quant.py:66
Functiontest_fractional_block_rows_are_not_silently_coerced
()
tests/unit/v1/runtime/test_chunked_cross_entropy.py:157
Methodtest_free_activation_mode
Test that eagerly free activations work correctly and the threshold is configurable
tests/unit/v1/compile/test_compile_zero.py:207
Methodtest_frozen_inputs_with_trainable_experts_still_replay_the_layout
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1075
Methodtest_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
Functiontest_frozen_parameters_are_left_out
()
tests/unit/runtime/zero/test_muon_param_groups.py:121
Methodtest_frozen_parameters_keep_their_identity_and_storage
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:424
Methodtest_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
Methodtest_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:2565
Methodtest_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
Methodtest_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:2589
Functiontest_frozen_weight_only_produces_hidden_grad
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:74
Functiontest_full_check_refuses_a_destination_collision_of_any_stride
()
tests/unit/checkpoint/test_affine_shard_map.py:564
Functiontest_full_gradient_reconstruction_uses_only_the_owned_fragment
(monkeypatch, full_accumulation_buffer)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:34
Methodtest_full_mask_matches_reference
(self)
tests/unit/v1/compile/test_compile_autosp.py:533
Methodtest_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
Methodtest_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
Functiontest_fully_composed
()
tests/unit/inference/v2/modules/test_blocked_attn.py:188
Functiontest_fully_composed
()
tests/unit/inference/v2/kernels/ragged_ops/test_blocked_flash.py:190
Methodtest_functionality
(self, batch_size, model_name)
tests/unit/hybrid_engine/test_he_llama.py:86
Methodtest_functionality
(self, batch_size, model_name)
tests/unit/hybrid_engine/test_he_all.py:84
Methodtest_fused_adam_equal
(self, dtype, model_size)
tests/unit/ops/adam/test_cpu_adam.py:186
Functiontest_fused_adam_fallback_matches_torch_adamw
(monkeypatch)
tests/unit/v1/accelerator/test_klxpu_accelerator.py:57
Functiontest_fused_adam_matches_reference
(adam_w_mode, dtype)
tests/unit/ops/adam/test_adamw.py:105
Methodtest_fused_combine_accepts_the_standard_path
(self)
tests/unit/v1/moe/test_autoep_unit.py:391
Methodtest_fused_combine_rejects_deepep
(self)
tests/unit/v1/moe/test_autoep_unit.py:370
Methodtest_fused_combine_rejects_expert_tensor_parallelism
(self)
tests/unit/v1/moe/test_autoep_unit.py:360
Methodtest_fused_combine_rejects_folded_tensor_parallelism
(self)
tests/unit/v1/moe/test_autoep_unit.py:351
Methodtest_fused_combine_requires_post_score_apply
(self, score_apply, spec_score_apply)
tests/unit/v1/moe/test_autoep_unit.py:382
Functiontest_fused_engine_names_what_it_cannot_run
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:146
Methodtest_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:2953
Methodtest_fused_gradnorm
(self, monkeypatch)
tests/unit/runtime/half_precision/test_fp16.py:219
Methodtest_fused_kernel_matches_plain_pytorch
(self, activation)
tests/unit/v1/moe/test_autoep_expert_activation.py:281
Methodtest_fused_linear_loss_rejects_unsupported_configurations
(self)
tests/unit/v1/autotp/test_autotp_training.py:680
Methodtest_fused_linear_loss_skips_logits_only_when_hf_computes_loss
(self, tie_word_embeddings)
tests/unit/v1/autotp/test_autotp_training.py:619
Methodtest_fused_lion_equal
(self, dtype, model_size)
tests/unit/ops/lion/test_cpu_lion.py:102
Methodtest_fused_matches_eager_through_a_full_step
(self, checkpoint_activations, seed)
tests/unit/v1/moe/test_autoep_fused_parity.py:232
Methodtest_fused_matches_eager_without_expert_parallelism
(self)
tests/unit/v1/moe/test_autoep_fused_parity.py:254
Functiontest_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:295
Functiontest_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:230
Methodtest_fused_qkv_matches_module_injection
(self)
tests/unit/compile/test_tp_compile.py:345
Methodtest_fused_replacement_preserves_frozen_experts_and_trainable_router
(self)
tests/unit/v1/moe/test_autoep_unit.py:2069
← previousnext →12,301–12,400 of 14,579, ranked by callers