Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,767 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,767
◇
Types & classes
2,543
↳
Endpoints
107
Method
test
(self, enable, zero_stage, dtype)
tests/unit/v1/zero/test_zero_autocast.py:166
Method
test
(self, accumulation_dtype)
tests/unit/v1/zero/test_zero_cpu_offload_grad_accum.py:46
Method
test
(self, zero_stage, dtype, sp_size)
tests/unit/v1/compile/test_compile_autosp.py:52
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1107
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1167
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1182
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1197
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1213
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1247
Method
test
(self, seq_len)
tests/unit/v1/compile/test_compile_autosp.py:1288
Method
test
(self, zero_stage, dtype, deepcompile)
tests/unit/v1/compile/test_compile_zero.py:83
Method
test
(self, ep_size, tp_size, enable_expert_tp, use_residual)
tests/unit/v1/moe/test_moe_tp.py:61
Method
test
(self, enable_expert_tp)
tests/unit/v1/moe/test_moe_tp.py:102
Method
test
(self, zero_stage)
tests/unit/v1/moe/test_moe.py:87
Method
test
(self, ep_size, zero_stage, use_residual)
tests/unit/v1/moe/test_moe.py:145
Method
test
(self, ep_size, use_residual)
tests/unit/v1/moe/test_moe.py:244
Method
test
(self)
tests/unit/v1/moe/test_moe.py:275
Method
test
(self)
tests/unit/v1/moe/test_moe.py:439
Method
test
(self, zero_stage)
tests/unit/v1/moe/test_moe.py:547
Method
test
(self, zero_stage=2, use_cpu_offload=False)
tests/unit/v1/half_precision/test_bf16.py:25
Method
test
(self, zero_stage=2, use_cpu_offload=False)
tests/unit/v1/half_precision/test_bf16.py:86
Method
test
(self, zero_stage=2, use_cpu_offload=False)
tests/unit/v1/half_precision/test_bf16.py:124
Method
test
(self, optimizer_constructor, zero_stage=2)
tests/unit/v1/half_precision/test_bf16.py:182
Method
test
(self)
tests/unit/v1/half_precision/test_bf16.py:211
Method
test
(self, stage=2)
tests/unit/v1/half_precision/test_bf16.py:260
Method
test
(self, comp_type, comm_type)
tests/unit/v1/half_precision/test_bf16.py:300
Method
test
(self, baseline_mp2, inputs, class_tmpdir)
tests/unit/v1/autotp/test_configurable_parallel_mp.py:153
Method
test
(self, tp_size: int)
tests/unit/v1/autotp/test_autotp_training.py:844
Method
test
(self, tp_size: int)
tests/unit/v1/autotp/test_autotp_training.py:1024
Method
test
(self, layer_type)
tests/unit/v1/autotp/test_autotp_training.py:1772
Method
test
(self, tp_size: int, zero_stage: int)
tests/unit/v1/autotp/test_autotp_training.py:2134
Method
test
(self, norm_type, kind)
tests/unit/runtime/test_runtime_utils.py:314
Method
test
(self, parallelism, input_case)
tests/unit/runtime/test_runtime_utils.py:367
Method
test
(self, input_case)
tests/unit/runtime/test_runtime_utils.py:403
Method
test
(self)
tests/unit/runtime/test_runtime_utils.py:423
Method
test
(self, check_using_norm)
tests/unit/runtime/test_runtime_utils.py:466
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:1538
Method
test
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1571
Method
test
Different local EOS steps stop at the latest EOS, not max length.
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1630
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:55
Method
test
(self)
tests/unit/comm/test_custom_collective.py:72
Method
test
(self)
tests/unit/comm/test_custom_collective.py:110
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
← previous
next →
12,101–12,200 of 15,767, ranked by callers