MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_staged_expert_gradients_match_unstaged_over_two_updates
(self, zero_stage)
tests/unit/v1/moe/test_autoep_grad_parity.py:853
Methodtest_staging_needs_the_grouped_mm_path_and_no_slot
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:949
Functiontest_stale_registry_rank_lists_are_rejected
()
tests/unit/v1/moe/test_autoep_autotp_folding_groups.py:46
Functiontest_standalone_backward_matches_autograd_exactly
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:143
Functiontest_standalone_backwards_select_the_input_device
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:160
Methodtest_standard_comm_and_ep1_keep_the_existing_path
(self)
tests/unit/module_inject/test_auto_ep_comm.py:667
Functiontest_standard_cpu_optimizer_builders_do_not_include_reflow
()
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:148
Methodtest_standard_cross_entropy_matches_unsharded_reference
(self)
tests/unit/v1/autotp/test_autotp_training.py:1495
Functiontest_start_method_safety
(method)
tests/unit/runtime/test_ds_initialize.py:29
Functiontest_state_increment
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:139
Functiontest_static_cache_compact_identity_keeps_active_rows_and_clears_tail
()
tests/unit/utils/test_static_cache.py:149
Functiontest_static_cache_compact_preserves_rows_and_positions
()
tests/unit/utils/test_static_cache.py:130
Functiontest_static_cache_constructor_supports_max_batch_keyword
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:434
Functiontest_static_cache_falls_back_to_derived_head_dim
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1963
Functiontest_static_cache_memory_skips_layers_without_kv
()
tests/unit/utils/test_static_cache.py:237
Functiontest_static_cache_preallocates_with_config_head_dim
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1952
Functiontest_static_cache_query_offset_builds_native_causal_mask
(position, allowed)
tests/unit/utils/test_static_cache.py:31
Functiontest_static_cache_query_offset_precedes_current_write
(position, expected)
tests/unit/utils/test_static_cache.py:13
Functiontest_static_cache_query_offset_supports_graph_replay
()
tests/unit/utils/test_static_cache.py:52
Functiontest_static_cache_trim_left_shifts_values_and_clears_tail
()
tests/unit/utils/test_static_cache.py:169
Functiontest_static_graph_attention_mask_uses_additive_values
()
tests/unit/v1/test_hybrid_engine_rollout_v1.py:81
Functiontest_static_graph_capture_receives_a_prebuilt_4d_mask
The captured decode forward must not get a 2-D attention_mask. Transformers builds its SDPA mask from a 2-D mask with host-side checks (``padding
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1970
Functiontest_static_graph_full_step_kernel_preconditions
(batch_size, repetition_penalty, monkeypatch)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:116
Functiontest_static_graph_matches_native_llama_generation
(attn_implementation)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:245
Functiontest_static_graph_rejects_flash_attention
(graph_capture_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:155
Functiontest_static_graph_uses_prefill_kv_shape
(local_heads, monkeypatch)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:93
Functiontest_static_layer_accepts_active_prefix_of_cache_rows
()
tests/unit/utils/test_static_cache.py:195
Functiontest_static_layer_accepts_values_in_a_different_dtype_than_keys
(per_row_decode)
tests/unit/utils/test_static_cache.py:249
Functiontest_static_layer_per_row_positions_support_graph_replay
()
tests/unit/utils/test_static_cache.py:89
Functiontest_static_layer_rejects_mismatched_per_row_positions
()
tests/unit/utils/test_static_cache.py:186
Functiontest_static_layer_rejects_out_of_bounds_per_row_positions
(position)
tests/unit/utils/test_static_cache.py:122
Functiontest_static_layer_supports_per_row_decode_positions
()
tests/unit/utils/test_static_cache.py:71
Methodtest_static_scale_and_zero_grad_after_step
(self)
tests/unit/runtime/test_ds_initialize.py:250
Functiontest_static_scaler_is_quiet_without_overflow
(warnings)
tests/unit/runtime/half_precision/test_static_loss_scale_overflow.py:31
Functiontest_static_scaler_reports_the_skipped_step
(warnings)
tests/unit/runtime/half_precision/test_static_loss_scale_overflow.py:22
Methodtest_step
(self, batch, batch_idx)
tests/lightning/test_simple.py:43
Methodtest_step_always_applies_update
Every step() applies an optimizer update regardless of gradient_accumulation_steps.
tests/unit/v1/zero/test_zero_user_backward.py:1877
Functiontest_step_consumes_gradients_after_offload_copies_complete
(monkeypatch)
tests/unit/v1/zero/test_zero2_gradient_safety.py:620
Methodtest_step_inside_context_raises
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:528
Functiontest_step_nvme_offloaded_partition
()
tests/unit/ops/adam/test_zf_torch_adam.py:254
Methodtest_step_refuses_to_leave_staged_gradients_behind
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:891
Methodtest_step_reports_worker_error
(self, failure_source)
tests/unit/v1/zero/test_reflow.py:1758
Methodtest_step_rollback_sequence
Test sequence of step_subgroup and rollback_subgroup operations.
tests/unit/ops/adam/test_cpu_adam.py:644
Methodtest_step_same_step_idempotent_across_param_keys
Repeated optimizer.step() with swapped param keys should be deterministic.
tests/unit/ops/adam/test_cpu_adam.py:721
Methodtest_step_subgroup_basic
Test basic functionality of step_subgroup method.
tests/unit/ops/adam/test_cpu_adam.py:524
Methodtest_step_subgroup_multiple_calls
Test multiple calls to step_subgroup increment step count correctly.
tests/unit/ops/adam/test_cpu_adam.py:556
Methodtest_step_subgroup_same_step_idempotent_across_subgroups
Repeated same-step subgroup updates should remain bit-identical.
tests/unit/ops/adam/test_cpu_adam.py:693
Functiontest_step_with_offload_bucket_flush
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:72
Functiontest_step_without_offload
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:52
Functiontest_stochastic_forward_rejected_after_construction
(deterministic_policy)
tests/unit/runtime/test_custom_determinism.py:27
Functiontest_stochastic_layer_rejected_before_extension_load
(deterministic_policy)
tests/unit/runtime/test_custom_determinism.py:21
Functiontest_stop_profiling_comms_disables_prof_all
()
tests/unit/comm/test_comms_logger.py:18
Functiontest_storage_map_describes_what_each_global_rank_stores
(layout, zero3)
tests/unit/checkpoint/test_autoep_affine.py:278
Functiontest_storage_map_follows_explicit_rank_ids
()
tests/unit/checkpoint/test_autoep_affine.py:343
Functiontest_storage_map_offers_every_edp_replica_to_the_planner
()
tests/unit/checkpoint/test_autoep_affine.py:294
Functiontest_storage_map_rejects_holders_that_do_not_store_the_placement
(holders, partitions, match)
tests/unit/checkpoint/test_autoep_affine.py:383
Methodtest_storage_maps_match_runtime_ownership_and_plan_into_a_new_placement
(self, zero_stage, autotp_size)
tests/unit/v1/moe/test_autoep_checkpoint.py:655
Methodtest_storage_nonzero_until_final_release_when_multi_use
(self)
tests/torch_compile/test_deepcompile_z3_release.py:77
Methodtest_storage_resized_to_zero_after_release_single_use
(self)
tests/torch_compile/test_deepcompile_z3_release.py:66
Functiontest_stored_version_is_the_format_version
A map written now must declare the version this code writes, not the checkpoint's.
tests/unit/checkpoint/test_affine_shard_map.py:457
Functiontest_streams_offload_restore_matches_baseline
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:207
Methodtest_strict_correctness
(self, tmpdir)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1386
Methodtest_strict_correctness
(self, tmpdir)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1512
Functiontest_stride_vector_must_match_piece_rank
(strides, side)
tests/unit/checkpoint/test_affine_transfer_plan.py:656
Functiontest_strided_column_pieces_remain_valid
()
tests/unit/checkpoint/test_affine_shard_map.py:484
Functiontest_strided_destination_check_refuses_exactly_double_writes
validate() accepts exactly the layouts that write no address twice, and a refusal names an address that is written twice.
tests/unit/checkpoint/test_affine_shard_map.py:624
Functiontest_strided_destination_outside_the_shard_is_refused
()
tests/unit/checkpoint/test_affine_shard_map.py:536
Functiontest_strided_destination_overlap_is_refused
()
tests/unit/checkpoint/test_affine_shard_map.py:526
Functiontest_strided_destination_that_wraps_a_shard_row_round_trips
()
tests/unit/checkpoint/test_affine_shard_map.py:543
Functiontest_strided_destination_validation_does_not_enumerate_elements
(monkeypatch)
tests/unit/checkpoint/test_affine_shard_map.py:583
Methodtest_strided_rows_and_upstream_gradients
(self, dtype)
tests/unit/v1/moe/test_autoep_permute_rows.py:80
Functiontest_strided_source_is_packed_before_sending
Rows to columns on two processes: each sends a 2x2 block that is strided in its source.
tests/unit/checkpoint/test_affine_transfer_analysis.py:53
Functiontest_strided_view_offload_matches_baseline
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:355
Functiontest_stub_deepcompile_ops_uses_isolated_namespace
()
tests/unit/v1/compile/test_list_schedule.py:83
Functiontest_sub_mapping_syntax
()
tests/unit/inference/v2/model_implementations/parameters/test_mapping.py:94
Functiontest_sub_param_layer_materializes_zero_width_final_dimension
(layer_cls)
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:468
Functiontest_sub_param_shard_widths_legacy_version_uses_even_split
(tp_world_size)
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:442
Functiontest_sub_param_shard_widths_round_trip_with_zero_width_ranks
(tp_world_size)
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:407
Methodtest_subclass_param
(self)
tests/unit/runtime/zero/test_zero_context.py:187
Methodtest_subclass_param_init
(self)
tests/unit/runtime/zero/test_zero_context_ancestry.py:68
Methodtest_subgroup_destroy_keeps_expert_data_parallel_table
(self)
tests/unit/utils/test_groups.py:215
Methodtest_subgroup_destroy_preserves_unrelated_groups
(self)
tests/unit/utils/test_groups.py:169
Methodtest_subparam_allreduce_single_param_weight_and_bias_roundtrip
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:1031
Functiontest_subparam_layer_marks_standardized_param_metadata
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:116
Methodtest_subparam_linear_single_param_weight_and_bias_roundtrip
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:997
Functiontest_successive_inputs
The CUTLASS MoE uses persistent state (expert counts) that is assumed to be cleared on each forward pass. This ensures that the module is cle
tests/unit/inference/v2/modules/test_cutlass_moe.py:166
Functiontest_sum_gradient_allreduce_rejects_deepcompile
(zero_stage)
tests/unit/runtime/test_ds_config_dict.py:198
Functiontest_sum_gradient_allreduce_rejects_zenflow
()
tests/unit/runtime/test_ds_config_dict.py:185
Functiontest_sum_gradient_allreduce_rejects_zero3
()
tests/unit/runtime/test_ds_config_dict.py:174
Functiontest_summary_does_not_raise
()
tests/unit/utils/test_pin_memory_tracker.py:26
Functiontest_summary_escapes_candidate_controls_and_markup
()
ci/test_tests_fetcher.py:598
Functiontest_superoffload_grad_buffer_pinned_when_enabled
offload_optimizer.pin_memory=True keeps the current pinned allocation.
tests/unit/v1/pin_memory/test_offload_route.py:156
Functiontest_superoffload_grad_buffer_unpinned_when_disabled
offload_optimizer.pin_memory=False must allocate a regular CPU buffer.
tests/unit/v1/pin_memory/test_offload_route.py:149
Functiontest_superoffload_rolls_back_only_subgroups_submitted_this_step
()
tests/unit/v1/zero/test_invalid_grad_norm.py:155
Functiontest_supported_dtypes
Validate support on nominally supported data types.
tests/unit/inference/v2/kernels/ragged_ops/test_logits_gather.py:37
Functiontest_supported_model_registers_auxiliary_policies
(monkeypatch)
tests/unit/hybrid_engine/test_he_policy.py:66
Functiontest_supported_model_without_transformers_registers_auxiliary_policies
(monkeypatch)
tests/unit/hybrid_engine/test_he_policy.py:79
Functiontest_supported_rms_norm_classes_compute_the_fused_expression
(qualified_name)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:371
Functiontest_sweep_comparisons_count_against_the_pair_budget
A disjoint layout can keep every box open for the whole sweep, so the sweep is budgeted too. h full-height one-column boxes plus 2h one-element b
tests/unit/checkpoint/test_affine_transfer_plan.py:804
Methodtest_swiglu_clamped_known_values
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:99
← previousnext →14,601–14,700 of 15,468, ranked by callers