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
Function
ds_layer_norm_residual
Currently only used in unit testing */
csrc/transformer/inference/csrc/pt_binding.cpp:796
Function
ds_layer_norm_residual_store_pre_ln_res
Currently only used in unit testing */
csrc/transformer/inference/csrc/pt_binding.cpp:833
Function
ds_linear_layer
csrc/transformer/inference/csrc/pt_binding.cpp:1106
Function
ds_mlp_gemm
csrc/transformer/inference/csrc/pt_binding.cpp:1503
Function
ds_post_layer_norm
deepspeed/inference/v2/kernels/core_ops/cuda_layer_norm/layer_norm.cpp:51
Function
ds_pre_layer_norm
deepspeed/inference/v2/kernels/core_ops/cuda_layer_norm/layer_norm.cpp:84
Function
ds_pre_rms_norm
csrc/transformer/inference/csrc/pt_binding.cpp:741
Function
ds_qkv_gemm
csrc/transformer/inference/csrc/pt_binding.cpp:1022
Function
ds_release_workspace
csrc/transformer/inference/csrc/pt_binding.cpp:1923
Function
ds_retake_workspace
csrc/transformer/inference/csrc/pt_binding.cpp:1925
Function
ds_rms_mlp_gemm
csrc/transformer/inference/csrc/pt_binding.cpp:1556
Function
ds_rms_norm
csrc/transformer/inference/csrc/pt_binding.cpp:710
Function
ds_rms_qkv
csrc/transformer/inference/csrc/pt_binding.cpp:954
Function
ds_softmax
csrc/transformer/inference/csrc/pt_binding.cpp:59
Function
ds_softmax_context
csrc/transformer/inference/csrc/pt_binding.cpp:440
Function
ds_softmax_context1
csrc/transformer/inference/csrc/pt_binding.cpp:268
Function
ds_softmax_internal
csrc/transformer/inference/csrc/pt_binding.cpp:321
Method
ds_status
(self)
tests/unit/compile/test_zero3_grad_dtype.py:173
Function
ds_swizzle_quant
csrc/quantization/pt_binding.cpp:123
Function
ds_transformer_backward
csrc/transformer/ds_transformer_cuda.cpp:829
Function
ds_transformer_forward
csrc/transformer/ds_transformer_cuda.cpp:644
Function
ds_vector_matmul
csrc/transformer/inference/csrc/pt_binding.cpp:1318
Function
ds_vector_matmul_int8
csrc/transformer/inference/csrc/pt_binding.cpp:1370
Function
dtype
(request)
tests/unit/inference/test_checkpoint_sharding.py:55
Method
dtype
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:461
Function
dtype_to_elem_size
(dtype: torch.dtype)
deepspeed/compile/util.py:159
Function
dummy_decorator
(func)
deepspeed/runtime/compiler.py:120
Function
dummy_runner
()
tests/unit/launcher/test_user_args.py:55
Function
dump_cmd_lines
(cmd_lines)
deepspeed/nvme/perf_run_sweep.py:114
Method
dump_post_step_gradients
(self)
deepspeed/runtime/zero/stage3.py:3300
Method
dump_pre_step_gradients
(self, debug_fp32_grads)
deepspeed/runtime/zero/stage3.py:3288
Function
dump_state_dict
(model)
tests/unit/v1/zero/test_zero.py:399
Method
edit
(grad, param)
tests/unit/v1/zero/test_reflow.py:1391
Function
einsum_sec_sm_ecm
csrc/transformer/inference/csrc/pt_binding.cpp:132
Method
einsum_sec_sm_ecm_fallback
(cls, Q, W)
deepspeed/ops/transformer/inference/op_binding/einsum_sec_sm_ecm.py:25
Method
einsum_sec_sm_ecm_fp16
(Q, W)
op_builder/supa/inference.py:306
Method
einsum_sec_sm_ecm_fp32
(Q, W)
op_builder/supa/inference.py:310
Method
elapsed
(self)
tests/unit/modelingpreln.py:93
Method
elapsed
Elapsed time in ms of the latest start/stop interval.
deepspeed/utils/timer.py:109
Method
elapsed_total
Total elapsed time in ms of all intervals since the last reset.
deepspeed/utils/timer.py:113
Method
elastic_checkpoint_deprecated
(self)
deepspeed/runtime/zero/config.py:422
Method
empty_cache
(self)
accelerator/supa_accelerator.py:115
Method
empty_cache
(self)
accelerator/sdaa_accelerator.py:136
Method
empty_cache
(self)
accelerator/cpu_accelerator.py:277
Method
empty_cache
(self)
accelerator/mlu_accelerator.py:106
Method
empty_cache
(self)
accelerator/npu_accelerator.py:140
Method
empty_cache
(self)
accelerator/xpu_accelerator.py:273
Method
empty_cache
(self)
accelerator/cuda_accelerator.py:141
Method
empty_cache
(self)
accelerator/mps_accelerator.py:116
Method
empty_cache
(self)
accelerator/abstract_accelerator.py:117
Method
empty_from
(tensor: torch.Tensor, shape: Iterable[int])
deepspeed/inference/v2/allocator.py:17
Method
empty_partition_cache
(self)
deepspeed/runtime/zero/parameter_offload.py:255
Function
enable
()
tests/unit/runtime/test_python_gc.py:31
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:210
Function
enable_cuda_graph
(request)
tests/unit/inference/test_inference.py:136
Function
enable_determinism
(seed: int)
tests/unit/common.py:575
Function
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:401
Function
enable_mask
< Efficiently enables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:875
Function
enable_mask
< Efficiently enables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:671
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:608
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1326
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1528
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1735
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1942
Method
enable_mask
< Efficiently enables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:457
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:337
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:588
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1017
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1263
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1471
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1692
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1898
Function
enable_profiling
csrc/compile/deepcompile.cpp:39
Function
enable_triton
(request)
tests/unit/inference/test_inference.py:141
Method
endBackward
csrc/includes/deepcompile.h:495
Method
endBackward
csrc/compile/z3.cpp:51
Function
end_backward
csrc/compile/deepcompile.cpp:196
Function
end_backward_meta
csrc/compile/deepcompile.cpp:207
Method
end_document
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:602
Function
end_forward
csrc/compile/deepcompile.cpp:186
Method
end_time_hook
(module, input, output)
deepspeed/profiling/flops_profiler/profiler.py:123
Method
engine
()
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:363
Method
engine_config
The engine config.
deepspeed/inference/v2/model_implementations/inference_model_base.py:161
Function
ensure_directory_exists
Create the directory path to ``filename`` if it does not already exist. Args: filename (str): A file path.
deepspeed/runtime/utils.py:114
Function
entropy_backward
(logits, global_max, log_sum_exp, entropy, grad_output)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:395
Function
entropy_stats
``[3, rows]``: the local max, the sum-exp and the exp-weighted sum of centred logits.
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:380
Method
ep_parser
(self)
tests/unit/v1/moe/test_autoep_autotp_deepcompile_reject.py:43
Function
estimate_zero2_model_states_mem_needs_all_live
Print out estimates on memory usage requirements for ZeRO 2 params, optim states and gradients for a given ``model`` and hardware setup.
deepspeed/runtime/zero/stage_1_and_2.py:4201
Function
estimate_zero3_model_states_mem_needs_all_live
Print out estimates on memory usage requirements for ZeRO 3 params, optim states and gradients for a given ``model`` and hardware setup.
deepspeed/runtime/zero/stage3.py:4590
Method
eval
(self)
deepspeed/runtime/hybrid_engine.py:453
Method
eval_batch
(self, data_iter, return_logits=False, compute_loss=T
deepspeed/runtime/pipe/dualpipev.py:143
Function
exchange
(output, input_, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:2108
Method
exchange_and_square
(tensor)
tests/unit/ulysses_alst/test_dim_zero_all_to_all.py:35
Function
exclude_from_act_offload
(node: Node)
deepspeed/compile/util.py:155
Method
exec
(self, *args, **kwargs)
ci/test_torch_latest.py:256
Method
exec_func
(*inputs)
deepspeed/runtime/pipe/module.py:354
Method
exec_range_func
Helper function to be used with checkpoint() Adapted from torch.utils.checkpoint:checkpoint_sequential()
deepspeed/runtime/pipe/module.py:348
Method
exists
(path)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:567
Method
exit_backward
Exit backward context. Call at the end of backward pass.
deepspeed/runtime/base_optimizer.py:157
Method
expand_prompt_output
(_module, _args, _kwargs, output)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:1960
← previous
next →
9,101–9,200 of 15,767, ranked by callers