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
(self, check_using_norm)
tests/unit/runtime/test_runtime_utils.py:339
Method
test
(self, scheduler_type, params)
tests/unit/runtime/test_lr_schedulers.py:55
Method
test
(self, scheduler_type, params)
tests/unit/runtime/test_lr_schedulers.py:229
Method
test
(self, min_lr, step_rate, step_size, staircase)
tests/unit/runtime/test_lr_schedulers.py:274
Method
test
(self, optimizer, expected_opt_class, zero_offload)
tests/unit/runtime/test_mup_optimizers.py:23
Method
test
(self, zero_stage)
tests/unit/runtime/test_ds_initialize.py:38
Method
test
(self, optimizer_type)
tests/unit/runtime/test_ds_initialize.py:74
Method
test
(self, client_parameters)
tests/unit/runtime/test_ds_initialize.py:112
Method
test
(self, optimizer_extension, model_dtype, grad_accum_dtype)
tests/unit/runtime/test_ds_initialize.py:135
Method
test
(self, scheduler_type, optimizer_type)
tests/unit/runtime/test_ds_initialize.py:300
Method
test
(self, num_ranks, batch, micro_batch, gas, success)
tests/unit/runtime/test_ds_config_dict.py:88
Method
test
(self, base_config, tmpdir)
tests/unit/runtime/test_ds_config_dict.py:459
Method
test
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:484
Method
test
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:506
Method
test
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:565
Method
test
(self, tmpdir)
tests/unit/runtime/test_multi_output_model.py:18
Method
test
(self, tmpdir)
tests/unit/runtime/test_multi_output_model.py:75
Method
test
(self, train_batch_size, drop_last)
tests/unit/runtime/test_data.py:29
Method
test
(self)
tests/unit/runtime/utils/test_partition.py:23
Method
test
(self)
tests/unit/runtime/utils/test_partition.py:45
Method
test
(self)
tests/unit/runtime/utils/test_partition.py:66
Method
test
(self)
tests/unit/runtime/zero/test_zero_hook_attribute_delegation.py:44
Method
test
(self)
tests/unit/runtime/zero/test_unwrap_model.py:44
Method
test
(self)
tests/unit/runtime/zero/test_unwrap_model.py:77
Method
test
(self, h_dim: int, n_layers: int, zpg: int)
tests/unit/runtime/zero/test_zeropp.py:176
Method
test
(self, model_name)
tests/unit/runtime/zero/test_zeropp.py:387
Method
test
(self)
tests/unit/runtime/zero/test_zero_context_ancestry.py:89
Method
test
(self, ignore_unused_parameters)
tests/unit/runtime/zero/test_ignore_unused_parameters.py:19
Method
test
(self)
tests/unit/runtime/zero/test_zero_context.py:103
Method
test
(self)
tests/unit/runtime/zero/test_zero_context.py:126
Method
test
(self)
tests/unit/runtime/zero/test_zero_context.py:148
Method
test
(self)
tests/unit/runtime/zero/test_zero_context.py:337
Method
test
(self)
tests/unit/runtime/zero/test_zero_context.py:356
Method
test
(self, h_dim: int, n_layers: int)
tests/unit/runtime/zero/test_zero_offloadpp.py:43
Method
test
(self)
tests/unit/runtime/sparse_tensor/test_averaging_sparse_gradients.py:62
Method
test
(self)
tests/unit/runtime/sparse_tensor/test_sparse_grads.py:48
Method
test
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1124
Method
test
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1157
Method
test
Different local EOS steps stop at the latest EOS, not max length.
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1216
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:27
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:129
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:162
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:308
Method
test
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:333
Method
test
(self, zero_stage, use_cpu_offload, hidden_dim=4)
tests/unit/runtime/half_precision/test_fp16.py:392
Method
test
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:443
Method
test
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:479
Method
test
(self, zero_stage, optimizer_constructor)
tests/unit/runtime/half_precision/test_fp16.py:534
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:558
Method
test
(self, adam_type, torch_impl)
tests/unit/runtime/half_precision/test_fp16.py:603
Method
test
(self)
tests/unit/runtime/half_precision/test_fp16.py:641
Method
test
(self, stage)
tests/unit/runtime/half_precision/test_fp16.py:688
Method
test
(self, base_datatype)
tests/unit/runtime/half_precision/test_fp8.py:23
Method
test
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:54
Method
test
(self)
tests/unit/comm/test_dist.py:29
Method
test
Ensure that we can parse args to DistributedTest methods.
tests/unit/comm/test_dist.py:47
Method
test
(self, distributed_fixture, class_tmpdir, val1, val2)
tests/unit/comm/test_dist.py:108
Method
test
(self, num_elements)
tests/unit/comm/test_dist.py:127
Method
test
(self)
tests/unit/comm/test_dist.py:138
Method
test
(self)
tests/unit/comm/test_dist.py:370
Method
test
(self, dtype, num_elements)
tests/unit/comm/test_dist.py:413
Method
test
(self, dtype, forced_level, tmp_path, monkeypatch)
tests/unit/comm/test_dist.py:427
Method
test
(self)
tests/unit/comm/test_dist.py:491
Method
test
(self)
tests/unit/comm/test_dist.py:573
Method
test
(self)
tests/unit/comm/test_dist.py:581
Method
testColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1224
Method
testGatheredColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1227
Method
testRowParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1221
Method
testUnevenGatheredColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1230
Function
test_16gpu_tp2_ep4_tables_match_design
()
tests/unit/v1/moe/test_autoep_autotp_folding_groups.py:28
Method
test_1_param_group
(self, tmpdir, zero_stage, freeze_params)
tests/unit/v1/zero/test_zero.py:432
Function
test_1d_param_support
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:130
Method
test_1d_tensor
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:70
Method
test_2_param_groups
(self, tmpdir, zero_stage, freeze_params)
tests/unit/v1/zero/test_zero.py:524
Function
test_8gpu_tp2_ep4_tables_match_design
()
tests/unit/v1/moe/test_autoep_autotp_folding_groups.py:18
Function
test_DS4Sci_EvoformerAttention
(dtype, tensor_shape)
tests/unit/ops/deepspeed4science/test_DS4Sci_EvoformerAttention.py:46
Method
test_FPDT_attention_offloading_output_consistency
(self, d0: int, d1: int, chunk_size: int, head_dim: int,
tests/unit/v1/sequence_parallelism/test_ulysses.py:298
Method
test__basic
(self)
tests/unit/runtime/half_precision/test_fp16.py:61
Method
test_a_buffer_of_exactly_the_arrived_rows_is_used_without_slicing
(self)
tests/unit/module_inject/test_auto_ep_comm.py:483
Function
test_a_config_without_a_per_head_width_is_declined
Divisibility alone is not confirmation. `rows % heads == 0` holds for matrices that are not head-blocked at all, which is how o_proj used to
tests/unit/runtime/zero/test_per_head_muon.py:506
Function
test_a_corrupted_map_is_refused_or_still_exact
Fixed seed: converting through a map with one corrupted offset or stride fails or is exact. The shards come from the map before it is corrupted,
tests/unit/checkpoint/test_affine_shard_map.py:746
Method
test_a_destroyed_buffer_is_not_handed_out_again
(self)
tests/unit/module_inject/test_auto_ep_comm.py:219
Method
test_a_different_geometry_gets_its_own_buffer
(self)
tests/unit/module_inject/test_auto_ep_comm.py:188
Method
test_a_discarded_forward_does_not_block_the_next_recompute
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1023
Method
test_a_discarded_step_leaves_every_momentum_where_it_was
The invariant in full, including the half a per-tensor guard cannot deliver. Two 2-D parameters in one group; only `boom` is fed an input tha
tests/unit/v1/ops/muon/test_muon_overflow.py:120
Function
test_a_finite_gradient_still_moves_the_momentum
The guard must not disable the optimizer.
tests/unit/v1/ops/muon/test_muon_overflow.py:49
Function
test_a_flat_shard_holds_a_dense_box_of_a_matrix
Flat storage, as ZeRO keeps it, may hold boxes of a matrix as dense runs of addresses.
tests/unit/checkpoint/test_affine_transfer_plan.py:400
Method
test_a_fresh_recompute_dispatch_corrupts_non_reentrant_gradients
(self)
tests/unit/module_inject/test_auto_ep_comm.py:926
Function
test_a_group_holding_both_kinds_splits_in_two_and_both_keep_its_settings
()
tests/unit/runtime/zero/test_muon_param_groups.py:82
Function
test_a_group_keeps_its_own_lr_even_against_muon_lr
Most specific wins: the config's shared lr, then muon_lr / adam_lr, then the group.
tests/unit/runtime/zero/test_muon_param_groups.py:67
Function
test_a_group_keeps_its_own_weight_decay
The pattern this is really about: no weight decay on biases and norms.
tests/unit/runtime/zero/test_muon_param_groups.py:50
Function
test_a_group_without_an_lr_still_takes_muon_lr
()
tests/unit/runtime/zero/test_muon_param_groups.py:75
Function
test_a_layout_without_head_counts_stays_unsupported
Describing Yuan needs the kv head count, so without it the layout must not be claimed.
tests/unit/checkpoint/test_affine_shard_map.py:1052
Function
test_a_listed_module_wins_when_the_config_width_collides
Config 8 x 32 and module 4 x 64 are both 256 rows; the module built it, so 4 heads. With the config consulted first, the exact width match would
tests/unit/runtime/zero/test_per_head_muon.py:704
Function
test_a_map_naming_a_rank_with_no_shard_is_refused
()
tests/unit/checkpoint/test_affine_transfer_plan.py:532
Function
test_a_model_with_no_tags_at_all_is_a_no_op
Muon without `per_head_muon`, and every non-Muon model: nothing to resolve, no error.
tests/unit/runtime/zero/test_per_head_muon.py:829
Method
test_a_module_without_layers_is_a_no_op
(self)
tests/unit/module_inject/test_auto_ep_comm.py:256
Function
test_a_named_backend_that_cannot_run_raises_instead_of_substituting
()
tests/unit/v1/runtime/test_chunked_cross_entropy.py:275
Method
test_a_no_grad_forward_does_not_block_checkpoint_backward
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1036
Function
test_a_permuted_piece_is_refused_rather_than_flattened
Strides that are not the tensor's own row-major order are a permutation, and one box cannot hold it.
tests/unit/checkpoint/test_affine_transfer_plan.py:351
← previous
next →
11,401–11,500 of 14,579, ranked by callers