MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Functiontest_warmup_cosine_lr_unknown_warmup_type_falls_back_to_log
()
tests/unit/runtime/test_lr_schedulers.py:667
Functiontest_warmup_lr_inherits_per_group_lr_when_max_unspecified
()
tests/unit/runtime/test_lr_schedulers.py:551
Functiontest_warmup_schedulers_reject_invalid_warmup_num_steps
(scheduler_cls, bad_warmup_num_steps)
tests/unit/runtime/test_lr_schedulers.py:655
Functiontest_warns_when_torchrun_default_leaves_one_thread
(monkeypatch, cores)
tests/unit/ops/adam/test_cpu_adam_threads.py:28
Methodtest_weight_gradient_keeps_flowing_through_fused_row_weighting
(self)
tests/unit/module_inject/test_auto_ep_comm.py:450
Methodtest_weights_inside_a_flat_buffer_run
(self, gate_up_impl, staged)
tests/unit/v1/moe/test_autoep_expert_activation.py:962
Methodtest_wildcard_to_regex_basic
(self)
tests/unit/module_inject/test_tp_plan_converter.py:14
Methodtest_wildcard_to_regex_special_chars
(self)
tests/unit/module_inject/test_tp_plan_converter.py:19
Methodtest_window_sum
(self, stage, low_precision_master, accumulation_dtype)
tests/unit/v1/zero/test_zero_offload_accum_precision.py:96
Functiontest_without_mappings_requests_carry_no_processes_or_bytes
()
tests/unit/checkpoint/test_affine_replica_policy.py:173
Functiontest_workflow_does_not_emit_the_sentinel_inline
()
ci/test_classify_multirank_exit.py:70
Functiontest_workflow_keeps_github_execution_trusted_and_preserves_modes
()
ci/test_torch_latest.py:1719
Methodtest_world_destroy_releases_sequence_parallel_groups
(self, tmpdir)
tests/unit/utils/test_groups.py:95
Methodtest_world_size_1
(self)
tests/unit/comm/test_dist.py:79
Methodtest_world_size_1to4
(self, inputs, class_tmpdir, checkpoint_tag, baseline_ws1, mp_size, pp_size, mp_resize,
tests/unit/v1/autotp/test_configurable_parallel_pp.py:258
Methodtest_world_size_2
(self)
tests/unit/comm/test_dist.py:75
Methodtest_world_size_2to1
(self, inputs, class_tmpdir, checkpoint_tag, baseline_ws2, mp_size, pp_size, mp_resize,
tests/unit/v1/autotp/test_configurable_parallel_pp.py:237
Methodtest_world_size_2to4
(self, inputs, class_tmpdir, checkpoint_tag, baseline_ws2, mp_size, pp_size, mp_resize,
tests/unit/v1/autotp/test_configurable_parallel_pp.py:265
Methodtest_world_size_4to1
(self, inputs, class_tmpdir, checkpoint_tag, baseline_ws4, mp_size, pp_size, mp_resize,
tests/unit/v1/autotp/test_configurable_parallel_pp.py:244
Methodtest_world_size_4to2
(self, inputs, class_tmpdir, checkpoint_tag, baseline_ws4, mp_size, pp_size, mp_resize,
tests/unit/v1/autotp/test_configurable_parallel_pp.py:251
Methodtest_wrapped_model_uses_child_list
(self, zero_stage)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:197
Methodtest_wrapper_and_parameter_storage_lifecycle
(self)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:35
Functiontest_wrapper_initialization
(max_ragged_sequence_count: int, max_ragged_batch_size: int)
tests/unit/inference/v2/ragged/test_ragged_wrapper.py:21
Methodtest_wraps_plain_dict
(self)
tests/unit/runtime/zero/test_zero_late_module_attach.py:102
Methodtest_write
(self, tmpdir, async_queue)
tests/unit/v1/nvme/test_gds.py:211
Methodtest_write
(self, tmpdir, use_cuda_pinned_tensor, async_queue, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:282
Methodtest_write
(self, tmpdir, use_cuda_pinned_tensor, layout)
tests/unit/v1/nvme/test_aio.py:455
Functiontest_xpu_device_registration_calls_level_zero
(monkeypatch)
tests/unit/v1/pin_memory/test_pin_memory.py:217
Functiontest_xpu_device_registration_without_level_zero
(monkeypatch)
tests/unit/v1/pin_memory/test_pin_memory.py:340
Functiontest_xpu_opt_in_matches_torch_xpu_stream_capture_capability
()
tests/unit/accelerator/test_accelerator_graph.py:70
Functiontest_xpu_registers_per_device_context_and_frees_there
Registration happens in a per-device context and unregister frees in the same context that created the mapping.
tests/unit/v1/pin_memory/test_pin_memory.py:269
Functiontest_xpu_registration_alloc_failure_returns_false
(monkeypatch)
tests/unit/v1/pin_memory/test_pin_memory.py:308
Functiontest_xpu_registration_rejects_changed_address
(monkeypatch)
tests/unit/v1/pin_memory/test_pin_memory.py:245
Functiontest_xpu_specific_runtime_overrides
()
tests/unit/v1/accelerator/test_klxpu_accelerator.py:25
Functiontest_xpu_unregister_failure_raises
(monkeypatch)
tests/unit/v1/pin_memory/test_pin_memory.py:323
Functiontest_yuan_head_selection_is_shared_with_the_partition
The map reads the same head selection the partition uses, so they cannot drift.
tests/unit/checkpoint/test_affine_shard_map.py:993
Functiontest_yuan_layer_map_matches_the_real_partition
Yuan's value heads sit in two runs, so the map selects blocks rather than a span.
tests/unit/checkpoint/test_affine_shard_map.py:971
Functiontest_yuan_output_projection_bias_is_described_as_replicated
With its bias kept whole, Yuan's output projection has nothing left to refuse. The bias was the last parameter in tree published as unsupported w
tests/unit/checkpoint/test_affine_shard_map.py:1073
Functiontest_yuan_output_projection_keeps_its_bias_whole
The output projection's bias must survive partitioning unchanged on every rank. LinearAllreduce sums the ranks' partial products first and adds t
tests/unit/checkpoint/test_affine_shard_map.py:1038
Functiontest_yuan_refuses_a_head_count_that_ranks_would_share
With an odd number of heads per rank the pairing hands the same head to two ranks. Twelve heads over four ranks gives each rank three, and the pa
tests/unit/checkpoint/test_affine_shard_map.py:1151
Functiontest_yuan_weight_is_no_longer_refused_by_conversion
A layout that can describe itself must stop being published as unsupported. `AUTOTP_UNSUPPORTED_PARAMETER_PATTERNS` is what makes conversion refu
tests/unit/checkpoint/test_affine_shard_map.py:1014
Functiontest_zenflow_adam_cross_process
The optimizer-process driver (shared-memory semaphore control + native worker, the production path for ZenFlow stage 1/2 overlap) must match a per
tests/unit/ops/adam/test_cpu_adam.py:433
Functiontest_zenflow_config_from_dict
A dict for zenflow should be coerced into ZenFlowConfig.
tests/unit/runtime/zenflow/test_zf_config.py:36
Methodtest_zenflow_distributed
(self, stage, offload_selective_optimizer, select_strategy, select_interval,
tests/unit/runtime/zenflow/test_zf.py:176
Functiontest_zenflow_overlap_invalid_norm
(dtype, check_grad_overflow, reject_invalid, norm)
tests/unit/runtime/half_precision/test_zero_grad_norm_overflow.py:62
Methodtest_zenflow_rejects_disabled_norm
(self)
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:163
Methodtest_zenflow_single_gpu
(self, stage, offload_selective_optimizer, select_strategy, select_interval, u
tests/unit/runtime/zenflow/test_zf.py:157
Functiontest_zero12_affine_consolidation_supports_nonuniform_noncontiguous_placement
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:46
Functiontest_zero12_affine_consolidation_validates_replicated_experts
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:176
Functiontest_zero12_consolidation_uses_expert_file_fallback_for_missing_master_rank
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:111
Functiontest_zero12_expert_state_consolidation_exact
(tmpdir, data_first, dp_order)
tests/unit/v1/moe/test_autoep_checkpoint.py:334
Functiontest_zero12_legacy_consolidation_still_concatenates_ep_ranks
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:199
Functiontest_zero12_metadata_accepts_explicit_empty_rank
()
tests/unit/checkpoint/test_autoep_affine_universal.py:73
Functiontest_zero12_restore_applies_autoep_before_independent_autotp
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:455
Functiontest_zero12_restore_loads_target_packed_order
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:420
Functiontest_zero12_uniform_affine_consolidation_matches_legacy_order
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:91
Functiontest_zero1_and_zero3_conflict
(builtin_registry)
tests/unit/compile/test_pass_contract.py:208
Methodtest_zero1_no_offload_uses_bf16_optimizer
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:259
Functiontest_zero1_nonoverlap_leaves_engine_boundary_sweep_owner
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_zero1_overlap_folding.py:63
Methodtest_zero1_offload_bf16_fp32_grad_accum
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:232
Functiontest_zero1_overlap_applies_folding_before_hook_consumes_grad
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_zero1_overlap_folding.py:24
Methodtest_zero1_releases_grad_buffers_after_optimizer_step
(self)
tests/unit/v1/compile/test_compile_zero.py:121
Methodtest_zero2_autoep_matches_zero2_after_one_update
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:407
Methodtest_zero2_bf16_fp32_grad_accum
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:248
Methodtest_zero2_ep_2gpu
EP with ZeRO-2 training. Verifies EP and ZeRO Stage 2 work together: finite losses and parameters actually update across training ste
tests/unit/v1/moe/test_autoep_integration.py:43
Functiontest_zero2_partitioned_path_still_applies_folding
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_zero1_overlap_folding.py:79
Functiontest_zero2_tp_gradient_reducer_skips_incomplete_ds_grad
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:143
Functiontest_zero2_tp_gradient_reducer_uses_shared_param_family_strategy
(monkeypatch, mark_router, expected_grad)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:166
Functiontest_zero3_affine_rebuild_allows_omitted_empty_rank
()
tests/unit/checkpoint/test_autoep_affine_universal.py:233
Functiontest_zero3_affine_rebuild_checks_ranks_shapes_and_replicas
()
tests/unit/checkpoint/test_autoep_affine_universal.py:218
Functiontest_zero3_allows_dynamo_dynamic_parameter_shapes
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:45
Methodtest_zero3_autoep_contiguous_grads_average_by_global_dp
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:971
Methodtest_zero3_autoep_expert_grads_match_zero2_autoep
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:443
Methodtest_zero3_autoep_reduce_scatter_grads_average_by_global_dp
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:937
Methodtest_zero3_checkpoint_metadata_includes_partition_group_ranks
(self)
tests/unit/v1/moe/test_autoep_unit.py:880
Methodtest_zero3_compatibility_gate_allows_active_autotp
(self)
tests/unit/v1/moe/test_autoep_unit.py:617
Methodtest_zero3_compatibility_gate_allows_constrained_autoep
(self)
tests/unit/v1/moe/test_autoep_unit.py:586
Methodtest_zero3_compatibility_gate_rejects_hpzero
(self)
tests/unit/v1/moe/test_autoep_unit.py:648
Methodtest_zero3_compatibility_gate_rejects_native_moe
(self)
tests/unit/v1/moe/test_autoep_unit.py:573
Methodtest_zero3_compatibility_gate_rejects_quantized_gradients
(self)
tests/unit/v1/moe/test_autoep_unit.py:632
Methodtest_zero3_compatibility_gate_rejects_sequence_parallel
(self)
tests/unit/v1/moe/test_autoep_unit.py:601
Methodtest_zero3_consolidated_state_dict_keeps_tied_weight_shared
(self)
tests/unit/v1/autotp/test_autotp_training.py:768
Methodtest_zero3_cpu_offload_grad_norm_reduces_autoep_expert_parallel_group
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:905
Functiontest_zero3_dynamo_config_restores_after_last_overlapping_owner
(monkeypatch, first_owner_to_restore)
tests/unit/compile/test_zero3_grad_dtype.py:188
Functiontest_zero3_dynamo_config_restores_when_overlapping_engines_are_destroyed
(monkeypatch, first_owner_to_destroy)
tests/unit/compile/test_zero3_grad_dtype.py:209
Methodtest_zero3_ep_expert_replica_group_train_save_load_4gpu
(self, tmpdir)
tests/unit/v1/moe/test_autoep_integration.py:213
Methodtest_zero3_ep_save_load_same_topology_2gpu
(self, tmpdir)
tests/unit/v1/moe/test_autoep_integration.py:129
Methodtest_zero3_ep_source_zero_init_expert_replica_placement_4gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:187
Methodtest_zero3_ep_source_zero_init_expert_replica_placement_8gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:256
Methodtest_zero3_ep_train_step_and_placement_2gpu
EP with ZeRO-3 trains when AutoEP owns the MoE layers.
tests/unit/v1/moe/test_autoep_integration.py:77
Functiontest_zero3_failed_master_copy_preserves_original_error
(monkeypatch)
tests/unit/v1/zero/test_zero.py:1926
Functiontest_zero3_generation_disables_native_synced_gpus
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1181
Methodtest_zero3_int4_post_init_quant
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:387
Methodtest_zero3_int4_post_init_quant_cpu_offload
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:392
Methodtest_zero3_int4_post_init_quant_nvme_offload
(self, tmpdir)
tests/unit/inference/quantization/test_intX_quantization.py:397
Methodtest_zero3_int4_quantized_initialization
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:405
Methodtest_zero3_int4_quantized_initialization_cpu_offload
(self, quantization_bits)
tests/unit/inference/quantization/test_intX_quantization.py:410
Methodtest_zero3_int4_quantized_initialization_nvme_offload
(self, tmpdir)
tests/unit/inference/quantization/test_intX_quantization.py:415
Methodtest_zero3_multi_step_diff_under_corruption_threshold
(self)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:511
Methodtest_zero3_native_moe_rejected_2gpu
(self)
tests/unit/v1/moe/test_autoep_integration.py:101
← previousnext →15,001–15,100 of 15,468, ranked by callers