Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
14,579 in github.com/deepspeedai/DeepSpeed
⨍
Functions
14,579
◇
Types & classes
2,353
↳
Endpoints
92
Method
device_count
(self)
accelerator/sdaa_accelerator.py:83
Method
device_count
(self)
accelerator/cpu_accelerator.py:210
Method
device_count
(self)
accelerator/mlu_accelerator.py:53
Method
device_count
(self)
accelerator/npu_accelerator.py:87
Method
device_count
(self)
accelerator/xpu_accelerator.py:219
Method
device_count
(self)
accelerator/cuda_accelerator.py:84
Method
device_count
(self)
accelerator/mps_accelerator.py:65
Method
device_count
(self)
accelerator/abstract_accelerator.py:56
Function
device_counts
(_module, _inputs, output)
tests/unit/v1/moe/test_autoep_unit.py:1871
Method
device_name
(self, device_index)
accelerator/abstract_accelerator.py:36
Function
dict_raise_error_on_duplicate_keys
Reject duplicate keys.
deepspeed/runtime/config_utils.py:205
Function
dict_to_feature
Extract values from dict
deepspeed/autotuning/tuner/utils.py:66
Function
disable
()
tests/unit/runtime/test_python_gc.py:26
Function
disable_compiler_collective
(func)
deepspeed/comm/torch.py:52
Function
disarm_capture
(module, args, output)
deepspeed/sequence/linear_cross_entropy.py:435
Method
dispatch
(self, tokens, topk_idx, topk_weights)
tests/unit/v1/moe/test_autoep_unit.py:2029
Method
dispatch
(self, tokens, *, topk_idx=None, topk_weights=None, handle=None, do_expand=False, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:833
Method
doc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:469
Method
doc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:553
Function
downsample_load_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:464
Function
dp2_checkpoint
(tmp_path_factory)
tests/unit/checkpoint/test_fp32_master_only.py:200
Function
dp_size
()
deepspeed/compile/custom_ops/sp_dp_registry.py:44
Method
drain
(self, num_bytes, fd, file_offset)
deepspeed/io/double_io_buffer.py:30
Method
drain
(self, num_bytes, fd, file_offset)
deepspeed/io/single_io_buffer.py:20
Function
ds_adagrad_step
csrc/adagrad/cpu_adagrad.cpp:178
Function
ds_adagrad_step
csrc/xpu/adagrad/cpu_adagrad.cpp:139
Function
ds_adagrad_step_plus_copy
csrc/xpu/adagrad/cpu_adagrad.cpp:165
Function
ds_adam_rollback
csrc/adam/cpu_adam_impl.cpp:327
Function
ds_bias_add
csrc/transformer/inference/csrc/pt_binding.cpp:645
Function
ds_bias_gelu
csrc/transformer/inference/csrc/pt_binding.cpp:571
Function
ds_bias_relu
csrc/transformer/inference/csrc/pt_binding.cpp:629
Function
ds_bias_residual
csrc/transformer/inference/csrc/pt_binding.cpp:661
Function
ds_config
(zero_stage, dtype, sub_group_size)
tests/unit/checkpoint/test_universal_checkpoint.py:144
Function
ds_dequantize
csrc/transformer/inference/csrc/pt_binding.cpp:2005
Function
ds_gated_activation
deepspeed/inference/v2/kernels/core_ops/gated_activations/gated_activation_kernels.cpp:39
Function
ds_gated_activation
csrc/transformer/inference/csrc/pt_binding.cpp:598
Method
ds_ids
(self)
deepspeed/compile/graph_param.py:79
Function
ds_layer_norm
deepspeed/inference/v2/kernels/core_ops/cuda_layer_norm/layer_norm.cpp:20
Function
ds_layer_norm
csrc/transformer/inference/csrc/pt_binding.cpp:682
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
Function
dump_cmd_lines
(cmd_lines)
csrc/aio/py_test/aio_bench_perf_sweep.py:91
Method
dump_post_step_gradients
(self)
deepspeed/runtime/zero/stage3.py:3064
Method
dump_pre_step_gradients
(self, debug_fp32_grads)
deepspeed/runtime/zero/stage3.py:3052
Function
dump_state_dict
(model)
tests/unit/v1/zero/test_zero.py:271
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:413
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:562
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
← previous
next →
8,501–8,600 of 14,579, ranked by callers