Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Method
name
()
deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py:103
Method
name
()
deepspeed/inference/v2/modules/implementations/unembed/ragged_unembed.py:28
Method
name
()
deepspeed/inference/v2/modules/implementations/embedding/ragged_embedding.py:23
Method
name
()
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_rms.py:22
Method
name
()
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_ln.py:23
Method
name
()
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:34
Method
name
Return the name of the backend
deepspeed/launcher/multinode_runner.py:47
Method
name
(self)
deepspeed/launcher/multinode_runner.py:85
Method
name
(self)
deepspeed/launcher/multinode_runner.py:144
Method
name
(self)
deepspeed/launcher/multinode_runner.py:205
Method
name
(self)
deepspeed/launcher/multinode_runner.py:277
Method
name
(self)
deepspeed/launcher/multinode_runner.py:361
Method
name
(self)
deepspeed/launcher/multinode_runner.py:466
Function
native_pins
()
tests/unit/v1/pin_memory/test_pin_memory.py:19
Function
natural_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
Function
natural_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
Method
needs_offload
(target)
deepspeed/runtime/zero/stage3.py:4319
Method
needs_offload
(target)
deepspeed/runtime/zero/stage_1_and_2.py:4005
Method
nested
(x, weights, scores)
tests/unit/module_inject/test_auto_ep_comm.py:1136
Function
newFunc
(*args, **kwds)
deepspeed/profiling/flops_profiler/profiler.py:877
Method
new_cpu_locked_tensor
csrc/pin_memory/py_ds_pin_memory.cpp:16
Function
new_group
(ranks)
deepspeed/comm/comm.py:192
Method
new_group
(self, ranks)
deepspeed/comm/torch.py:614
Method
new_group
(self)
deepspeed/comm/backend.py:40
Method
new_inference_container
(self, orig_layer, policy_cls, layer_id)
deepspeed/runtime/hybrid_engine.py:86
Method
new_method
(*args, **kwargs)
tests/unit/util.py:117
Function
new_tensor
(cls, *args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:275
Method
new_tensor
(cls, *args)
deepspeed/utils/init_on_device.py:56
Method
new_token
csrc/transformer/inference/includes/inference_context.h:206
Method
next_batch
(self, sample_size)
deepspeed/autotuning/tuner/model_based_tuner.py:80
Method
next_batch
(self, sample_size=1)
deepspeed/autotuning/tuner/index_based_tuner.py:17
Method
next_batch
(self, sample_size=1)
deepspeed/autotuning/tuner/index_based_tuner.py:33
Method
next_job
()
tests/unit/v1/zero/test_reflow.py:751
Function
next_pow2
deepspeed/inference/v2/kernels/includes/ds_kernel_utils.h:50
Function
next_pow2
csrc/includes/ds_kernel_utils.h:56
Function
next_power_of_2
(value)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:748
Method
next_tokens
(logits)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:1844
Function
next_unique_val
Find the next ordered, unique value to a set. E.g. <0,1,2,7> --> 3
csrc/cpu/comm/ccl.cpp:109
Method
no_pool_bootstrap_stderr
(f, xs, iters)
tests/unit/inference/test_inference.py:686
Function
non_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
Method
non_transformer_params
(self)
deepspeed/inference/v2/model_implementations/inference_policy_base.py:40
Function
noop_decorator
(func)
deepspeed/runtime/utils.py:97
Method
norm_type
The type of normalization used in the model.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:173
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:105
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:90
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:100
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:88
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:94
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:100
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:91
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:96
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:86
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:99
Method
norm_type
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:101
Method
normalize_expert_scores
Whether to normalize expert scores. If true, sum(expert_scores) = 1.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:629
Method
normalize_expert_scores
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:132
Method
normalize_expert_scores
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:123
Method
num_caches
Return the number of caches
deepspeed/inference/v2/ragged/kv_cache.py:201
Method
num_dependencies
(self)
tests/unit/inference/v2/model_implementations/parameters/utils.py:52
Method
num_layers
Number of the layers in the model
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:78
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:54
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:49
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:49
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:39
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:50
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:49
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:49
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:50
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:49
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:55
Method
num_layers
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:49
Method
num_micro_batches
The number of total micro_batches used to configure this schedule.
deepspeed/runtime/pipe/schedule.py:97
Method
num_partitions
(self)
deepspeed/runtime/zero/partition_parameters.py:2284
Method
num_pipe_buffers
Only two pipeline buffers are required for inferencing. Returns: ``2``
deepspeed/runtime/pipe/schedule.py:180
Method
num_pipe_buffers
Only one pipeline buffer needed.
deepspeed/runtime/pipe/schedule.py:321
Method
num_pipe_buffers
One slot per (phase, micro-batch): ``phase * micro_batches + micro_batch``.
deepspeed/runtime/pipe/schedule.py:356
Method
num_pipeline_stages
(self)
deepspeed/runtime/pipe/module.py:564
Method
num_stages
The number of total pipeline stages used to configure this schedule.
deepspeed/runtime/pipe/schedule.py:92
Method
num_tokens
(self, index)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:204
Method
numel
(self)
deepspeed/checkpoint/affine.py:207
Method
numel
(self)
deepspeed/checkpoint/affine_transfer.py:161
Method
numel
(self)
deepspeed/checkpoint/affine_transfer.py:194
Method
nvcc_args
(self)
op_builder/fused_lamb.py:27
Method
nvcc_args
(self)
op_builder/stochastic_transformer.py:19
Method
nvcc_args
(self)
op_builder/fused_lion.py:27
Method
nvcc_args
(self)
op_builder/transformer_inference.py:44
Method
nvcc_args
(self)
op_builder/fused_adam.py:27
Method
observe
(engine)
tests/unit/v1/zero/test_reflow.py:1000
Method
observe_norm
(*args)
tests/unit/v1/zero/test_reflow.py:859
Method
observe_ready
(*args)
tests/unit/v1/zero/test_reflow.py:2435
Function
observe_router
(_module, _inputs, output, name=name)
tests/unit/v1/moe/test_autoep_grad_parity.py:362
Method
observe_router
(_module, _inputs, _output)
tests/unit/v1/moe/test_autoep_unit.py:1289
Method
offload
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
Method
offload
csrc/includes/deepcompile.h:442
Function
offload_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
Function
offload_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
Function
offload_adam_states
Move optimizer states to device. Note that this assumes the state structure of DeepSpeed Adam.
deepspeed/runtime/utils.py:1233
Function
offload_adam_states_for_init
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profili
deepspeed/compile/passes/offload_adam_states.py:599
Method
offload_config
(managed)
tests/unit/v1/zero/test_zero_user_backward.py:2255
Function
offload_parameter
csrc/compile/z3.cpp:677
← previous
next →
10,701–10,800 of 15,468, ranked by callers