MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Functiontest_a_plain_parameter_list_keeps_the_historical_groups
()
tests/unit/runtime/zero/test_muon_param_groups.py:35
Functiontest_a_plan_is_deterministic_under_input_order
Two runs, and a map whose pieces were listed in a different order, must agree exactly. A transport that shards work by segment index needs this,
tests/unit/checkpoint/test_affine_transfer_plan.py:291
Methodtest_a_rank_owning_no_expert_does_not_deadlock
Under pipeline parallelism a rank can hold no expert at all. Local ownership then differs in kind rather than in degree, so the branch is
tests/unit/runtime/test_runtime_utils.py:120
Methodtest_a_rank_with_no_gradient_at_all_still_gets_the_norm
Every local gradient can be absent, expert ones included, and the rank still has to answer.
tests/unit/runtime/test_runtime_utils.py:147
Functiontest_a_real_llama_config_is_not_refused
The stock config the crash fix targets carries no scaling and must still resolve.
tests/unit/module_inject/test_llama_rope_theta.py:139
Methodtest_a_recompute_with_different_routing_is_rejected
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1086
Functiontest_a_replica_overlapping_a_single_holder_is_refused_in_either_order
(first)
tests/unit/checkpoint/test_affine_shard_map.py:652
Methodtest_a_retained_graph_interleaved_with_a_new_forward_is_rejected
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1007
Functiontest_a_saved_view_is_charged_for_the_allocation_it_holds_not_its_own_bytes
Keeping a view resident retains the whole allocation it points into. The planner spends headroom to bring values back. Charging the view's own by
tests/unit/v1/compile/test_offload_activation.py:638
Functiontest_a_scalar_cannot_be_split
()
tests/unit/checkpoint/test_affine_replica_policy.py:302
Functiontest_a_scaled_piece_is_refused_for_the_same_reason_affine_refuses_it
()
tests/unit/checkpoint/test_affine_transfer_plan.py:364
Functiontest_a_scaled_rope_variant_is_refused
Reading only rope_theta out of a scaled config is silently wrong. DeepSeek-R1-Distill-Llama-8B (#8340) is the live case: `rope_type="llama3"` wit
tests/unit/module_inject/test_llama_rope_theta.py:102
Functiontest_a_scaled_variant_in_the_legacy_rope_scaling_spelling_is_refused
transformers < 5.0 carries the same request under `rope_scaling`.
tests/unit/module_inject/test_llama_rope_theta.py:124
Functiontest_a_scaled_variant_is_refused_even_when_the_attribute_carries_the_base
The attribute read comes first, so the check has to precede it to be reachable.
tests/unit/inference/v2/model_implementations/test_rope_theta.py:177
Methodtest_a_second_model_does_not_reshard_the_first
(self)
tests/unit/v1/autotp/test_autotp_multiple_models.py:72
Methodtest_a_second_step_still_runs
(self, case)
tests/unit/runtime/zero/test_zero_numel_param_shape.py:138
Functiontest_a_shard_that_splits_a_head_is_dropped
A shard that does not hold whole heads has no per-head structure to use.
tests/unit/runtime/zero/test_per_head_muon.py:800
Functiontest_a_shard_without_axis_correspondence_is_refused
(shard_shape, dest_strides)
tests/unit/checkpoint/test_affine_transfer_plan.py:486
Functiontest_a_single_corrupt_piece_is_reported_rather_than_planned_around
One wrong number in a valid map must produce a named refusal. The map is generated whole, then broken once, so the test says which field the plan
tests/unit/checkpoint/test_affine_transfer_plan.py:760
Functiontest_a_source_that_does_not_reach_the_target_is_refused
Half a parameter with nowhere to come from must fail, not leave a silently unwritten shard.
tests/unit/checkpoint/test_affine_transfer_plan.py:315
Functiontest_a_split_reads_each_cut_from_its_holder
()
tests/unit/checkpoint/test_affine_replica_policy.py:237
Functiontest_a_stale_head_count_splits_heads_in_half
What the tag does under tp=2 if it is not re-resolved against the shard. 128 rows still divide by 8, so the divisibility check passes and each he
tests/unit/v1/ops/muon/test_per_head_muon_accelerator.py:87
Functiontest_a_standard_model_is_unchanged_when_the_module_agrees
On ordinary attention both the config and the module describe the same geometry. They agree, so there is nothing to be ambiguous about and the he
tests/unit/runtime/zero/test_per_head_muon.py:729
Functiontest_a_strided_target_is_read_by_row
(backend, device)
tests/unit/v1/runtime/test_chunked_cross_entropy.py:236
Functiontest_a_view_that_overlaps_itself_is_refused
(case)
tests/unit/checkpoint/test_affine_shard_map.py:692
Functiontest_abort_helper_passes_when_every_rank_is_healthy
(monkeypatch)
tests/unit/v1/compile/test_graph_profile.py:244
Functiontest_abort_helper_raises_locally_without_distributed
()
tests/unit/v1/compile/test_graph_profile.py:253
Functiontest_abstract_methods_defined
(module_name, accel_class_name)
tests/unit/v1/accelerator/test_accelerator.py:59
Methodtest_accelerator
(self)
tests/unit/runtime/test_ds_config_dict.py:30
Methodtest_accepts_bfloat16
(self)
tests/unit/module_inject/test_auto_ep_comm.py:112
Methodtest_accepts_grouped_query_attention_with_divisible_heads
(self)
tests/unit/v1/compile/test_compile_autosp.py:881
Methodtest_accumulated_updates_and_checkpoint_keep_the_separate_parameters
(self, activation, recompute)
tests/unit/v1/moe/test_autoep_expert_activation.py:461
Functiontest_act_fn
(act_fn: ActivationType)
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:65
Functiontest_act_fns
Validate bias activation kernel with different activation functions.
tests/unit/inference/v2/kernels/core_ops/test_bias_activation.py:82
Functiontest_act_fns
Validate activation function behavior.
tests/unit/inference/v2/kernels/cutlass_ops/test_moe_gemm.py:100
Functiontest_act_with_bias
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:81
Functiontest_activation_types
(activation_type: ActivationType)
tests/unit/inference/v2/modules/test_cutlass_moe.py:195
Functiontest_adam_backend_selection
(engine, parameters, adam_w_mode, expected_class, expected_kwargs)
tests/unit/v1/ops/muon/test_muon_partial_training.py:432
Functiontest_add_export_no_special_characters
Values without special characters should remain unquoted (e.g., PYTHONPATH). This avoids issues where unnecessary quotes break module imports
tests/unit/launcher/test_user_args.py:96
Functiontest_add_export_with_special_characters
Values with special characters (e.g., 64(x2)) must be quoted to avoid bash syntax errors.
tests/unit/launcher/test_user_args.py:88
Functiontest_against_torch_adamw
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:184
Functiontest_aio_handle_buffer_recognized_by_pin_handle
()
tests/unit/v1/nvme/test_pinned_manager.py:71
Functiontest_aio_handle_destructor_releases_gil
()
tests/unit/ops/aio/test_aio_handle.py:20
Methodtest_aliases_and_explicit_opt_out
(self, head_first, vocab_parallel_lm_head)
tests/unit/v1/autotp/test_autotp_training.py:275
Methodtest_aliases_between_requests_are_rejected_before_any_write
(self, alias)
tests/unit/checkpoint/test_affine_transfer_executor.py:400
Methodtest_alibi_mask_uses_original_total_after_injection
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:729
Functiontest_aligned_continuous_generation_reclaims_dead_prefix_when_cache_would_exhaust
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:694
Functiontest_aligned_continuous_generation_supports_mixed_effective_prompt_lengths
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:613
Methodtest_all_gather_handle_wait_is_idempotent
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:42
Functiontest_all_ignored_is_zero
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:63
Functiontest_all_ignored_tokens_give_zero_loss_and_gradients
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:179
Methodtest_all_overflow
(self, zero_stage, offload_optimizer)
tests/unit/runtime/half_precision/test_zero_optim_overflow.py:94
Methodtest_all_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:69
Methodtest_all_overflow
(self)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:203
Methodtest_all_reduce_fetch
(self)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:452
Functiontest_all_schedulers_covered_by_tensor_lr_contract
()
tests/unit/runtime/test_lr_schedulers.py:626
Methodtest_all_to_all
(self, monkeypatch, ep_size, expected_calls)
tests/unit/v1/moe/test_moe.py:296
Methodtest_all_to_all_rejects_non_divisible_heads_before_the_collective
(self)
tests/unit/v1/compile/test_compile_autosp.py:892
Functiontest_allocation
()
tests/unit/inference/v2/ragged/test_blocked_allocator.py:23
Functiontest_allocation_survives_until_all_views_dropped
(native_pins)
tests/unit/v1/pin_memory/test_pin_memory.py:87
Functiontest_allreduce_and_copy_records_stream_for_overlap_comm
(monkeypatch)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:71
Functiontest_allreduce_and_copy_with_multiple_ranks_records_consumer_buffers
(monkeypatch)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:100
Functiontest_allreduce_and_copy_with_multiple_ranks_records_only_local_buffers
(monkeypatch)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:83
Functiontest_allreduce_and_scatter_accepts_legacy_rank_tensor_buckets
()
tests/unit/v1/zero/test_zero2_gradient_safety.py:100
Methodtest_alltoall_output_consistency
(self, d0: int, d1: int, head_dim: int, num_heads: int)
tests/unit/v1/sequence_parallelism/test_ulysses.py:121
Methodtest_alltoall_output_consistency
(self, d0: int, d1: int, head_dim: int, num_heads: int)
tests/unit/v1/sequence_parallelism/test_ulysses.py:217
Methodtest_alpha_and_limit_come_from_the_model
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:588
Methodtest_already_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:470
Methodtest_already_init
(self, dist_init_required)
tests/unit/comm/test_dist.py:504
Methodtest_alternate_prefixes
Test tp_plan with non-layers prefix
tests/unit/module_inject/test_tp_plan_converter.py:151
Methodtest_alternate_projection_names
Test tp_plan with qkv and Wq/Wk/Wv style names
tests/unit/module_inject/test_tp_plan_converter.py:163
Functiontest_ambiguous_callable_requires_explicit_name
(clean_registry)
tests/unit/compile/test_pass_contract.py:137
Functiontest_an_exhausted_budget_refuses_the_whole_plan
A truncated plan is worse than no plan, because it looks like a completed transfer.
tests/unit/checkpoint/test_affine_transfer_plan.py:519
Functiontest_an_out_of_range_target_fails_the_triton_backend_instead_of_reading_another_row
A device-side assert poisons the CUDA context, so this runs in its own process.
tests/unit/v1/runtime/test_chunked_cross_entropy.py:256
Functiontest_an_out_of_range_target_raises_on_cpu
()
tests/unit/v1/runtime/test_chunked_cross_entropy.py:248
Functiontest_an_overflowed_gradient_does_not_enter_the_momentum
The unit of the behaviour, without a training loop around it.
tests/unit/v1/ops/muon/test_muon_overflow.py:33
Functiontest_an_unlisted_module_is_not_asked
Only listed modules are asked, whatever the class is called or carries. Same attributes and shapes as the Kimi-K3 layer, so the class name is the
tests/unit/runtime/zero/test_per_head_muon.py:690
Functiontest_an_unsharded_model_keeps_its_count
()
tests/unit/runtime/zero/test_per_head_muon.py:811
Functiontest_an_untagged_parameter_is_reported_rather_than_crashing_on_the_attribute
Without use_muon the old path logged an error and then died on `p.use_muon` two lines later.
tests/unit/runtime/zero/test_muon_param_groups.py:127
Functiontest_answers_that_could_change_what_arrives_are_refused
(answer)
tests/unit/checkpoint/test_affine_replica_policy.py:284
Functiontest_apex_amp_config_is_rejected
(amp_config)
tests/unit/runtime/test_ds_config_dict.py:309
Functiontest_apply_autotp_preserves_the_two_argument_pass_contract
`passes` is an extension point; its contract is (gm, real_inputs). Threading extra context to every pass unconditionally raises TypeError on any
tests/unit/compile/test_tp_compile.py:835
Functiontest_apply_rotary_pos_emb
(seq_len, dim, rotary_dim)
tests/unit/sequence/test_apply_rotary_pos_emb.py:31
Functiontest_apply_rotary_pos_emb_fused_gradient_correctness
When torchembed+CUDA are available, the fused path's gradient must numerically match the reference path's, not just be non-NaN with the right shap
tests/unit/sequence/test_apply_rotary_pos_emb.py:68
Functiontest_apply_rotary_pos_emb_grad_flow
(dtype)
tests/unit/sequence/test_apply_rotary_pos_emb.py:50
Functiontest_assignment_ordinals_are_stable_within_expert_segments
()
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:47
Functiontest_async_master_snapshot_preserves_updates_below_bf16_resolution
(master_key)
tests/unit/v1/moe/test_autoep_grad_parity.py:744
Functiontest_async_master_snapshot_requires_real_fp32_parameters
()
tests/unit/v1/moe/test_autoep_grad_parity.py:765
Functiontest_async_parity_accepts_one_percent_relative_error
()
tests/unit/v1/moe/test_autoep_grad_parity.py:739
Functiontest_async_parity_rejects_small_missing_or_reversed_signal
(field, scale)
tests/unit/v1/moe/test_autoep_grad_parity.py:727
Methodtest_async_read
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_gds.py:95
Methodtest_async_read
(self, tmpdir, use_cuda_pinned_tensor, single_submit, overlap_events, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:122
Methodtest_async_split_plan_matches_synchronous_step
(self, checkpoint_activations, non_default_stream)
tests/unit/v1/moe/test_autoep_grad_parity.py:779
Methodtest_async_split_plan_rejects_autotp_folding
(self)
tests/unit/v1/moe/test_autoep_unit.py:303
Methodtest_async_split_plan_requires_boolean
(self)
tests/unit/v1/moe/test_autoep_unit.py:295
Methodtest_async_write
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_gds.py:146
Methodtest_async_write
(self, tmpdir, use_cuda_pinned_tensor, single_submit, overlap_events, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:192
Functiontest_attention
(BATCH, H, N_CTX, D_HEAD, causal, use_flash, dtype=torch.float16)
tests/unit/ops/transformer/inference/test_attention.py:29
Functiontest_attention_dispatches_by_layer_type
()
tests/unit/inference/v2/model_implementations/test_exaone4_5.py:110
Functiontest_attention_uses_supplied_inverse_frequencies
()
tests/unit/inference/v2/model_implementations/test_exaone4_5.py:56
← previousnext →11,501–11,600 of 14,579, ranked by callers