MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodtest_rank_dependent_param_order
(self)
tests/unit/runtime/zero/test_zero_stale_handle_wait.py:92
Functiontest_rank_local_expert_count_must_match_layer_entry
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:97
Functiontest_rank_local_placement_must_match_runtime_packing
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:81
Methodtest_ranks_disagreeing_about_the_schedule_refuse_everywhere
(self)
tests/unit/checkpoint/test_affine_transfer_executor.py:109
Methodtest_read
(self, tmpdir, async_queue)
tests/unit/v1/nvme/test_gds.py:176
Methodtest_read
(self, tmpdir, async_queue, use_cuda_pinned_tensor, use_unpinned_tensor)
tests/unit/v1/nvme/test_aio.py:235
Methodtest_read
(self, tmpdir, use_cuda_pinned_tensor, layout)
tests/unit/v1/nvme/test_aio.py:442
Functiontest_readme_check_rejects_missing_or_invalid_utf8
()
ci/test_tests_fetcher.py:272
Functiontest_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:33
Functiontest_reads_rope_parameters_when_the_attribute_is_gone
()
tests/unit/module_inject/test_llama_rope_theta.py:26
Functiontest_reads_rope_scaling_when_that_is_the_only_dict
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:39
Functiontest_reads_the_legacy_attribute
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:29
Functiontest_reads_the_legacy_config_attribute
()
tests/unit/module_inject/test_llama_rope_theta.py:20
Functiontest_real_guard_builder_source_resolution_suppresses_gather
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:49
Functiontest_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
Methodtest_rebuild_inverts_extract
Rebuilding from the shards returns the parameter the shards were cut from.
tests/unit/checkpoint/test_affine_shard_map.py:204
Methodtest_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
Functiontest_recompute_param_aliases_leaves_unrelated_activations_to_min_cut
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:13
Functiontest_recompute_param_aliases_preserves_existing_non_param_policy
(monkeypatch)
tests/unit/v1/compile/test_partitioner.py:31
Methodtest_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
Functiontest_record_stream_is_separate_from_readiness
(monkeypatch)
tests/unit/v1/zero/test_zero2_gradient_safety.py:369
Methodtest_reduce_scatter
(self, reduce_scatter)
tests/unit/v1/zero/test_zero.py:996
Functiontest_reduction_and_offload_consume_owned_oversized_buffer
()
tests/unit/v1/zero/test_zero2_gradient_safety.py:217
Methodtest_reentrant_checkpointed_engine_branches_are_scaled_once
(self)
tests/unit/runtime/zero/test_zero_shared_loss_gradient.py:168
Methodtest_reentrant_recompute_dispatches_afresh
(self)
tests/unit/module_inject/test_auto_ep_comm.py:976
Methodtest_reentry
(self)
tests/unit/runtime/test_no_sync_ctxt.py:185
Functiontest_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
Methodtest_regional_compile_matches_eager
(self, checkpoint_enabled, model_layout, async_split_plan)
tests/unit/v1/moe/test_autoep_grad_parity.py:491
Functiontest_register_and_get
(clean_registry)
tests/unit/compile/test_pass_contract.py:52
Functiontest_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
Functiontest_register_custom_ops_includes_graphsafe_rng_state_no_reuse
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:599
Methodtest_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
Functiontest_register_offload_ops_idempotent
()
tests/unit/v1/compile/test_offload_opt_states.py:106
Functiontest_register_ops_adds_meta_kernels
()
tests/unit/v1/compile/test_offload_activation.py:343
Methodtest_register_with_mismatched_attn_impl_raises
(self)
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:360
Methodtest_registered_form_is_selectable_everywhere
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:163
Functiontest_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
Methodtest_rejected_write
(self, tmpdir, single_submit, overlap_events)
tests/unit/v1/nvme/test_aio.py:499
Methodtest_rejects_a_negative_qp_margin
(self)
tests/unit/module_inject/test_auto_ep_comm.py:85
Functiontest_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
Functiontest_rejects_a_scaled_variant_in_rope_parameters
(rope_type)
tests/unit/inference/v2/model_implementations/test_rope_theta.py:141
Functiontest_rejects_a_scaled_variant_nested_per_layer_type
()
tests/unit/inference/v2/model_implementations/test_rope_theta.py:157
Methodtest_rejects_a_zero_sm_budget
(self)
tests/unit/module_inject/test_auto_ep_comm.py:78
Methodtest_rejects_bare_autoep_model_root
(self)
tests/unit/v1/moe/test_autoep_unit.py:1270
Methodtest_rejects_changed_mesh
(self, monkeypatch)
tests/unit/v1/compile/test_compile_autosp.py:209
Methodtest_rejects_fp16
(self)
tests/unit/module_inject/test_auto_ep_comm.py:100
Methodtest_rejects_fp32
(self)
tests/unit/module_inject/test_auto_ep_comm.py:105
Methodtest_rejects_incomplete_quantization_group
(self, shape)
tests/unit/linear/test_quant_param.py:79
Methodtest_rejects_mask_with_sharded_key_dimension
(self)
tests/unit/v1/compile/test_compile_autosp.py:488
Methodtest_rejects_mesh_not_covering_world
(self, monkeypatch, sp_size, dp_size)
tests/unit/v1/compile/test_compile_autosp.py:221
Methodtest_rejects_model_without_autoep_layers
(self)
tests/unit/v1/moe/test_autoep_unit.py:1275
Methodtest_rejects_non_callable_parent_region
(self)
tests/unit/v1/moe/test_autoep_unit.py:1279
Methodtest_rejects_non_contiguous_vocab_shards
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:201
Methodtest_rejects_non_divisible_attention_heads
(self, num_heads, num_kv_heads, role, bad_heads)
tests/unit/v1/compile/test_compile_autosp.py:872
Methodtest_rejects_non_positive_mesh_dimensions
(self, monkeypatch, sp_size, dp_size)
tests/unit/v1/compile/test_compile_autosp.py:237
Functiontest_rejects_nvme_offloaded_zero3_parameter_storage
(accessor)
tests/unit/checkpoint/test_zero_affine.py:75
Functiontest_rejects_other_offload_targets
()
tests/unit/v1/compile/test_offload_activation.py:908
Functiontest_rejects_quantized_zero3_parameter_storage
(accessor)
tests/unit/checkpoint/test_zero_affine.py:62
Functiontest_rejects_shapes_that_do_not_split_into_heads
()
tests/unit/runtime/zero/test_per_head_muon.py:132
Functiontest_rejects_storage_that_cannot_hold_the_parameter
(numel, holders, partition)
tests/unit/checkpoint/test_zero_affine.py:56
Methodtest_rejects_unknown_backend
(self)
tests/unit/module_inject/test_auto_ep_comm.py:70
Methodtest_rejects_unsupported_compile_kwargs
(self, compile_kwargs, match)
tests/unit/v1/moe/test_autoep_unit.py:1344
Functiontest_rejects_zero_optimizer_offload
(offload_device, rejected)
tests/unit/v1/compile/test_offload_opt_states.py:84
Methodtest_release_option_controls_residency_without_changing_results
(self)
tests/unit/v1/zero/test_zero_offload_accum_precision.py:200
Functiontest_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
Functiontest_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
Methodtest_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
Functiontest_remote_output_is_prefixed_escaped_capped_and_drained
()
ci/test_torch_latest.py:786
Functiontest_remote_plan_is_structural_and_preserves_order_and_scope
()
ci/test_torch_latest.py:549
Functiontest_renames_between_code_and_documentation_select_tests
()
ci/test_tests_fetcher.py:228
Functiontest_repeated_engine_destroy_cleans_native_state_once_and_deactivates
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:361
Functiontest_repeated_profile_restores_operations
()
tests/unit/profiling/flops_profiler/test_flops_profiler.py:30
Functiontest_repeating_loader
()
tests/unit/runtime/test_data.py:15
Functiontest_replace_module_preserves_metadata_for_unsharded_subtree
(monkeypatch)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:549
Functiontest_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
Functiontest_replace_rms_norm_copy_uses_its_own_epsilon
(copy_module)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:622
Methodtest_replace_rms_norm_copy_uses_its_own_epsilon
(self, copy_module)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:673
Methodtest_replace_rms_norm_data_parallel_matches_eager_training
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:681
Methodtest_replace_rms_norm_fuses_supported_norms
(self, qualified_name)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:686
Functiontest_replace_rms_norm_leaves_norms_wider_than_the_kernels_alone
()
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:383
Functiontest_replace_rms_norm_leaves_other_forwards_untouched
(build, monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:350
Functiontest_replace_rms_norm_model_round_trip_preserves_outputs_and_gradients
()
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:626
Methodtest_replace_rms_norm_model_round_trip_preserves_outputs_and_gradients
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:677
Functiontest_replace_rms_norm_runs_the_eager_forward_for_cpu_inputs
(qualified_name)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:366
Methodtest_replace_rms_norm_runs_the_kernels_only_where_they_apply
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:690
Functiontest_replace_walks_the_model_and_keeps_parameter_names
()
tests/unit/v1/models/test_glm_moe_dsa.py:195
Methodtest_replaced_block_matches_hf_block
(self, route, std)
tests/unit/v1/moe/test_autoep_expert_activation.py:709
Functiontest_replaced_submodule_is_released
()
tests/unit/utils/test_debug_name_maps.py:53
Functiontest_replacement_matches_transformers_module
()
tests/unit/v1/models/test_glm_moe_dsa.py:144
Methodtest_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
Methodtest_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
Functiontest_replica_declarations_match_each_partial_region
()
tests/unit/checkpoint/test_affine_transfer_plan.py:623
Functiontest_replicas_cut_at_different_boundaries_are_compared_in_full
()
tests/unit/checkpoint/test_affine_shard_map.py:616
Functiontest_replicas_list_every_holder
()
tests/unit/checkpoint/test_zero_affine.py:24
Functiontest_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
Functiontest_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
Functiontest_replication_disagreement_with_different_local_order_fails
()
tests/unit/checkpoint/test_autoep_affine.py:128
Functiontest_replication_records_exact_holders_and_stops_piece_merging
()
tests/unit/checkpoint/test_autoep_affine.py:110
Functiontest_repository_and_sha_validation
()
ci/test_torch_latest.py:336
Functiontest_requests_arrive_in_a_fixed_order_with_processes_and_bytes
()
tests/unit/checkpoint/test_affine_replica_policy.py:135
← previousnext →13,401–13,500 of 14,579, ranked by callers