MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

Methodtest_autoep_zero3_16bit_export_guard_directs_to_universal_conversion
(self)
tests/unit/v1/moe/test_autoep_unit.py:1063
Functiontest_autoep_zero3_eager_conversion_gates
()
tests/unit/runtime/zero/test_autoep_zero3_init.py:144
Functiontest_autoep_zero3_partitioned_experts_keep_muon_assignment
(monkeypatch)
tests/unit/runtime/zero/test_autoep_zero3_init.py:160
Functiontest_autoep_zero3_partitioned_experts_keep_optimizer_grouping
()
tests/unit/runtime/zero/test_autoep_zero3_init.py:180
Functiontest_autoep_zero3_partitions_each_replacement_before_next_allocation
(monkeypatch)
tests/unit/runtime/zero/test_autoep_zero3_init.py:50
Methodtest_autotp_engine_after_mesh_raises
(self, bring_own_mesh)
tests/unit/v1/autotp/test_autotp_multiple_models.py:208
Functiontest_autotp_reaches_autoep_shared_experts
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_runtime.py:94
Methodtest_autotp_size_above_kv_head_count_leaves_trailing_ranks_empty
Ranks beyond the KV head count hold no attention shard but still compute correctly.
tests/unit/v1/autotp/test_tp_plan_real_models.py:437
Methodtest_autotp_with_zero_pass_raises
(self)
tests/unit/compile/test_tp_compile.py:598
Methodtest_autotp_zero3_inference
(self, tp_size: int)
tests/unit/v1/autotp/test_autotp_training.py:900
Functiontest_autotuner_resources
(tmpdir, active_resources)
tests/unit/autotuning/test_autotuning.py:69
Functiontest_average_tensor_falls_back_to_current_stream_without_producers
(monkeypatch)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:171
Functiontest_average_tensor_waits_on_all_ipg_bucket_producer_streams
(monkeypatch)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:158
Functiontest_average_waits_all_producers_even_without_overlap
(monkeypatch, overlap)
tests/unit/v1/zero/test_zero2_gradient_safety.py:283
Functiontest_await_sandbox_start_gives_up_when_the_container_never_runs
()
ci/test_torch_latest.py:634
Functiontest_await_sandbox_start_reports_startup_duration
()
ci/test_torch_latest.py:646
Functiontest_aws_acquisition_advances_only_for_explicit_capacity
()
ci/test_torch_latest.py:849
Functiontest_aws_backend_startup_uses_one_absolute_deadline
()
ci/test_torch_latest.py:1017
Functiontest_aws_config_requires_fixed_complete_region_order
()
ci/test_torch_latest.py:836
Functiontest_aws_controller_capacity_exhaustion_and_prepare_failure_are_not_retried_as_tests
()
ci/test_torch_latest.py:1086
Functiontest_aws_controller_entrypoint_timeout_tracebacks_redact_command_arguments
()
ci/test_torch_latest.py:1654
Functiontest_aws_controller_runs_one_backend_and_always_terminates
()
ci/test_torch_latest.py:1043
Functiontest_aws_infrastructure_smoke_is_region_scoped_and_has_no_test_execution
()
ci/test_torch_latest.py:913
Functiontest_aws_infrastructure_smoke_log_upload_is_required_and_sanitized
()
ci/test_torch_latest.py:967
Functiontest_aws_logs_redact_private_identifiers_and_cli_text
()
ci/test_torch_latest.py:1618
Functiontest_aws_prepare_failure_emits_bounded_s3_tail
()
ci/test_torch_latest.py:1507
Functiontest_aws_s3_tail_timeout_preserves_test_timeout_and_cleanup
()
ci/test_torch_latest.py:1533
Functiontest_aws_scripts_reuse_full_selection_manifest_and_two_gpu_contract
()
ci/test_torch_latest.py:893
Functiontest_aws_test_deadlines_and_terminal_timeouts_are_classified_as_timeouts
()
ci/test_torch_latest.py:1570
Functiontest_aws_test_failure_emits_bounded_s3_tail_for_nightly_triage
()
ci/test_torch_latest.py:1469
Functiontest_backend_setup_failure_after_native_init_cleans_once
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:384
Methodtest_backward
(self, is_preln, use_fp16, batch_size, hidden_size, seq_len, heads, num_layers, atol)
tests/unit/ops/accelerators/test_accelerator_backward.py:263
Functiontest_backward_config_compatibility_defaults_etp_to_one
()
tests/unit/v1/moe/test_autoep_autotp_folding_config.py:40
Functiontest_backward_matches_reference
(dtype, shape)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:74
Functiontest_backward_matches_reference
(counts, K, N, dtype)
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:204
Methodtest_backward_recompute_release_does_not_mutate_cached_forward_release
(self)
tests/unit/runtime/zero/test_zero_params_to_release_cache.py:185
Methodtest_backward_skips_zero_deepcompile_hooks
(self, monkeypatch)
tests/unit/v1/compile/test_compile_autosp.py:785
Methodtest_backward_with_autocast
Backward with autocast should produce float32 gradients (autocast only affects forward).
tests/unit/v1/zero/test_zero_functorch_linear.py:140
Methodtest_backward_without_autocast
Backward without autocast should produce float32 gradients.
tests/unit/v1/zero/test_zero_functorch_linear.py:124
Functiontest_bad_act_fn
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:124
Functiontest_bad_alignment
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:130
Functiontest_bad_dtype
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:118
Functiontest_bad_fork_jit_without_arch_list_raises_actionable_error
()
tests/unit/ops/test_op_builder.py:77
Functiontest_bad_initialization
(bad_size: int)
tests/unit/inference/v2/ragged/test_blocked_allocator.py:17
Functiontest_balance_bert
()
tests/unit/runtime/utils/test_partition.py:186
Methodtest_base_class_raises_not_implemented
The base _splice_visual_into_text must raise NotImplementedError.
deepspeed/sequence/test_autosp.py:288
Functiontest_bash_string_args
(tmpdir, user_script_fp)
tests/unit/launcher/test_user_args.py:73
Methodtest_batch_padding_when_lengths_differ
Samples with different numbers of image tokens are padded to max length.
deepspeed/sequence/test_autosp.py:469
Methodtest_batch_parameter_order_must_match
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:220
Functiontest_bf16_hp_grad_update_uses_folded_correction_before_hp_buffer
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_bf16_folding_parity.py:35
Functiontest_bf16_immediate_grad_update_corrects_every_consumed_gradient
(monkeypatch, micro_batches)
tests/unit/v1/moe/test_autoep_autotp_bf16_folding_parity.py:71
Functiontest_bf16_inputs_match_fp32_reference
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:344
Functiontest_bf16_kernels_are_built_for_pre_ampere_targets_only_from_nvcc_12_2
(arch_list, nvcc_version, expect_bf16)
tests/unit/ops/test_op_builder.py:187
Methodtest_bf16_optimizer
(self, num_models, shared_loss)
tests/unit/runtime/test_multiple_models.py:111
Methodtest_bf16_optimizer_fragments
(self, frozen_weights)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:242
Functiontest_bf16_optimizer_reports_invalid_step_and_recovers
(monkeypatch)
tests/unit/v1/zero/test_invalid_grad_norm.py:124
Methodtest_bf16_optimizer_runs_muon_after_accumulation
(self, ns_method)
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:159
Methodtest_bf16_optimizer_states_dtype
fp32_optimizer_states=False keeps the Adam moments in the bf16 parameter precision.
tests/unit/ops/adam/test_cpu_adam.py:504
Methodtest_bf16_optimizer_states_match_fp32
bf16 moments should track fp32 moments within bf16 tolerance over several steps.
tests/unit/ops/adam/test_cpu_adam.py:520
Functiontest_bf16_optimizer_uc_info_comes_from_cached_state
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:664
Methodtest_bf16_with_fp32_accumulation_trains
(self, zero_stage, hidden_dim, padded)
tests/unit/v1/ops/muon/test_muon_checkpoint.py:146
Functiontest_bias_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:34
Functiontest_bias_add
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_add.py:33
Functiontest_bias_add_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:54
Functiontest_bias_add_bias_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:77
Methodtest_bias_correction_off_in_checkpoint_is_rejected
A checkpoint saved with bias_correction=False restores it to the param groups of the CPU optimizer.
tests/unit/v1/zero/test_zero_partial_offload.py:242
Methodtest_bias_correction_off_is_rejected
(self)
tests/unit/v1/zero/test_zero_partial_offload.py:236
Functiontest_bias_geglu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_geglu.py:36
Functiontest_bias_gelu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_gelu.py:36
Functiontest_bias_relu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_relu.py:34
Functiontest_bigcode_highest_holder_still_needs_seven_segments
()
tests/unit/checkpoint/test_affine_transfer_plan.py:177
Functiontest_bigcode_kv_block_is_replicated_in_the_map
The kv piece names every rank, which is what one partition dimension could not say.
tests/unit/checkpoint/test_affine_shard_map.py:955
Functiontest_bigcode_layer_map_matches_the_real_partition
GPTBigCode shards the query rows and replicates the key/value block to every rank.
tests/unit/checkpoint/test_affine_shard_map.py:932
Functiontest_bigcode_map_uses_the_widths_the_partition_uses
The query rows are not divided evenly, so the map cannot assume they are. `get_shard_size_list` aligns the split to the head count, giving widths
tests/unit/checkpoint/test_affine_shard_map.py:1113
Functiontest_bigcode_physical_folding_keeps_lowest_holder
()
tests/unit/checkpoint/test_affine_transfer_plan.py:144
Functiontest_bigcode_selector_can_choose_target_private_query_holder
()
tests/unit/checkpoint/test_affine_transfer_plan.py:158
Functiontest_bigcode_selector_rejects_invalid_rank
(invalid_rank)
tests/unit/checkpoint/test_affine_transfer_plan.py:189
Functiontest_bigcode_weight_is_no_longer_refused_by_conversion
The layer must actually publish the map, not merely be able to build one. The geometry tests cover `segmented_map` itself, so a hook that never f
tests/unit/checkpoint/test_affine_shard_map.py:1171
Functiontest_blas_linear
(fp_dtype: torch.dtype, problem_shape: Tuple[int, int, int, int])
tests/unit/inference/v2/kernels/core_ops/test_blas_linear.py:44
Functiontest_blas_linear_act_fn
(act_fn: ActivationType, use_bias: bool)
tests/unit/inference/v2/modules/test_blas_linear_module.py:109
Functiontest_blas_linear_shapes
(tokens: int, in_channels: int, out_channels: int)
tests/unit/inference/v2/modules/test_blas_linear_module.py:91
Functiontest_blas_linear_t
(fp_dtype: torch.dtype, problem_shape: Tuple[int, int, int, int])
tests/unit/inference/v2/kernels/core_ops/test_blas_linear.py:62
Functiontest_blocking_aio_releases_gil
(tmp_path, operation_name)
tests/unit/v1/nvme/test_aio_gil.py:45
Methodtest_bloom_alibi_uses_original_total_after_injection
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:844
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:409
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_boxes_disjoint_agrees_with_all_pairs
(seed)
tests/unit/checkpoint/test_affine_transfer_plan.py:905
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_accesses_are_ordered_across_hook_streams
(monkeypatch, overlap, cpu_offload)
tests/unit/v1/zero/test_zero2_gradient_safety.py:311
Functiontest_bucket_reuse_waits_for_previous_consumer
(monkeypatch, producers)
tests/unit/v1/zero/test_zero2_gradient_safety.py:483
Functiontest_bucketed_prefill_refills_fixed_graph_slot_on_accelerator
(monkeypatch, align_decode_fronts)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:993
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
← previousnext →12,401–12,500 of 15,767, ranked by callers