MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_fans_label_each_message_by_its_direction
(self)
tests/unit/checkpoint/test_affine_transfer_calibration.py:296
Functiontest_fast_free_schedule_counts_live_gathered_bytes_when_filtering_candidates
()
tests/unit/v1/compile/test_list_schedule.py:348
Functiontest_fast_free_schedule_keeps_single_allgather_release_order
()
tests/unit/v1/compile/test_list_schedule.py:391
Functiontest_fast_free_schedule_keeps_zero_free_acc_filter
()
tests/unit/v1/compile/test_list_schedule.py:256
Functiontest_fast_free_schedule_prefers_lower_allgather_pressure_in_zero_free_acc_bucket
()
tests/unit/v1/compile/test_list_schedule.py:288
Functiontest_fast_free_schedule_uses_pressure_tiebreaker_in_fallback_bucket
()
tests/unit/v1/compile/test_list_schedule.py:318
Methodtest_fast_path_matches_default_update
(self, stage)
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:84
Methodtest_fewer_kv_heads_than_ranks_is_rejected_before_the_collective
(self)
tests/unit/v1/sequence_parallelism/test_ulysses.py:747
Methodtest_fill_autoep_config_from_hf_defaults
(self)
tests/unit/v1/moe/test_autoep_unit.py:1208
Methodtest_fill_autoep_config_from_hf_preserves_explicit_values
(self)
tests/unit/v1/moe/test_autoep_unit.py:1217
Methodtest_finegrained_optimization
(self, module_granularity_threshold: int)
tests/unit/runtime/zero/test_zero_leaf_module.py:481
Methodtest_finite_extreme_logits_across_shards
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:691
Methodtest_finite_step_after_overflow
(self, precision, low_precision_master, accumulation_dtype)
tests/unit/v1/zero/test_zero2_offload_multi_backward.py:357
Methodtest_finite_step_skips_norm_but_updates_parameters
(self, stage)
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:113
Functiontest_first_bucket_write_waits_for_the_allocating_stream
(monkeypatch)
tests/unit/v1/zero/test_zero2_gradient_safety.py:421
Methodtest_first_forward_sees_loaded_values
(self)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:413
Functiontest_first_forward_under_activation_checkpointing
The kernel warm-up runs inside the first forward. Under activation checkpointing that forward is recomputed without the warm-up, so the warm-up mu
tests/unit/v1/models/test_glm_moe_dsa.py:258
Functiontest_first_holder_and_per_request_reproduce_plan_transfer
()
tests/unit/checkpoint/test_affine_replica_policy.py:113
Methodtest_first_match_precedence
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:428
Methodtest_first_step_at_zero_lr
(self, super_offload)
tests/unit/v1/zero/test_zero_partial_offload.py:120
Functiontest_fit_recovers_known_link_costs
()
tests/unit/checkpoint/test_affine_transfer_calibration.py:75
Functiontest_fit_rejects_unknown_schema_and_single_size
()
tests/unit/checkpoint/test_affine_transfer_calibration.py:192
Functiontest_fit_reports_error_where_the_line_does_not_hold
()
tests/unit/checkpoint/test_affine_transfer_calibration.py:125
Methodtest_five_optimizer_steps
(self, vocabulary)
tests/unit/v1/sequence_parallelism/test_liger_vocab_parallel_cross_entropy.py:179
Methodtest_five_optimizer_steps_match_unsharded_reference
(self, hidden_dim, input_shape, head, bias)
tests/unit/v1/autotp/test_autotp_training.py:1564
Methodtest_flat_buffers_on_accelerator
Regression: flat buffers must end up on the accelerator (not left on CPU).
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:405
Functiontest_flat_storage_is_written_as_well_as_read
Restoring into ZeRO storage writes flat shards; one map may also mix flat and matrix shards.
tests/unit/checkpoint/test_affine_transfer_plan.py:469
Methodtest_flatten_on_accelerator_training_step
Regression: flat buffer must be detached so inplace ops during step don't crash.
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:438
Methodtest_flatten_on_gpu_path_taken
Assert the GPU flatten path was used (not CPU flatten + move).
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:364
Functiontest_float_balanced
()
tests/unit/runtime/utils/test_partition.py:161
Methodtest_float_int4_quantization
(self)
tests/unit/inference/quantization/test_intX_quantization.py:368
Methodtest_float_int8_quantization
(self)
tests/unit/inference/quantization/test_intX_quantization.py:377
Functiontest_float_lastheavy
()
tests/unit/runtime/utils/test_partition.py:170
Functiontest_float_midheavy
()
tests/unit/runtime/utils/test_partition.py:178
Functiontest_float_quantize
(num_elems, num_groups, is_symmetric_quant, q_bits, directed_case)
tests/unit/ops/quantizer/test_quantize.py:129
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:1817
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:211
Methodtest_for_loop_path_does_not_need_the_triton_kernel
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_expert_activation.py:308
Functiontest_forked_child_can_use_cuda_after_importing_deepspeed
()
tests/unit/ops/test_op_builder.py:427
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
Full-attn layer pre/post injection: output + d(loss)/dx.
tests/unit/module_inject/test_hf_parity.py:51
Methodtest_forward_and_backward
GDN layer pre/post injection: output + input gradient.
tests/unit/module_inject/test_hf_parity.py:78
Methodtest_forward_and_backward_match_the_collective_path
(self)
tests/unit/v1/moe/test_autoep_deepep_parity.py:539
Methodtest_forward_and_backward_match_the_unsharded_layer
(self)
tests/unit/v1/autotp/test_autotp_training.py:1247
Methodtest_forward_and_weight_grads
(self, model)
tests/unit/module_inject/test_hf_parity.py:103
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:59
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:977
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_training_matches_zero_offload
(self, optimizer_kind)
tests/unit/v1/zero/test_reflow.py:559
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
Functiontest_fragment_mapping_does_not_keep_the_gradient_accumulator_alive
()
tests/unit/runtime/zero/test_zero_tensor_fragment.py:73
← previousnext →12,901–13,000 of 15,468, ranked by callers