MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Method__init__
(self, in_features, out_features, weights, biases, act='gelu', bias=True)
tests/unit/modelingpreln.py:104
Method__init__
Constructs BertConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_s
tests/unit/modelingpreln.py:148
Method__init__
(self, config)
tests/unit/modelingpreln.py:244
Method__init__
(self, i, config, weights, biases)
tests/unit/modelingpreln.py:274
Method__init__
(self, config, weights, biases)
tests/unit/modelingpreln.py:344
Method__init__
(self, i, config, weights, biases)
tests/unit/modelingpreln.py:363
Method__init__
(self, config, weights, biases)
tests/unit/modelingpreln.py:379
Method__init__
(self, config, weights, biases)
tests/unit/modelingpreln.py:394
Method__init__
(self, i, config, weights, biases)
tests/unit/modelingpreln.py:410
Method__init__
(self, config, weights, biases)
tests/unit/modelingpreln.py:451
Method__init__
(self, hidden_dim, weight_value)
tests/unit/multi_output_model.py:12
Method__init__
(self, num_classes=10, **kwargs)
tests/unit/alexnet_model.py:58
Method__init__
(self)
tests/unit/ops/test_op_builder.py:34
Method__init__
(self, config, weights, biases)
tests/unit/ops/accelerators/test_accelerator_forward.py:49
Method__init__
(self, config, weights, biases)
tests/unit/ops/accelerators/test_accelerator_backward.py:97
Method__init__
(self)
tests/unit/ops/adam/test_zf_torch_adam.py:199
Method__init__
(self, num_blocks=3, dim=8)
tests/unit/utils/test_debug_name_maps.py:37
Method__init__
(self)
tests/unit/utils/test_nvtx.py:76
Method__init__
(self)
tests/unit/utils/test_nvtx.py:89
Method__init__
(self, n_classes)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:114
Method__init__
(self, shared)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:286
Method__init__
(self, hidden_dim)
tests/unit/checkpoint/test_zero_affine.py:241
Method__init__
(self)
tests/unit/checkpoint/test_shared_weights.py:16
Method__init__
(self, param)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:48
Method__init__
(self, hidden_dim, vocab_size)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1029
Method__init__
(self, hidden_dim, num_heads)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1042
Method__init__
(self, hidden_dim)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1049
Method__init__
(self, hidden_dim)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1061
Method__init__
(self, hidden_dim, num_heads)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1068
Method__init__
(self)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1614
Method__init__
(self, hidden_dim=16, vocab_size=26)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1842
Method__init__
(self)
tests/unit/checkpoint/test_fp32_master_only.py:28
Method__init__
(self, name)
tests/unit/checkpoint/test_affine_shard_map.py:36
Method__init__
(self)
tests/unit/checkpoint/test_fp32_master_stage3_bf16.py:22
Method__init__
(self)
tests/unit/checkpoint/test_convert_checkpoint.py:130
Method__init__
(self)
tests/unit/compile/test_tp_compile.py:33
Method__init__
(self, nlayers=2)
tests/unit/compile/test_tp_compile.py:48
Method__init__
(self)
tests/unit/compile/test_tp_compile.py:61
Method__init__
(self)
tests/unit/compile/test_tp_compile.py:262
Method__init__
(self, nlayers=2)
tests/unit/compile/test_tp_compile.py:274
Method__init__
(self, nlayers=2)
tests/unit/compile/test_tp_compile.py:617
Method__init__
(self)
tests/unit/compile/test_tp_compile.py:794
Method__init__
(self, config)
tests/unit/inference/v2/model_implementations/test_rope_theta.py:25
Method__init__
(self, experts_per_rank: int)
tests/unit/inference/v2/model_implementations/parameters/test_parameter_list.py:25
Method__init__
(self, device_count)
tests/unit/launcher/test_run.py:127
Method__init__
(self)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:294
Method__init__
(self, hidden_dim=64, q_heads=8, kv_heads=2, head_dim=8, nlayers=2)
tests/unit/v1/ops/muon/test_per_head_muon_accelerator.py:168
Method__init__
(self)
tests/unit/v1/ops/muon/test_muon.py:823
Method__init__
(self)
tests/unit/v1/ops/muon/test_muon.py:965
Method__init__
(self)
tests/unit/v1/ops/muon/test_muon_overflow.py:137
Method__init__
(self)
tests/unit/v1/ops/muon/test_muon_zero3_grad_accum.py:39
Method__init__
(self, vocab_size=100, hidden_dim=64, num_layers=2)
tests/unit/v1/ops/muon/test_muon_partial_training.py:44
Method__init__
(self, *args, **kwargs)
tests/unit/v1/ops/muon/test_muon_partial_training.py:302
Method__init__
(self, params, **kwargs)
tests/unit/v1/ops/muon/test_muon_partial_training.py:353
Method__init__
(self, cpu_offload=False, bf16_states=False, zenflow=False)
tests/unit/v1/ops/muon/test_muon_partial_training.py:388
Method__init__
(self, hidden_size, eps=1e-6)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:393
Method__init__
(self)
tests/unit/v1/pin_memory/test_pin_memory.py:137
Method__init__
(self)
tests/unit/v1/pin_memory/test_pin_memory.py:405
Method__init__
(self, alignment)
tests/unit/v1/pin_memory/test_pin_memory.py:436
Method__init__
(self, offset)
tests/unit/v1/pin_memory/test_pin_memory.py:447
Method__init__
(self)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:31
Method__init__
(self, resolves_data_dependency, current_device_name="cpu")
tests/unit/v1/zero/test_overlap_comm_record_stream.py:29
Method__init__
(self)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:120
Method__init__
(self, resolves_data_dependency, current_stream)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:129
Method__init__
(self)
tests/unit/v1/zero/test_zero_torch_func.py:48
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:24
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:39
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:689
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:709
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:1306
Method__init__
(self, hidden_dim, use_reentrant=True)
tests/unit/v1/zero/test_zero_user_backward.py:1329
Method__init__
(self, hidden_dim, use_reentrant=False)
tests/unit/v1/zero/test_zero_user_backward.py:1595
Method__init__
(self, hidden_dim, num_blocks=2, use_reentrant=False)
tests/unit/v1/zero/test_zero_user_backward.py:1651
Method__init__
(self, hidden_dim, rank=2, use_reentrant=False)
tests/unit/v1/zero/test_zero_user_backward.py:1684
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_user_backward.py:1713
Method__init__
(self, hidden_dim, use_reentrant=False)
tests/unit/v1/zero/test_zero_user_backward.py:1729
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:77
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:290
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero.py:404
Method__init__
(self, weight: Parameter)
tests/unit/v1/zero/test_zero.py:724
Method__init__
( self, weight1: Parameter, weight2: Parameter, weight3: Parameter, )
tests/unit/v1/zero/test_zero.py:738
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:1189
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:1264
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:1351
Method__init__
(self, input_size, output_size, dropout_prob=0.5, device=None)
tests/unit/v1/zero/test_zero.py:1603
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero.py:1617
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero.py:1728
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero.py:1858
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero.py:2114
Method__init__
(self)
tests/unit/v1/zero/test_zero.py:2495
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:125
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:142
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:154
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:176
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:194
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:224
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:245
Method__init__
(self, vocab_size, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:264
Method__init__
(self, hidden_dim)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:294
Method__init__
(self)
tests/unit/v1/zero/test_reflow.py:1423
← previousnext →6,801–6,900 of 15,468, ranked by callers