MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodname
()
deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py:103
Methodname
()
deepspeed/inference/v2/modules/implementations/unembed/ragged_unembed.py:28
Methodname
()
deepspeed/inference/v2/modules/implementations/embedding/ragged_embedding.py:23
Methodname
()
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_rms.py:22
Methodname
()
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_ln.py:23
Methodname
()
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:34
Methodname
Return the name of the backend
deepspeed/launcher/multinode_runner.py:47
Methodname
(self)
deepspeed/launcher/multinode_runner.py:85
Methodname
(self)
deepspeed/launcher/multinode_runner.py:144
Methodname
(self)
deepspeed/launcher/multinode_runner.py:205
Methodname
(self)
deepspeed/launcher/multinode_runner.py:277
Methodname
(self)
deepspeed/launcher/multinode_runner.py:361
Methodname
(self)
deepspeed/launcher/multinode_runner.py:466
Functionnative_pins
()
tests/unit/v1/pin_memory/test_pin_memory.py:19
Functionnatural_keys
alist.sort(key=natural_keys) sorts in human order http://nedbatchelder.com/blog/200712/human_sorting.html (See Toothy's implementation in
deepspeed/utils/zero_to_fp32.py:81
Functionnatural_keys
alist.sort(key=natural_keys) sorts in human order http://nedbatchelder.com/blog/200712/human_sorting.html (See Toothy's implementation in
deepspeed/checkpoint/ds_to_universal.py:104
Methodneeds_offload
(target)
deepspeed/runtime/zero/stage3.py:4319
Methodneeds_offload
(target)
deepspeed/runtime/zero/stage_1_and_2.py:4005
Methodnested
(x, weights, scores)
tests/unit/module_inject/test_auto_ep_comm.py:1136
FunctionnewFunc
(*args, **kwds)
deepspeed/profiling/flops_profiler/profiler.py:877
Methodnew_cpu_locked_tensor
csrc/pin_memory/py_ds_pin_memory.cpp:16
Functionnew_group
(ranks)
deepspeed/comm/comm.py:192
Methodnew_group
(self, ranks)
deepspeed/comm/torch.py:614
Methodnew_group
(self)
deepspeed/comm/backend.py:40
Methodnew_inference_container
(self, orig_layer, policy_cls, layer_id)
deepspeed/runtime/hybrid_engine.py:86
Methodnew_method
(*args, **kwargs)
tests/unit/util.py:117
Functionnew_tensor
(cls, *args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:275
Methodnew_tensor
(cls, *args)
deepspeed/utils/init_on_device.py:56
Methodnew_token
csrc/transformer/inference/includes/inference_context.h:206
Methodnext_batch
(self, sample_size)
deepspeed/autotuning/tuner/model_based_tuner.py:80
Methodnext_batch
(self, sample_size=1)
deepspeed/autotuning/tuner/index_based_tuner.py:17
Methodnext_batch
(self, sample_size=1)
deepspeed/autotuning/tuner/index_based_tuner.py:33
Methodnext_job
()
tests/unit/v1/zero/test_reflow.py:751
Functionnext_pow2
deepspeed/inference/v2/kernels/includes/ds_kernel_utils.h:50
Functionnext_pow2
csrc/includes/ds_kernel_utils.h:56
Functionnext_power_of_2
(value)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:748
Methodnext_tokens
(logits)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:1844
Functionnext_unique_val
Find the next ordered, unique value to a set. E.g. <0,1,2,7> --> 3
csrc/cpu/comm/ccl.cpp:109
Methodno_pool_bootstrap_stderr
(f, xs, iters)
tests/unit/inference/test_inference.py:686
Functionnon_reentrant_checkpoint
This function is union of `torch.utils.checkpoint._checkpoint_without_reentrant` and `CheckpointFunction` in this module This function is aim to
deepspeed/runtime/activation_checkpointing/checkpointing.py:787
Methodnon_transformer_params
(self)
deepspeed/inference/v2/model_implementations/inference_policy_base.py:40
Functionnoop_decorator
(func)
deepspeed/runtime/utils.py:97
Methodnorm_type
The type of normalization used in the model.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:173
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:105
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:90
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:100
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:88
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:94
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:100
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:91
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:96
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:86
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:99
Methodnorm_type
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:101
Methodnormalize_expert_scores
Whether to normalize expert scores. If true, sum(expert_scores) = 1.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:629
Methodnormalize_expert_scores
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:132
Methodnormalize_expert_scores
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:123
Methodnum_caches
Return the number of caches
deepspeed/inference/v2/ragged/kv_cache.py:201
Methodnum_dependencies
(self)
tests/unit/inference/v2/model_implementations/parameters/utils.py:52
Methodnum_layers
Number of the layers in the model
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:78
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:54
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:49
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:49
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:39
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:50
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:49
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:49
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:50
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:49
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:55
Methodnum_layers
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:49
Methodnum_micro_batches
The number of total micro_batches used to configure this schedule.
deepspeed/runtime/pipe/schedule.py:97
Methodnum_partitions
(self)
deepspeed/runtime/zero/partition_parameters.py:2284
Methodnum_pipe_buffers
Only two pipeline buffers are required for inferencing. Returns: ``2``
deepspeed/runtime/pipe/schedule.py:180
Methodnum_pipe_buffers
Only one pipeline buffer needed.
deepspeed/runtime/pipe/schedule.py:321
Methodnum_pipe_buffers
One slot per (phase, micro-batch): ``phase * micro_batches + micro_batch``.
deepspeed/runtime/pipe/schedule.py:356
Methodnum_pipeline_stages
(self)
deepspeed/runtime/pipe/module.py:564
Methodnum_stages
The number of total pipeline stages used to configure this schedule.
deepspeed/runtime/pipe/schedule.py:92
Methodnum_tokens
(self, index)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:204
Methodnumel
(self)
deepspeed/checkpoint/affine.py:207
Methodnumel
(self)
deepspeed/checkpoint/affine_transfer.py:161
Methodnumel
(self)
deepspeed/checkpoint/affine_transfer.py:194
Methodnvcc_args
(self)
op_builder/fused_lamb.py:27
Methodnvcc_args
(self)
op_builder/stochastic_transformer.py:19
Methodnvcc_args
(self)
op_builder/fused_lion.py:27
Methodnvcc_args
(self)
op_builder/transformer_inference.py:44
Methodnvcc_args
(self)
op_builder/fused_adam.py:27
Methodobserve
(engine)
tests/unit/v1/zero/test_reflow.py:1000
Methodobserve_norm
(*args)
tests/unit/v1/zero/test_reflow.py:859
Methodobserve_ready
(*args)
tests/unit/v1/zero/test_reflow.py:2435
Functionobserve_router
(_module, _inputs, output, name=name)
tests/unit/v1/moe/test_autoep_grad_parity.py:362
Methodobserve_router
(_module, _inputs, _output)
tests/unit/v1/moe/test_autoep_unit.py:1289
Methodoffload
Offload KV-cache blocks from accelerator memory to the host. Parameters: blocks (Iterable[int]): The blocks to offload.
deepspeed/inference/v2/ragged/kv_cache.py:163
Methodoffload
csrc/includes/deepcompile.h:442
Functionoffload_activation
Second half: keep what fits on the device, and bring the rest back before the backward reads it. Schedule this after offload_activation_floor. Th
deepspeed/compile/passes/offload_activation.py:828
Functionoffload_activation_floor
First half: move every eligible activation out so the next profile measures the floor. This half has to stand alone. The planner that trims it ru
deepspeed/compile/passes/offload_activation.py:811
Functionoffload_adam_states
Move optimizer states to device. Note that this assumes the state structure of DeepSpeed Adam.
deepspeed/runtime/utils.py:1233
Functionoffload_adam_states_for_init
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profili
deepspeed/compile/passes/offload_adam_states.py:599
Methodoffload_config
(managed)
tests/unit/v1/zero/test_zero_user_backward.py:2255
Functionoffload_parameter
csrc/compile/z3.cpp:677
← previousnext →10,701–10,800 of 15,468, ranked by callers