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_collect_autotp_universal_checkpoint_info_column_parallel_bias_not_replicated
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:52
Function
test_collect_autotp_universal_checkpoint_info_row_parallel
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:23
Function
test_collect_autotp_universal_checkpoint_info_subparams
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:36
Function
test_collect_autotp_universal_checkpoint_info_subparams_preserves_shape_metadata
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:63
Function
test_collect_does_not_treat_hidden_sharded_embeddings_as_vocabulary
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:279
Function
test_collect_marks_autotp_unchanged_params_as_replicated
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:260
Function
test_collect_publishes_physical_subparam_sizes_not_the_count
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:195
Function
test_collect_publishes_sub_param_metadata_for_partitioned_bias
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:291
Function
test_collect_records_fused_layouts_without_a_sub_param_split
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:333
Function
test_collect_records_yuan_layout_as_unsupported
(layer_cls, bias_refused)
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:357
Function
test_collect_skips_tied_parameter_aliases
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:316
Function
test_collect_uses_conversion_view_not_recovery_fields
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:173
Function
test_collected_parameter_entry_is_removed
A collected parameter must leave no entry behind. Asserting that a freshly built parameter resolves to "unknown" does not show this: it only
tests/unit/utils/test_debug_name_maps.py:91
Function
test_collection_leaves_cuda_initialization_fork_safe
()
tests/unit/v1/runtime/test_chunked_cross_entropy.py:442
Function
test_collective_is_inserted_inside_a_checkpointed_subgraph
CPU-only cover for the traversal fix, so it is not gated behind a 2-GPU run. Also pins the coverage check: with the walk restricted to the top-le
tests/unit/compile/test_tp_compile.py:762
Function
test_collective_profiling
(monkeypatch, op_name, positional, debug, profile_mode)
tests/unit/comm/test_comms_logger.py:131
Function
test_collector_checkout_preserves_merge_base_for_subset_selection
()
ci/test_torch_latest.py:439
Function
test_column_cut_plans_like_its_per_row_split
Describing the same storage with one box per column block instead of one piece per row changes the size of the map, not what the plan moves.
tests/unit/checkpoint/test_affine_transfer_plan.py:549
Method
test_column_parallel
(self, kind)
tests/unit/module_inject/test_tp_autograd_reduce.py:41
Function
test_column_parallel_uc_metadata_uses_zero3_shape
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:90
Method
test_colwise_rowwise_conversion
(self)
tests/unit/module_inject/test_tp_plan_converter.py:23
Method
test_combine_backward_returns_a_gradient_per_input
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1311
Function
test_combine_grad_norm_groups_keeps_invalid_sentinels_invalid
(bad)
tests/unit/v1/zero/test_invalid_grad_norm.py:36
Function
test_combine_grad_norm_groups_matches_l2_for_finite_groups
()
tests/unit/v1/zero/test_invalid_grad_norm.py:44
Method
test_combine_impl_rejects_unknown_value
(self)
tests/unit/v1/moe/test_autoep_unit.py:311
Method
test_combine_is_never_given_the_weights
(self)
tests/unit/module_inject/test_auto_ep_comm.py:409
Method
test_combine_receives_exactly_the_rows_that_arrived
(self)
tests/unit/module_inject/test_auto_ep_comm.py:488
Method
test_comet_monitor
(self)
tests/unit/monitor/test_monitor.py:109
Function
test_comm_change_runs_all
()
ci/test_tests_fetcher.py:161
Function
test_command_line
Validate handling of command line arguments
tests/unit/autotuning/test_autotuning.py:18
Function
test_commit_tag_forces_all
()
ci/test_tests_fetcher.py:183
Method
test_compile_config
(self, compile_options, expected)
tests/unit/v1/moe/test_autoep_unit.py:1245
Method
test_compile_zero
(self, tmpdir, zero_stage, dtype, offload_device)
tests/unit/v1/compile/test_compile_zero.py:31
Method
test_compiles_decoder_parents_and_disables_autoep
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:1335
Method
test_compiles_model_root_with_direct_autoep_child
(self, checkpoint_enabled)
tests/unit/v1/moe/test_autoep_unit.py:1282
Function
test_completed_backward_keeps_gathers_for_another_outstanding_forward
()
tests/unit/v1/compile/test_z3_eager_fallback.py:284
Function
test_complex_sequences
Validate on different ragged batch construction scenarios.
tests/unit/inference/v2/kernels/ragged_ops/test_ragged_embed.py:138
Method
test_composite_backward_scatters_to_original_weights
Backward through the composite path lands on the original weight Parameters — the co-location gradient contract.
tests/unit/module_inject/test_segment_ki_kernels.py:375
Method
test_composite_forward_cpu
The autograd.Function fallbacks run on CPU tensors.
tests/unit/module_inject/test_segment_ki_kernels.py:366
Function
test_compression_helper_shim_reexports_module_utils
()
tests/unit/runtime/test_ds_config_dict.py:390
Function
test_compression_training_config_is_rejected
()
tests/unit/runtime/test_ds_config_dict.py:267
Function
test_compute_persistence_budget_clamps_when_transient_peak_exceeds_budget
()
tests/unit/v1/compile/test_selective_gather.py:59
Function
test_compute_persistence_budget_uses_transient_peak_for_headroom
()
tests/unit/v1/compile/test_selective_gather.py:46
Function
test_concurrent_blocking_reads_on_shared_handle
(tmp_path, use_pinned_memory)
tests/unit/v1/nvme/test_aio_gil.py:99
Function
test_concurrent_unpinned_read_and_locked_tensor_management
(tmp_path)
tests/unit/v1/nvme/test_aio_gil.py:139
Function
test_config_base
()
tests/unit/runtime/test_ds_config_model.py:89
Function
test_config_base_aliasfield
()
tests/unit/runtime/test_ds_config_model.py:147
Function
test_config_base_deprecatedfail
()
tests/unit/runtime/test_ds_config_model.py:161
Function
test_config_base_deprecatedfield
()
tests/unit/runtime/test_ds_config_model.py:142
Function
test_config_base_literalfail
(config_dict)
tests/unit/runtime/test_ds_config_model.py:156
Function
test_config_defaults
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:73
Method
test_config_defaults
(self, zero_stage)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:154
Function
test_config_duplicate_key
(tmpdir)
tests/unit/runtime/test_ds_config_model.py:44
Method
test_config_init
(self)
tests/unit/linear/test_ctx.py:100
Method
test_config_key_reaches_custom_preset_and_overrides_builtin
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:1048
Function
test_config_preserves_legacy_positional_arguments
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:2157
Method
test_config_reaches_the_replaced_experts
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:461
Method
test_configure_expert_parallel_rejects_bwc_tensor_model_parallel_mpu
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:545
Method
test_configure_expert_parallel_uses_engine_mpu_sequence_parallel_size
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:486
Function
test_configure_from_config_follows_the_enabled_field
(monkeypatch, enabled)
tests/unit/comm/test_comms_logger.py:32
Function
test_configure_vocab_parallel_loss_installs_and_preserves_hook
()
tests/unit/module_inject/test_tp_partition_config_path.py:452
Function
test_configure_vocab_parallel_loss_installs_on_huggingface_model
()
tests/unit/module_inject/test_tp_partition_config_path.py:475
Function
test_configure_vocab_parallel_loss_requires_hook
()
tests/unit/module_inject/test_tp_partition_config_path.py:487
Function
test_configure_with_contiguous_checkpointing_requires_num_checkpoints
()
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:459
Function
test_conflict_is_symmetric
(clean_registry)
tests/unit/compile/test_pass_contract.py:95
Function
test_conflict_with_uncontracted_pass
(clean_registry)
tests/unit/compile/test_pass_contract.py:105
Method
test_conflicting_param_dtype_rejected
(self, param_dtype, fp16, bf16)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:85
Method
test_conforms_a_one_dimensional_weight_buffer
(self)
tests/unit/module_inject/test_auto_ep_comm.py:330
Function
test_consecutive_deepcompile_inference_forwards_release_unowned_available_params
()
tests/unit/v1/compile/test_z3_eager_fallback.py:148
Method
test_consecutive_hysteresis
(self, optimizer_class)
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:326
Method
test_consolidated_checkpoint
(self)
tests/unit/v1/autotp/test_autotp_training.py:1952
Method
test_consolidated_state_dict_keeps_the_empty_parameter
(self, tmpdir, zero_stage)
tests/unit/runtime/zero/test_zero_numel_param_shape.py:169
Function
test_construction_fails_clearly_without_memory_query
(monkeypatch)
tests/unit/accelerator/test_mps_accelerator.py:22
Function
test_construction_succeeds_on_supported_torch
()
tests/unit/accelerator/test_mps_accelerator.py:16
Function
test_constructor_defaults_without_cfg
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:107
Function
test_constructor_stores_config
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:88
Method
test_consumer_stream_can_finish_before_storage_reuse
(self)
tests/torch_compile/test_deepcompile_z3_release.py:105
Method
test_context_activation_is_idempotent_and_persistent
(self)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:117
Function
test_context_exception_restores_fallback_and_user_ownership_depth
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:465
Method
test_context_tokens_replaced_with_visual
IMG_CONTEXT positions must carry visual embeddings after splice.
deepspeed/sequence/test_autosp.py:519
Function
test_contiguify_roundtrip
Validate that contiguify round trips and reconstructions are correct.
tests/unit/inference/v2/model_implementations/parameters/test_contiguify.py:52
Method
test_contiguous_gradients
(self, contiguous_gradients)
tests/unit/v1/zero/test_zero.py:983
Function
test_contiguous_offload_buffer_pin_flag
(use_pin_memory)
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:331
Function
test_continuation
Test continued generation/prompt processing.
tests/unit/inference/v2/modules/test_blocked_attn.py:154
Function
test_continuation
Test continued generation/prompt processing.
tests/unit/inference/v2/kernels/ragged_ops/test_blocked_flash.py:160
Function
test_continuous_batching_details_are_not_public_exports
()
tests/unit/runtime/rollout/test_rollout_interface.py:70
Function
test_continuous_cache_span_does_not_sum_independent_requests
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:449
Function
test_continuous_generation_applies_repetition_penalty
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:919
Function
test_continuous_generation_applies_repetition_penalty_in_float32
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:975
Function
test_continuous_generation_covers_modern_static_cache_path
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:568
Function
test_continuous_generation_falls_back_to_eager_without_graph_capture_opt_in
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:180
Function
test_continuous_generation_profile_on_accelerator
()
tests/unit/v1/test_hybrid_engine_rollout_v1.py:286
Function
test_continuous_generation_refills_padded_prompts_after_trim
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:860
Function
test_continuous_generation_rejects_legacy_cache_model
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:526
Function
test_continuous_generation_rejects_unsupported_inputs
(adaptive_prefill)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:118
Function
test_continuous_generation_reports_cache_capacity_remedies
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:479
Function
test_continuous_generation_routes_graph_capture_to_fixed_capacity_path
(graph_capture_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:227
Function
test_continuous_generation_samples_when_temperature_is_set
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1062
Function
test_continuous_generation_treats_none_repetition_penalty_as_one
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:938
Function
test_continuous_generation_trims_cache_after_staggered_eos
(adaptive_prefill)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:801
← previous
next →
12,401–12,500 of 15,468, ranked by callers