Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Function
test_aws_controller_capacity_exhaustion_and_prepare_failure_are_not_retried_as_tests
()
ci/test_torch_latest.py:1086
Function
test_aws_controller_entrypoint_timeout_tracebacks_redact_command_arguments
()
ci/test_torch_latest.py:1654
Function
test_aws_controller_runs_one_backend_and_always_terminates
()
ci/test_torch_latest.py:1043
Function
test_aws_infrastructure_smoke_is_region_scoped_and_has_no_test_execution
()
ci/test_torch_latest.py:913
Function
test_aws_infrastructure_smoke_log_upload_is_required_and_sanitized
()
ci/test_torch_latest.py:967
Function
test_aws_logs_redact_private_identifiers_and_cli_text
()
ci/test_torch_latest.py:1618
Function
test_aws_prepare_failure_emits_bounded_s3_tail
()
ci/test_torch_latest.py:1507
Function
test_aws_s3_tail_timeout_preserves_test_timeout_and_cleanup
()
ci/test_torch_latest.py:1533
Function
test_aws_scripts_reuse_full_selection_manifest_and_two_gpu_contract
()
ci/test_torch_latest.py:893
Function
test_aws_test_deadlines_and_terminal_timeouts_are_classified_as_timeouts
()
ci/test_torch_latest.py:1570
Function
test_aws_test_failure_emits_bounded_s3_tail_for_nightly_triage
()
ci/test_torch_latest.py:1469
Function
test_backend_setup_failure_after_native_init_cleans_once
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:384
Method
test_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
Function
test_backward_config_compatibility_defaults_etp_to_one
()
tests/unit/v1/moe/test_autoep_autotp_folding_config.py:40
Function
test_backward_matches_reference
(dtype, shape)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:74
Function
test_backward_matches_reference
(counts, K, N, dtype)
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:204
Method
test_backward_skips_zero_deepcompile_hooks
(self, monkeypatch)
tests/unit/v1/compile/test_compile_autosp.py:785
Method
test_backward_with_autocast
Backward with autocast should produce float32 gradients (autocast only affects forward).
tests/unit/v1/zero/test_zero_functorch_linear.py:140
Method
test_backward_without_autocast
Backward without autocast should produce float32 gradients.
tests/unit/v1/zero/test_zero_functorch_linear.py:124
Function
test_bad_act_fn
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:124
Function
test_bad_alignment
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:130
Function
test_bad_dtype
()
tests/unit/inference/v2/kernels/core_ops/test_gated_activation.py:118
Function
test_bad_fork_jit_without_arch_list_raises_actionable_error
()
tests/unit/ops/test_op_builder.py:77
Function
test_bad_initialization
(bad_size: int)
tests/unit/inference/v2/ragged/test_blocked_allocator.py:17
Function
test_balance_bert
()
tests/unit/runtime/utils/test_partition.py:186
Method
test_base_class_raises_not_implemented
The base _splice_visual_into_text must raise NotImplementedError.
deepspeed/sequence/test_autosp.py:288
Function
test_bash_string_args
(tmpdir, user_script_fp)
tests/unit/launcher/test_user_args.py:73
Method
test_batch_padding_when_lengths_differ
Samples with different numbers of image tokens are padded to max length.
deepspeed/sequence/test_autosp.py:469
Method
test_batch_parameter_order_must_match
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:220
Function
test_bf16_hp_grad_update_uses_folded_correction_before_hp_buffer
(monkeypatch)
tests/unit/v1/moe/test_autoep_autotp_bf16_folding_parity.py:35
Function
test_bf16_immediate_grad_update_corrects_every_consumed_gradient
(monkeypatch, micro_batches)
tests/unit/v1/moe/test_autoep_autotp_bf16_folding_parity.py:71
Function
test_bf16_inputs_match_fp32_reference
()
tests/unit/v1/sequence_parallelism/test_vocab_parallel_ops.py:344
Function
test_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
Method
test_bf16_optimizer
(self, num_models, shared_loss)
tests/unit/runtime/test_multiple_models.py:111
Method
test_bf16_optimizer_fragments
(self, frozen_weights)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:242
Function
test_bf16_optimizer_reports_invalid_step_and_recovers
(monkeypatch)
tests/unit/v1/zero/test_invalid_grad_norm.py:124
Method
test_bf16_optimizer_runs_muon_after_accumulation
(self, ns_method)
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:159
Method
test_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:375
Method
test_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:391
Function
test_bf16_optimizer_uc_info_comes_from_cached_state
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:664
Method
test_bf16_with_fp32_accumulation_trains
(self, zero_stage, hidden_dim, padded)
tests/unit/v1/ops/muon/test_muon_checkpoint.py:146
Function
test_bias_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:34
Function
test_bias_add
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_add.py:33
Function
test_bias_add_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:54
Function
test_bias_add_bias_add
(batch, image_size, channels)
tests/unit/ops/spatial/test_nhwc_bias_add.py:77
Method
test_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
Method
test_bias_correction_off_is_rejected
(self)
tests/unit/v1/zero/test_zero_partial_offload.py:236
Function
test_bias_geglu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_geglu.py:36
Function
test_bias_gelu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_gelu.py:36
Function
test_bias_relu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_relu.py:34
Function
test_bigcode_highest_holder_still_needs_seven_segments
()
tests/unit/checkpoint/test_affine_transfer_plan.py:177
Function
test_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
Function
test_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
Function
test_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
Function
test_bigcode_physical_folding_keeps_lowest_holder
()
tests/unit/checkpoint/test_affine_transfer_plan.py:144
Function
test_bigcode_selector_can_choose_target_private_query_holder
()
tests/unit/checkpoint/test_affine_transfer_plan.py:158
Function
test_bigcode_selector_rejects_invalid_rank
(invalid_rank)
tests/unit/checkpoint/test_affine_transfer_plan.py:189
Function
test_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
Function
test_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
Function
test_blas_linear_act_fn
(act_fn: ActivationType, use_bias: bool)
tests/unit/inference/v2/modules/test_blas_linear_module.py:109
Function
test_blas_linear_shapes
(tokens: int, in_channels: int, out_channels: int)
tests/unit/inference/v2/modules/test_blas_linear_module.py:91
Function
test_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
Function
test_blocking_aio_releases_gil
(tmp_path, operation_name)
tests/unit/v1/nvme/test_aio_gil.py:45
Method
test_bloom_alibi_uses_original_total_after_injection
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:844
Function
test_boundary_first_offload_preserves_owned_fragment_and_accumulation_dtype
(low_precision, source_offset,
tests/unit/v1/zero/test_zero2_gradient_safety.py:200
Method
test_boundary_microbatch_grad_is_reduced
(self)
tests/unit/v1/zero/test_zero.py:284
Function
test_boundary_offload_can_be_finalized_without_another_backward
(low_precision)
tests/unit/v1/zero/test_zero2_gradient_safety.py:160
Method
test_boundary_tokens_preserved
IMG_START and IMG_END embeddings must be unchanged after splice.
deepspeed/sequence/test_autosp.py:547
Method
test_boundary_tokens_preserved
vision_start and vision_end embeddings must be unchanged after splice.
deepspeed/sequence/test_autosp.py:658
Method
test_bounded_gather_matches_unbucketed_training
(self, zero_stage)
tests/unit/v1/ops/muon/test_muon.py:233
Function
test_boxes_disjoint_agrees_with_all_pairs
(seed)
tests/unit/checkpoint/test_affine_transfer_plan.py:905
Function
test_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
Function
test_btl_nic_openmpi_runner
(runner_info)
tests/unit/launcher/test_multinode_runner.py:40
Function
test_btl_nic_two_dashes_openmpi_runner
(runner_info)
tests/unit/launcher/test_multinode_runner.py:49
Function
test_bucket_accesses_are_ordered_across_hook_streams
(monkeypatch, overlap, cpu_offload)
tests/unit/v1/zero/test_zero2_gradient_safety.py:311
Function
test_bucket_reuse_waits_for_previous_consumer
(monkeypatch, producers)
tests/unit/v1/zero/test_zero2_gradient_safety.py:483
Function
test_bucketed_prefill_refills_fixed_graph_slot_on_accelerator
(monkeypatch, align_decode_fronts)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:477
Method
test_buffer_dtype_does_not_cast_listed_buffers
(self, zero_stage)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:172
Method
test_buffer_dtype_forces_cast
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:102
Method
test_buffer_dtype_opt_in
(self, zero_stage)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:170
Method
test_buffer_dtype_string_resolution
(self, cfg_str, expected)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:66
Function
test_buffer_is_shared_across_handles
()
tests/unit/v1/nvme/test_pinned_manager.py:36
Function
test_buffer_key_shared_across_strides
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:403
Method
test_buffer_preserved_by_default
(self, zero_stage)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:162
Method
test_buffer_round_trip
(self, tmp_path, zero_stage, dtype)
tests/unit/checkpoint/test_convert_checkpoint.py:215
Function
test_builtin_conflicts_name_registered_passes
()
tests/unit/compile/test_pass_contract.py:149
Function
test_builtin_default_schedules_validate
(builtin_registry)
tests/unit/compile/test_pass_contract.py:155
Method
test_builtin_presets_name_their_form
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:1042
Function
test_bwd_insertion_reloads_at_graph_end
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:246
Function
test_bwd_keeps_the_copy_late_when_memory_is_tight
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:863
Function
test_bwd_reloads_before_first_use_and_rewrites_readers
(forced_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:828
Function
test_bwd_reloads_just_in_time_when_the_profile_is_missing
(forced_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:879
Function
test_bwd_starts_the_copy_early_enough_to_hide_it
(ample_budget, monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:848
Function
test_bwd_without_a_plan_is_skipped
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:899
Method
test_byte_cast_accelerator_tensor
(self, dtype)
tests/unit/utils/test_byte_cast.py:47
Method
test_byte_cast_accelerator_tensor_list
(self, tensor_count)
tests/unit/utils/test_byte_cast.py:66
Method
test_byte_cast_cpu_tensor
(self, dtype, pinned_memory)
tests/unit/utils/test_byte_cast.py:53
Method
test_byte_cast_cpu_tensor_list
(self, tensor_count)
tests/unit/utils/test_byte_cast.py:70
Function
test_calc_bw_log_supports_object_and_list_collectives
(monkeypatch, comm_op, world_size)
tests/unit/comm/test_comms_logger.py:243
Function
test_call
csrc/compile/z3.cpp:665
← previous
next →
12,201–12,300 of 15,468, ranked by callers