MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodtest
(self, check_using_norm)
tests/unit/runtime/test_runtime_utils.py:339
Methodtest
(self, scheduler_type, params)
tests/unit/runtime/test_lr_schedulers.py:55
Methodtest
(self, scheduler_type, params)
tests/unit/runtime/test_lr_schedulers.py:229
Methodtest
(self, min_lr, step_rate, step_size, staircase)
tests/unit/runtime/test_lr_schedulers.py:274
Methodtest
(self, optimizer, expected_opt_class, zero_offload)
tests/unit/runtime/test_mup_optimizers.py:23
Methodtest
(self, zero_stage)
tests/unit/runtime/test_ds_initialize.py:38
Methodtest
(self, optimizer_type)
tests/unit/runtime/test_ds_initialize.py:74
Methodtest
(self, client_parameters)
tests/unit/runtime/test_ds_initialize.py:112
Methodtest
(self, optimizer_extension, model_dtype, grad_accum_dtype)
tests/unit/runtime/test_ds_initialize.py:135
Methodtest
(self, scheduler_type, optimizer_type)
tests/unit/runtime/test_ds_initialize.py:300
Methodtest
(self, num_ranks, batch, micro_batch, gas, success)
tests/unit/runtime/test_ds_config_dict.py:88
Methodtest
(self, base_config, tmpdir)
tests/unit/runtime/test_ds_config_dict.py:459
Methodtest
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:484
Methodtest
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:506
Methodtest
(self, base_config)
tests/unit/runtime/test_ds_config_dict.py:565
Methodtest
(self, tmpdir)
tests/unit/runtime/test_multi_output_model.py:18
Methodtest
(self, tmpdir)
tests/unit/runtime/test_multi_output_model.py:75
Methodtest
(self, train_batch_size, drop_last)
tests/unit/runtime/test_data.py:29
Methodtest
(self)
tests/unit/runtime/utils/test_partition.py:23
Methodtest
(self)
tests/unit/runtime/utils/test_partition.py:45
Methodtest
(self)
tests/unit/runtime/utils/test_partition.py:66
Methodtest
(self)
tests/unit/runtime/zero/test_zero_hook_attribute_delegation.py:44
Methodtest
(self)
tests/unit/runtime/zero/test_unwrap_model.py:44
Methodtest
(self)
tests/unit/runtime/zero/test_unwrap_model.py:77
Methodtest
(self, h_dim: int, n_layers: int, zpg: int)
tests/unit/runtime/zero/test_zeropp.py:176
Methodtest
(self, model_name)
tests/unit/runtime/zero/test_zeropp.py:387
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context_ancestry.py:89
Methodtest
(self, ignore_unused_parameters)
tests/unit/runtime/zero/test_ignore_unused_parameters.py:19
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context.py:103
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context.py:126
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context.py:148
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context.py:337
Methodtest
(self)
tests/unit/runtime/zero/test_zero_context.py:356
Methodtest
(self, h_dim: int, n_layers: int)
tests/unit/runtime/zero/test_zero_offloadpp.py:43
Methodtest
(self)
tests/unit/runtime/sparse_tensor/test_averaging_sparse_gradients.py:62
Methodtest
(self)
tests/unit/runtime/sparse_tensor/test_sparse_grads.py:48
Methodtest
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1124
Methodtest
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1157
Methodtest
Different local EOS steps stop at the latest EOS, not max length.
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1216
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:27
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:129
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:162
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:308
Methodtest
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:333
Methodtest
(self, zero_stage, use_cpu_offload, hidden_dim=4)
tests/unit/runtime/half_precision/test_fp16.py:392
Methodtest
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:443
Methodtest
(self, zero_stage, use_cpu_offload)
tests/unit/runtime/half_precision/test_fp16.py:479
Methodtest
(self, zero_stage, optimizer_constructor)
tests/unit/runtime/half_precision/test_fp16.py:534
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:558
Methodtest
(self, adam_type, torch_impl)
tests/unit/runtime/half_precision/test_fp16.py:603
Methodtest
(self)
tests/unit/runtime/half_precision/test_fp16.py:641
Methodtest
(self, stage)
tests/unit/runtime/half_precision/test_fp16.py:688
Methodtest
(self, base_datatype)
tests/unit/runtime/half_precision/test_fp8.py:23
Methodtest
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:54
Methodtest
(self)
tests/unit/comm/test_dist.py:29
Methodtest
Ensure that we can parse args to DistributedTest methods.
tests/unit/comm/test_dist.py:47
Methodtest
(self, distributed_fixture, class_tmpdir, val1, val2)
tests/unit/comm/test_dist.py:108
Methodtest
(self, num_elements)
tests/unit/comm/test_dist.py:127
Methodtest
(self)
tests/unit/comm/test_dist.py:138
Methodtest
(self)
tests/unit/comm/test_dist.py:370
Methodtest
(self, dtype, num_elements)
tests/unit/comm/test_dist.py:413
Methodtest
(self, dtype, forced_level, tmp_path, monkeypatch)
tests/unit/comm/test_dist.py:427
Methodtest
(self)
tests/unit/comm/test_dist.py:491
Methodtest
(self)
tests/unit/comm/test_dist.py:573
Methodtest
(self)
tests/unit/comm/test_dist.py:581
MethodtestColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1224
MethodtestGatheredColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1227
MethodtestRowParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1221
MethodtestUnevenGatheredColumnParallel
(self, tp_size: int, tp_overlap_comm: bool)
tests/unit/v1/autotp/test_autotp_training.py:1230
Functiontest_16gpu_tp2_ep4_tables_match_design
()
tests/unit/v1/moe/test_autoep_autotp_folding_groups.py:28
Methodtest_1_param_group
(self, tmpdir, zero_stage, freeze_params)
tests/unit/v1/zero/test_zero.py:432
Functiontest_1d_param_support
(Opt)
tests/unit/ops/adam/test_zf_torch_adam.py:130
Methodtest_1d_tensor
(self)
tests/unit/runtime/comm/test_coalesced_collectives.py:70
Methodtest_2_param_groups
(self, tmpdir, zero_stage, freeze_params)
tests/unit/v1/zero/test_zero.py:524
Functiontest_8gpu_tp2_ep4_tables_match_design
()
tests/unit/v1/moe/test_autoep_autotp_folding_groups.py:18
Functiontest_DS4Sci_EvoformerAttention
(dtype, tensor_shape)
tests/unit/ops/deepspeed4science/test_DS4Sci_EvoformerAttention.py:46
Methodtest_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
Methodtest__basic
(self)
tests/unit/runtime/half_precision/test_fp16.py:61
Methodtest_a_buffer_of_exactly_the_arrived_rows_is_used_without_slicing
(self)
tests/unit/module_inject/test_auto_ep_comm.py:483
Functiontest_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
Functiontest_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
Methodtest_a_destroyed_buffer_is_not_handed_out_again
(self)
tests/unit/module_inject/test_auto_ep_comm.py:219
Methodtest_a_different_geometry_gets_its_own_buffer
(self)
tests/unit/module_inject/test_auto_ep_comm.py:188
Methodtest_a_discarded_forward_does_not_block_the_next_recompute
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1023
Methodtest_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
Functiontest_a_finite_gradient_still_moves_the_momentum
The guard must not disable the optimizer.
tests/unit/v1/ops/muon/test_muon_overflow.py:49
Functiontest_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
Methodtest_a_fresh_recompute_dispatch_corrupts_non_reentrant_gradients
(self)
tests/unit/module_inject/test_auto_ep_comm.py:926
Functiontest_a_group_holding_both_kinds_splits_in_two_and_both_keep_its_settings
()
tests/unit/runtime/zero/test_muon_param_groups.py:82
Functiontest_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
Functiontest_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
Functiontest_a_group_without_an_lr_still_takes_muon_lr
()
tests/unit/runtime/zero/test_muon_param_groups.py:75
Functiontest_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
Functiontest_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
Functiontest_a_map_naming_a_rank_with_no_shard_is_refused
()
tests/unit/checkpoint/test_affine_transfer_plan.py:532
Functiontest_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
Methodtest_a_module_without_layers_is_a_no_op
(self)
tests/unit/module_inject/test_auto_ep_comm.py:256
Functiontest_a_named_backend_that_cannot_run_raises_instead_of_substituting
()
tests/unit/v1/runtime/test_chunked_cross_entropy.py:275
Methodtest_a_no_grad_forward_does_not_block_checkpoint_backward
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1036
Functiontest_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
← previousnext →11,401–11,500 of 14,579, ranked by callers