MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Method__init__
(self, hidden_dim, num_block)
tests/unit/runtime/zero/test_zero_leaf_module.py:261
Method__init__
(self, *args)
tests/unit/runtime/zero/test_zero_context_ancestry.py:38
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context_ancestry.py:55
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context_ancestry.py:103
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context.py:35
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context.py:69
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context.py:77
Method__init__
(self)
tests/unit/runtime/zero/test_zero_context.py:85
Method__init__
(self, hidden_dim)
tests/unit/runtime/zero/test_zero_context.py:109
Method__init__
(self, hidden_dim)
tests/unit/runtime/zero/test_zero_context.py:160
Method__init__
(self, dim=16)
tests/unit/runtime/zero/test_zero_context.py:303
Method__init__
(self, layer_index)
tests/unit/runtime/zero/test_autoep_zero3_init.py:32
Method__init__
(self, hidden_dim)
tests/unit/runtime/zero/test_zero_autocast_mixed_dtype.py:47
Method__init__
(self, h_dim=1024, n_layers=2)
tests/unit/runtime/zero/test_zero_offloadpp.py:20
Method__init__
(self)
tests/unit/runtime/zero/test_zero_dynamic_class.py:45
Method__init__
(self, n_layers, hidden_size)
tests/unit/runtime/pipe/test_pipe.py:217
Method__init__
(self, xs, ys)
tests/unit/runtime/pipe/test_pipe.py:265
Method__init__
(self)
tests/unit/runtime/sparse_tensor/test_averaging_sparse_gradients.py:19
Method__init__
(self)
tests/unit/runtime/sparse_tensor/test_sparse_grads.py:19
Method__init__
(self, response_token: int = 42)
tests/unit/runtime/rollout/test_rollout_interface.py:170
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:187
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:253
Method__init__
(self, config, max_batch_size, max_cache_len, device, dtype)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:438
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:464
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:533
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:619
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1068
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1559
Method__init__
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1591
Method__init__
(self)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:436
Method__init__
(self, weight, lora_dim=0, lora_scaling=1, lora_droppout=0, bias=None)
tests/unit/hybrid_engine/test_he_lora.py:58
Method__init__
(self, release_inference_cache=False, inference_tp_size=1)
tests/unit/hybrid_engine/test_he_graph.py:50
Method__init__
(self)
tests/unit/hybrid_engine/test_he_graph.py:110
Method__init__
(self, client_module, inference=False)
tests/unit/hybrid_engine/test_he_policy.py:27
Method__init__
(self, config)
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:209
Method__init__
(self, config)
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:374
Method__init__
(self, hidden_dim)
tests/unit/ulysses_alst/test_tiled_compute.py:31
Method__init__
(self, hidden=32, inter=48)
tests/unit/module_inject/test_segment_ki_kernels.py:319
Method__init__
(self, m)
tests/unit/module_inject/test_segment_ki_kernels.py:417
Method__init__
(self, m)
tests/unit/module_inject/test_segment_ki_kernels.py:458
Method__init__
(self, m)
tests/unit/module_inject/test_segment_ki_kernels.py:603
Method__init__
(self, params, modifier_rank=None)
tests/unit/module_inject/test_hybrid_megatron.py:16
Method__init__
(self, m)
tests/unit/module_inject/test_graph_position_regression.py:25
Method__init__
(self)
tests/unit/module_inject/test_tp_partition_config_path.py:41
Method__init__
(self, num_layers=2)
tests/unit/module_inject/test_tp_partition_config_path.py:49
Method__init__
(self, tied)
tests/unit/module_inject/test_tp_partition_config_path.py:58
Method__init__
(self)
tests/unit/module_inject/test_tp_partition_config_path.py:70
Method__init__
(self, test, log)
tests/unit/module_inject/test_auto_ep_comm.py:839
Method__init__
(self, num_experts)
tests/unit/module_inject/test_auto_ep_comm.py:1013
Method__init__
(self, test, log)
tests/unit/module_inject/test_auto_ep_comm.py:1335
Method__init__
(self, mlp, gate, routing, checkpoint_func, reads_output=False)
tests/unit/module_inject/test_auto_ep_comm.py:1372
Method__init__
(self, split_size)
tests/unit/module_inject/test_fused_repartition.py:52
Method__init__
(self, fill=None, error=None)
tests/unit/comm/test_dist.py:164
Method__init__
(self, device_type)
tests/unit/comm/test_dist.py:196
Method__init__
(self, size, length)
tests/lightning/test_simple.py:14
Method__init__
(self)
tests/lightning/test_simple.py:27
Method__init__
(self, hidden: int, num_layers: int)
tests/benchmarks/bench_multimodal_sp.py:114
Method__init__
(self, hidden: int, num_layers: int)
tests/benchmarks/bench_multimodal_sp.py:130
Method__init__
In the constructor we instantiate two nn.Linear modules and assign them as member variables.
tests/accelerator/test_ds_init.py:14
Method__init__
(self, hidden_dim, empty_grad=False)
tests/small_model_debugging/test_model.py:17
Method__init__
(self, **kwargs)
tests/small_model_debugging/stage3_test.py:17
Method__init__
(self, hidden_dim, empty_grad=False)
tests/small_model_debugging/partial_offload_test.py:17
Method__init__
(self, params, defaults, fp32_optimizer_states=True)
deepspeed/ops/cpu_optimizer.py:17
Method__init__
(self, model_params, lr=1e-2, eps=1e-10, weight_decay=0, amsgrad=False, fp32_optimizer_states=True)
deepspeed/ops/adagrad/cpu_adagrad.py:15
Method__init__
Fast vectorized implementation of Lion optimizer on CPU: See Symbolic Discovery of Optimization Algorithms (https://doi.org/10.48550/arXiv.23
deepspeed/ops/lion/cpu_lion.py:16
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), weight_decay=0., set_grad_none=True)
deepspeed/ops/lion/fused_lion.py:36
Method__init__
(self, chunk_size)
deepspeed/ops/lion/multi_tensor_apply.py:13
Method__init__
(self, params, lr=1e-3, bias_correction=True,
deepspeed/ops/lamb/fused_lamb.py:41
Method__init__
(self, batch_size=-1, hidden_size=-1, intermediate_size=-1,
deepspeed/ops/transformer/transformer.py:89
Method__init__
(self, config, initial_weights=None, initial_biases=None)
deepspeed/ops/transformer/transformer.py:319
Method__init__
(self, hidden_size=-1, intermediate_size=-1, heads=-1,
deepspeed/ops/transformer/inference/config.py:49
Method__init__
(self, hidden_size=-1, intermediate_size=-1, heads=-1,
deepspeed/ops/transformer/inference/moe_inference.py:50
Method__init__
(self, config, mp_group=None, ep_group=None,
deepspeed/ops/transformer/inference/moe_inference.py:176
Method__init__
(self, config, mp_group=None, q_scales=None, q_groups=1, merge_count=1, mlp_extra_grouping=False)
deepspeed/ops/transformer/inference/ds_mlp.py:19
Method__init__
(self, config, mp_group=None, q_scales=None, q_groups=1, merge_count=1)
deepspeed/ops/transformer/inference/ds_attention.py:21
Method__init__
(self, int8_quantization=False)
deepspeed/ops/transformer/inference/diffusers_2d_transformer.py:9
Method__init__
( self, config, )
deepspeed/ops/transformer/inference/diffusers_attention.py:106
Method__init__
(self, equivalent_module: nn.Module, config: Diffusers2DTransformerConfig)
deepspeed/ops/transformer/inference/diffusers_transformer_block.py:20
Method__init__
(self, )
deepspeed/ops/transformer/inference/triton_ops.py:118
Method__init__
(self, key)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:94
Method__init__
(self)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:168
Method__init__
(self, read_cache=True)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:220
Method__init__
(self, config, mp_group=None, q_scales=None, q_groups=1, merge_count=1, qkv_merging=False)
deepspeed/ops/transformer/inference/triton/attention.py:25
Method__init__
(self, config, mp_group=None, q_scales=None, q_groups=1, merge_count=1, mlp_extra_grouping=False)
deepspeed/ops/transformer/inference/triton/mlp.py:17
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/linear.py:14
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/mlp_gemm.py:18
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/bias_add.py:13
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/softmax_context.py:16
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/bias_residual.py:13
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/vector_add.py:12
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/pad_transform.py:12
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/base.py:15
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/gated_activation.py:15
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/einsum_sec_sm_ecm.py:13
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/gelu_gemm.py:15
Method__init__
(self, config: DeepSpeedInferenceConfig)
deepspeed/ops/transformer/inference/op_binding/residual_add.py:16
Method__init__
(self)
deepspeed/ops/transformer/inference/op_binding/workspace.py:20
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/workspace.py:152
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/rms_norm.py:13
Method__init__
(self, config: DeepSpeedInferenceConfig = None)
deepspeed/ops/transformer/inference/op_binding/moe_res_matmul.py:13
← previousnext →7,001–7,100 of 15,468, ranked by callers