Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
14,579 in github.com/deepspeedai/DeepSpeed
⨍
Functions
14,579
◇
Types & classes
2,353
↳
Endpoints
92
Method
test_rank_dependent_param_order
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:92
Function
test_rank_local_expert_count_must_match_layer_entry
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:97
Function
test_rank_local_placement_must_match_runtime_packing
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:81
Method
test_ranks_disagreeing_about_the_schedule_refuse_everywhere
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:109
Method
test_read
(self, tmpdir, async_queue)
tests/unit/v1/nvme/test_gds.py:176
Method
test_read
(self, tmpdir, async_queue, use_cuda_pinned_tensor, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:235
Method
test_read
(self, tmpdir, use_cuda_pinned_tensor, layout)
tests/unit/v1/nvme/test_aio.py:442
Function
test_readme_check_rejects_missing_or_invalid_utf8
()
ci/test_tests_fetcher.py:272
Function
test_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:33
Function
test_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/module_inject/test_llama_rope_theta.py:26
Function
test_reads_rope_scaling_when_that_is_the_only_dict
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:39
Function
test_reads_the_legacy_attribute
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:29
Function
test_reads_the_legacy_config_attribute
()
tests/unit/module_inject/test_llama_rope_theta.py:20
Function
test_real_guard_builder_source_resolution_suppresses_gather
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:49
Function
test_real_vocabulary_backward_peak_drops_by_the_float32_tensors
A bounded real-vocabulary case preserves accuracy and rejects stock-loss memory use.
tests/unit/v1/runtime/test_chunked_cross_entropy.py:376
Method
test_rebuild_inverts_extract
Rebuilding from the shards returns the parameter the shards were cut from.
tests/unit/checkpoint/test_affine_shard_map.py:204
Method
test_recompute_forward_exception_unwinds_for_clean_retry
An exception during replay must unwind the GraphTask so a retry starts clean.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:403
Function
test_recompute_param_aliases_leaves_unrelated_activations_to_min_cut
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:13
Function
test_recompute_param_aliases_preserves_existing_non_param_policy
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:31
Method
test_recomputed_parameter_releases_at_last_activation_consumer
Frozen param should release at its real backward consumer, not at outer cleanup.
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:335
Function
test_record_stream_is_separate_from_readiness
(monkeypatch)
tests/unit/v1/zero/test_zero2_gradient_safety.py:369
Method
test_reduce_scatter
(self, reduce_scatter)
tests/unit/v1/zero/test_zero.py:996
Function
test_reduction_and_offload_consume_owned_oversized_buffer
()
tests/unit/v1/zero/test_zero2_gradient_safety.py:217
Method
test_reentrant_checkpointed_engine_branches_are_scaled_once
(self)
tests/unit/runtime/zero/test_zero_shared_loss_gradient.py:168
Method
test_reentrant_recompute_dispatches_afresh
(self)
tests/unit/module_inject/test_auto_ep_comm.py:976
Method
test_reentry
(self)
tests/unit/runtime/test_no_sync_ctxt.py:185
Function
test_refuses_a_config_whose_layer_types_disagree
Callers feed one ``RotateHalfConfig.theta_base`` for the whole model. Picking either base would be wrong for the layers using the other one, so t
tests/unit/inference/v2/model_implementations/test_rope_theta.py:82
Method
test_regional_compile_matches_eager
(self, checkpoint_enabled, model_layout, async_split_plan)
tests/unit/v1/moe/test_autoep_grad_parity.py:491
Function
test_register_and_get
(clean_registry)
tests/unit/compile/test_pass_contract.py:52
Function
test_register_custom_ops_defines_every_op_it_registers
register_custom_ops must not raise when only _define_dc_ops has run. It registers each dc op in sequence, so an op the helper does not define rai
tests/unit/v1/compile/test_list_schedule.py:574
Function
test_register_custom_ops_includes_graphsafe_rng_state_no_reuse
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:599
Method
test_register_hub_kernel_attn
Test hub-kernel attention strings are registered before validation. This verifies that DeepSpeed can accept kernel-based attention implementa
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:307
Function
test_register_offload_ops_idempotent
()
tests/unit/v1/compile/test_offload_opt_states.py:106
Function
test_register_ops_adds_meta_kernels
()
tests/unit/v1/compile/test_offload_activation.py:343
Method
test_register_with_mismatched_attn_impl_raises
(self)
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:360
Method
test_registered_form_is_selectable_everywhere
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:163
Function
test_registered_workflows_select_from_the_v1_scope
Every registered workflow must narrow to the v1 tree it actually runs.
ci/test_tests_fetcher.py:669
Method
test_rejected_write
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_aio.py:499
Method
test_rejects_a_negative_qp_margin
(self)
tests/unit/module_inject/test_auto_ep_comm.py:85
Function
test_rejects_a_scaled_variant_in_legacy_rope_scaling
transformers 4.x keeps this in `rope_scaling`, and both spellings of the key are in use.
tests/unit/inference/v2/model_implementations/test_rope_theta.py:149
Function
test_rejects_a_scaled_variant_in_rope_parameters
(rope_type)
tests/unit/inference/v2/model_implementations/test_rope_theta.py:141
Function
test_rejects_a_scaled_variant_nested_per_layer_type
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:157
Method
test_rejects_a_zero_sm_budget
(self)
tests/unit/module_inject/test_auto_ep_comm.py:78
Method
test_rejects_bare_autoep_model_root
(self)
tests/unit/v1/moe/test_autoep_unit.py:1270
Method
test_rejects_changed_mesh
(self, monkeypatch)
tests/unit/v1/compile/test_compile_autosp.py:209
Method
test_rejects_fp16
(self)
tests/unit/module_inject/test_auto_ep_comm.py:100
Method
test_rejects_fp32
(self)
tests/unit/module_inject/test_auto_ep_comm.py:105
Method
test_rejects_incomplete_quantization_group
(self, shape)
tests/unit/linear/test_quant_param.py:79
Method
test_rejects_mask_with_sharded_key_dimension
(self)
tests/unit/v1/compile/test_compile_autosp.py:488
Method
test_rejects_mesh_not_covering_world
(self, monkeypatch, sp_size, dp_size)
tests/unit/v1/compile/test_compile_autosp.py:221
Method
test_rejects_model_without_autoep_layers
(self)
tests/unit/v1/moe/test_autoep_unit.py:1275
Method
test_rejects_non_callable_parent_region
(self)
tests/unit/v1/moe/test_autoep_unit.py:1279
Method
test_rejects_non_contiguous_vocab_shards
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:201
Method
test_rejects_non_divisible_attention_heads
(self, num_heads, num_kv_heads, role, bad_heads)
tests/unit/v1/compile/test_compile_autosp.py:872
Method
test_rejects_non_positive_mesh_dimensions
(self, monkeypatch, sp_size, dp_size)
tests/unit/v1/compile/test_compile_autosp.py:237
Function
test_rejects_nvme_offloaded_zero3_parameter_storage
(accessor)
tests/unit/checkpoint/test_zero_affine.py:75
Function
test_rejects_other_offload_targets
()
tests/unit/v1/compile/test_offload_activation.py:908
Function
test_rejects_quantized_zero3_parameter_storage
(accessor)
tests/unit/checkpoint/test_zero_affine.py:62
Function
test_rejects_shapes_that_do_not_split_into_heads
()
tests/unit/runtime/zero/test_per_head_muon.py:132
Function
test_rejects_storage_that_cannot_hold_the_parameter
(numel, holders, partition)
tests/unit/checkpoint/test_zero_affine.py:56
Method
test_rejects_unknown_backend
(self)
tests/unit/module_inject/test_auto_ep_comm.py:70
Method
test_rejects_unsupported_compile_kwargs
(self, compile_kwargs, match)
tests/unit/v1/moe/test_autoep_unit.py:1344
Function
test_rejects_zero_optimizer_offload
(offload_device, rejected)
tests/unit/v1/compile/test_offload_opt_states.py:84
Method
test_release_option_controls_residency_without_changing_results
(self)
tests/unit/v1/zero/test_zero_offload_accum_precision.py:200
Function
test_reload_optimizer_states_returns_host_sources
Callers need the replaced host tensors to outlive a non-blocking copy.
tests/unit/v1/pin_memory/test_offload_route.py:71
Function
test_reload_states_holds_pin_buffers_until_sync
ZeRO-1/2 reload must not free native pinned sources while copies are in flight.
tests/unit/v1/pin_memory/test_offload_route.py:93
Method
test_remap_is_a_noop_when_nothing_was_replaced
Without a module replacement the caller's optimizer must be left exactly as it was.
tests/unit/v1/moe/test_autoep_unit.py:2614
Function
test_remote_output_is_prefixed_escaped_capped_and_drained
()
ci/test_torch_latest.py:786
Function
test_remote_plan_is_structural_and_preserves_order_and_scope
()
ci/test_torch_latest.py:549
Function
test_renames_between_code_and_documentation_select_tests
()
ci/test_tests_fetcher.py:228
Function
test_repeated_engine_destroy_cleans_native_state_once_and_deactivates
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:361
Function
test_repeated_profile_restores_operations
()
tests/unit/profiling/flops_profiler/test_flops_profiler.py:30
Function
test_repeating_loader
()
tests/unit/runtime/test_data.py:15
Function
test_replace_module_preserves_metadata_for_unsharded_subtree
(monkeypatch)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:549
Function
test_replace_rms_norm_checkpoint_loads_in_a_fresh_process
(tmp_path, dispatcher_installed)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:463
Function
test_replace_rms_norm_copy_uses_its_own_epsilon
(copy_module)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:622
Method
test_replace_rms_norm_copy_uses_its_own_epsilon
(self, copy_module)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:673
Method
test_replace_rms_norm_data_parallel_matches_eager_training
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:681
Method
test_replace_rms_norm_fuses_supported_norms
(self, qualified_name)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:686
Function
test_replace_rms_norm_leaves_norms_wider_than_the_kernels_alone
()
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:383
Function
test_replace_rms_norm_leaves_other_forwards_untouched
(build, monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:350
Function
test_replace_rms_norm_model_round_trip_preserves_outputs_and_gradients
()
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:626
Method
test_replace_rms_norm_model_round_trip_preserves_outputs_and_gradients
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:677
Function
test_replace_rms_norm_runs_the_eager_forward_for_cpu_inputs
(qualified_name)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:366
Method
test_replace_rms_norm_runs_the_kernels_only_where_they_apply
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:690
Function
test_replace_walks_the_model_and_keeps_parameter_names
()
tests/unit/v1/models/test_glm_moe_dsa.py:195
Method
test_replaced_block_matches_hf_block
(self, route, std)
tests/unit/v1/moe/test_autoep_expert_activation.py:709
Function
test_replaced_submodule_is_released
()
tests/unit/utils/test_debug_name_maps.py:53
Function
test_replacement_matches_transformers_module
()
tests/unit/v1/models/test_glm_moe_dsa.py:144
Method
test_replacements_join_the_group_their_source_was_in
The replacements must follow their source group, not fall back to group 0.
tests/unit/v1/moe/test_autoep_unit.py:2539
Method
test_replacements_whose_sources_were_not_optimized_are_left_out
A replacement is added only if its own sources were in a param group. Layer 0's MoE block is optimized, layer 1's is not. Layer 0's replaceme
tests/unit/v1/moe/test_autoep_unit.py:2789
Function
test_replica_declarations_match_each_partial_region
()
tests/unit/checkpoint/test_affine_transfer_plan.py:623
Function
test_replicas_cut_at_different_boundaries_are_compared_in_full
()
tests/unit/checkpoint/test_affine_shard_map.py:616
Function
test_replicas_list_every_holder
()
tests/unit/checkpoint/test_zero_affine.py:24
Function
test_replicated_map_carries_the_scale
The layouts that pre-divide a value replicate it whole, so the scale belongs here. A row-parallel layer divides its bias by the world size and gi
tests/unit/checkpoint/test_affine_shard_map.py:860
Function
test_replicated_piece_is_shared_by_every_rank
GPTBigCode gives every rank the same kv block, which one owner per parameter cannot say. The kv rows appear in every rank's shard, so describing
tests/unit/checkpoint/test_affine_shard_map.py:231
Function
test_replication_disagreement_with_different_local_order_fails
()
tests/unit/checkpoint/test_autoep_affine.py:128
Function
test_replication_records_exact_holders_and_stops_piece_merging
()
tests/unit/checkpoint/test_autoep_affine.py:110
Function
test_repository_and_sha_validation
()
ci/test_torch_latest.py:336
Function
test_requests_arrive_in_a_fixed_order_with_processes_and_bytes
()
tests/unit/checkpoint/test_affine_replica_policy.py:135
← previous
next →
13,401–13,500 of 14,579, ranked by callers