MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Functiontest_boundary_first_offload_preserves_owned_fragment_and_accumulation_dtype
(low_precision, source_offset,
tests/unit/v1/zero/test_zero2_gradient_safety.py:200
Methodtest_boundary_microbatch_grad_is_reduced
(self)
tests/unit/v1/zero/test_zero.py:281
Functiontest_boundary_offload_can_be_finalized_without_another_backward
(low_precision)
tests/unit/v1/zero/test_zero2_gradient_safety.py:160
Methodtest_boundary_tokens_preserved
IMG_START and IMG_END embeddings must be unchanged after splice.
deepspeed/sequence/test_autosp.py:547
Methodtest_boundary_tokens_preserved
vision_start and vision_end embeddings must be unchanged after splice.
deepspeed/sequence/test_autosp.py:658
Methodtest_bounded_gather_matches_unbucketed_training
(self, zero_stage)
tests/unit/v1/ops/muon/test_muon.py:233
Functiontest_broken_transformers_moe_raises
Affected releases must reject only MoE models selecting the broken batched_mm path.
tests/unit/compile/test_tp_compile.py:568
Functiontest_btl_nic_openmpi_runner
(runner_info)
tests/unit/launcher/test_multinode_runner.py:40
Functiontest_btl_nic_two_dashes_openmpi_runner
(runner_info)
tests/unit/launcher/test_multinode_runner.py:49
Functiontest_bucket_reuse_waits_for_previous_consumer
(monkeypatch, producers)
tests/unit/v1/zero/test_zero2_gradient_safety.py:296
Methodtest_buffer_dtype_does_not_cast_listed_buffers
(self, zero_stage)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:172
Methodtest_buffer_dtype_forces_cast
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:102
Methodtest_buffer_dtype_opt_in
(self, zero_stage)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:170
Methodtest_buffer_dtype_string_resolution
(self, cfg_str, expected)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:66
Functiontest_buffer_is_shared_across_handles
()
tests/unit/v1/nvme/test_pinned_manager.py:36
Functiontest_buffer_key_shared_across_strides
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:403
Methodtest_buffer_preserved_by_default
(self, zero_stage)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:162
Methodtest_buffer_round_trip
(self, tmp_path, zero_stage, dtype)
tests/unit/checkpoint/test_convert_checkpoint.py:215
Functiontest_builtin_conflicts_name_registered_passes
()
tests/unit/compile/test_pass_contract.py:149
Functiontest_builtin_default_schedules_validate
(builtin_registry)
tests/unit/compile/test_pass_contract.py:155
Methodtest_builtin_presets_name_their_form
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:530
Functiontest_bwd_insertion_reloads_at_graph_end
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:246
Functiontest_bwd_keeps_the_copy_late_when_memory_is_tight
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:863
Functiontest_bwd_reloads_before_first_use_and_rewrites_readers
(forced_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:828
Functiontest_bwd_reloads_just_in_time_when_the_profile_is_missing
(forced_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:879
Functiontest_bwd_starts_the_copy_early_enough_to_hide_it
(ample_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:848
Functiontest_bwd_without_a_plan_is_skipped
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:899
Methodtest_byte_cast_accelerator_tensor
(self, dtype)
tests/unit/utils/test_byte_cast.py:47
Methodtest_byte_cast_accelerator_tensor_list
(self, tensor_count)
tests/unit/utils/test_byte_cast.py:66
Methodtest_byte_cast_cpu_tensor
(self, dtype, pinned_memory)
tests/unit/utils/test_byte_cast.py:53
Methodtest_byte_cast_cpu_tensor_list
(self, tensor_count)
tests/unit/utils/test_byte_cast.py:70
Functiontest_calc_bw_log_supports_object_and_list_collectives
(monkeypatch, comm_op, world_size)
tests/unit/comm/test_comms_logger.py:243
Functiontest_call
csrc/compile/z3.cpp:665
Functiontest_call_to_str
()
tests/unit/runtime/test_runtime_utils.py:22
Functiontest_callables_resolved_by_identity
(clean_registry)
tests/unit/compile/test_pass_contract.py:122
Functiontest_candidate_checkout_builds_public_urls_from_validated_metadata
()
ci/test_torch_latest.py:474
Functiontest_candidates_that_disagree_on_the_head_count_are_skipped
A real ambiguity: both confirm the shape, and they give different answers.
tests/unit/runtime/zero/test_per_head_muon.py:494
Methodtest_capacity
(self, monkeypatch, gate_fn, capacity_args, ep_world_size, expected_calls)
tests/unit/v1/moe/test_moe.py:332
Functiontest_capture_failure_falls_back_to_eager
()
tests/unit/hybrid_engine/test_he_graph.py:150
Functiontest_causal_lm_loss_divides_sum_by_num_items_in_batch
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:84
Functiontest_causal_lm_loss_rejects_shard_metadata_changed_after_first_call
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:159
Functiontest_causal_lm_loss_shifts_labels_and_matches_reference
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:67
Functiontest_causal_lm_loss_validates_shard_metadata_once
(monkeypatch)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:137
Functiontest_causal_lm_loss_vocab_size_mismatch_warns_instead_of_raising
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:100
Functiontest_ccl_barrier_accepts_device_ids
(call_kwargs)
tests/unit/comm/test_barrier.py:30
Functiontest_changing_generation_length_invalidates_graphs
()
tests/unit/hybrid_engine/test_he_graph.py:172
Functiontest_check_paths_counts_both_sides_of_renames
()
ci/test_tests_fetcher.py:329
Functiontest_check_paths_pr_ignore_matches_exact_files_and_directories
()
ci/test_tests_fetcher.py:339
Functiontest_check_paths_runs_ci_when_unsure
()
ci/test_tests_fetcher.py:348
Functiontest_check_paths_skips_documentation_and_version_only_diffs
()
ci/test_tests_fetcher.py:320
Functiontest_check_paths_workflow_compares_with_the_merged_base
()
ci/test_tests_fetcher.py:463
Functiontest_check_paths_workflow_runs_base_branch_copy
()
ci/test_tests_fetcher.py:455
Methodtest_check_version
(self)
tests/unit/runtime/test_ds_config_dict.py:33
Functiontest_checkpoint_clipping_rejects_disabled_norm
()
tests/unit/runtime/zero/test_zero1_optimizer_fastpath.py:65
Functiontest_checkpoint_descriptor_legacy_and_invalid_metadata
(tmpdir, dimensions, error)
tests/unit/checkpoint/test_reshape_checkpoint.py:94
Functiontest_checkpoint_emits_info
(caplog)
tests/unit/utils/test_pin_memory_tracker.py:62
Methodtest_checkpoint_external_parameter_lifecycle
A checkpoint-replayed external param must stay AVAILABLE at each consumer and clean up after.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:476
Functiontest_checkpoint_file_output_dtype
(monkeypatch, tmp_path)
tests/unit/checkpoint/test_convert_checkpoint.py:67
Methodtest_checkpoint_fp32_optimizer
(self, tmpdir)
tests/unit/checkpoint/test_other_optimizer.py:119
Methodtest_checkpoint_fused_optimizer
(self, tmpdir)
tests/unit/checkpoint/test_other_optimizer.py:78
Methodtest_checkpoint_layout_mismatch_is_safe
(self, tmpdir, zero_stage)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:162
Methodtest_checkpoint_lr_scheduler
(self, tmpdir, zero_stage, use_cpu_offload)
tests/unit/checkpoint/test_lr_scheduler.py:23
Methodtest_checkpoint_moe
(self, tmpdir, ep_size)
tests/unit/checkpoint/test_moe_checkpoint.py:23
Methodtest_checkpoint_moe_and_zero
(self, tmpdir, ep_size, load_optim_states)
tests/unit/checkpoint/test_moe_checkpoint.py:44
Methodtest_checkpoint_no_lr_scheduler
(self, tmpdir, zero_stage, use_cpu_offload)
tests/unit/checkpoint/test_lr_scheduler.py:75
Methodtest_checkpoint_pipe_engine
(self, zero_stage, tmpdir)
tests/unit/checkpoint/test_pipeline.py:20
Methodtest_checkpoint_pipe_module
(self, base_topo, test_topo, tmpdir)
tests/unit/checkpoint/test_pipeline.py:72
Methodtest_checkpoint_round_trip
(self, tmpdir)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:460
Methodtest_checkpoint_shared_weights
(self, tmp_path)
tests/unit/checkpoint/test_shared_weights.py:28
Methodtest_checkpoint_source_placement_does_not_need_to_match_target_topology
(self)
tests/unit/v1/moe/test_autoep_unit.py:789
Functiontest_checkpoint_thresholds_double_from_32gb
()
tests/unit/utils/test_pin_memory_tracker.py:49
Methodtest_checkpoint_unfused_optimizer
(self, tmpdir)
tests/unit/checkpoint/test_other_optimizer.py:21
Methodtest_checkpoint_unique_tag
(self, tmpdir, valid_mode)
tests/unit/checkpoint/test_tag_validation.py:18
Methodtest_checkpoint_unknown_tag_validation
(self, tmpdir)
tests/unit/checkpoint/test_tag_validation.py:42
Functiontest_checkpoint_writer_discovery_and_consumers_load_model_files_once
(tmpdir, monkeypatch)
tests/unit/checkpoint/test_reshape_checkpoint.py:105
Methodtest_checkpointed_frozen_param
(self, zero_stage, use_reentrant, dtype, param_persistence_threshold)
tests/unit/v1/zero/test_zero_user_backward.py:1635
Methodtest_checkpointed_layers_match_module_injection
(self)
tests/unit/compile/test_tp_compile.py:653
Methodtest_checkpointed_multiple_backward
Test multiple backward passes with checkpointing and ZeRO. Verifies that consecutive training iterations work correctly with gradient
tests/unit/v1/zero/test_zero_user_backward.py:1512
Methodtest_checkpointed_non_scalar_backward
Test that gradient checkpointing works with ZeRO and non-scalar backward. Verifies that tensor.backward(gradient=...) works correctly with Ze
tests/unit/v1/zero/test_zero_user_backward.py:1368
Methodtest_checkpointed_scalar_backward
Test that gradient checkpointing works with ZeRO and scalar backward. Verifies that scalar loss.backward() works correctly with ZeRO and
tests/unit/v1/zero/test_zero_user_backward.py:1442
Methodtest_chmod_exception_handling
(self, monkeypatch, zero_stage)
tests/unit/checkpoint/test_zero_optimizer.py:714
Methodtest_choose_module_by_counter
(self)
tests/unit/runtime/zero/test_zero_leaf_module.py:339
Methodtest_choose_module_by_rank
(self)
tests/unit/runtime/zero/test_zero_leaf_module.py:342
Methodtest_ckpt_arg_none
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:91
Methodtest_ckpt_arg_none
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:366
Methodtest_ckpt_inputs1_outputs1
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:71
Methodtest_ckpt_inputs1_outputs1
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:342
Methodtest_ckpt_inputs2_outputs1
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:76
Methodtest_ckpt_inputs2_outputs1
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:348
Methodtest_ckpt_inputs2_outputs2
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:81
Methodtest_ckpt_inputs2_outputs2
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:354
Methodtest_ckpt_inputs2_outputs3
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:86
Methodtest_ckpt_inputs2_outputs3
(self, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:360
Methodtest_ckpt_non_tensor_input
(self, non_tensor)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:102
Methodtest_ckpt_non_tensor_input
(self, non_tensor)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:377
Methodtest_ckpt_non_tensor_output
(self, non_tensor)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:107
Methodtest_ckpt_non_tensor_output
(self, non_tensor)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:383
Methodtest_ckpt_non_tensor_output_ordering
(self, non_tensor_output)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing_non_reentrant.py:120
Methodtest_ckpt_non_tensor_output_ordering
(self, non_tensor_output)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:396
Methodtest_ckpt_save
(self, tmpdir, tp_size: int, zero_stage: int)
tests/unit/v1/autotp/test_autotp_training.py:1946
← previousnext →11,701–11,800 of 14,579, ranked by callers