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
create_transformer_layer
csrc/transformer/ds_transformer_cuda.cpp:596
Method
cuda
(self, device=None, non_blocking=False)
deepspeed/linear/quantization.py:113
Function
cuda_wf6af16_linear
* Function to execute the FP6 linear kernel. * * Parameters: * output: output tensor, size M*N * hidden_states: input activation tensor, siz
deepspeed/inference/v2/kernels/core_ops/cuda_linear/linear_kernels.cpp:152
Method
cur_allocated_blocks
The number of KV blocks currently allocated for this sequence.
deepspeed/inference/v2/ragged/sequence_descriptor.py:21
Method
cur_allocated_blocks
(self, cache_group: int = 0)
deepspeed/inference/v2/ragged/sequence_descriptor.py:51
Method
cur_allocated_blocks
Returns the number of blocks currently allocated for this sequence in the specified cache group. Arguments: cache_group
deepspeed/inference/v2/ragged/sequence_descriptor.py:164
Method
current_device
(self)
tests/unit/v1/compile/test_selective_gather.py:27
Method
current_device
(self)
tests/unit/v1/compile/test_graph_profile.py:30
Method
current_device
(self)
accelerator/cpu_accelerator.py:204
Method
current_device
(self)
accelerator/mps_accelerator.py:59
Method
current_device
(self)
accelerator/abstract_accelerator.py:48
Method
current_device_name
(self)
accelerator/supa_accelerator.py:52
Method
current_device_name
(self)
accelerator/sdaa_accelerator.py:80
Method
current_device_name
(self)
accelerator/cpu_accelerator.py:207
Method
current_device_name
(self)
accelerator/mlu_accelerator.py:50
Method
current_device_name
(self)
accelerator/npu_accelerator.py:84
Method
current_device_name
(self)
accelerator/cuda_accelerator.py:81
Method
current_device_name
(self)
accelerator/mps_accelerator.py:62
Method
current_device_name
(self)
accelerator/abstract_accelerator.py:52
Method
current_sequences
The number of sequences in the in-flight ragged batch. This will not trigger synchronization with the device.
deepspeed/inference/v2/ragged/ragged_wrapper.py:287
Method
current_stream
(self)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:133
Method
current_stream
(self)
tests/unit/v1/sequence_parallelism/test_overlap_grad_permutation.py:35
Method
current_stream
(self, device_index=None)
accelerator/supa_accelerator.py:104
Method
current_stream
(self, device_index=None)
accelerator/sdaa_accelerator.py:125
Method
current_stream
(self, device_index=None)
accelerator/cpu_accelerator.py:266
Method
current_stream
(self, device_index=None)
accelerator/mlu_accelerator.py:95
Method
current_stream
(self, device_index=None)
accelerator/npu_accelerator.py:129
Method
current_stream
(self, device_index=None)
accelerator/cuda_accelerator.py:130
Method
current_stream
(self, device_index=None)
accelerator/mps_accelerator.py:105
Method
current_stream
(self, device_index=None)
accelerator/abstract_accelerator.py:103
Method
current_tokens
The number of tokens in the in-flight ragged batch. This will not trigger synchronization with the device.
deepspeed/inference/v2/ragged/ragged_wrapper.py:279
Method
current_tokens
()
op_builder/npu/inference.py:69
Method
curriculum_learning_config
(self)
deepspeed/runtime/engine.py:1530
Method
custom
(start, end)
tests/unit/modeling.py:429
Method
custom
(start, end)
tests/unit/modelingpreln.py:471
Method
custom
(start, end)
tests/unit/ops/accelerators/test_accelerator_backward.py:109
Function
custom_collective_max_bytes
(op: str = "all_reduce")
deepspeed/comm/custom_collective.py:66
Function
custom_collective_ready
(world_size: int = 2, op: str = "all_reduce", group=None)
deepspeed/comm/custom_collective.py:52
Method
custom_forward
(*inputs)
tests/unit/modeling.py:431
Method
custom_forward
(*inputs)
tests/unit/modelingpreln.py:473
Method
custom_forward
(*inputs)
tests/unit/ops/accelerators/test_accelerator_forward.py:63
Method
custom_forward
(*inputs)
tests/unit/ops/accelerators/test_accelerator_backward.py:111
Method
custom_state_dict
(self, *args, **kwargs)
tests/unit/simple_model.py:52
Function
cvt_bf16_to_fp32
csrc/cpu/comm/riscv64/shm.h:11
Function
cvt_bf16_to_fp32
csrc/cpu/comm/arm64/shm.h:22
Function
cvt_bf16_to_fp32
csrc/cpu/comm/x86_64/shm.h:9
Function
cvt_fp16_to_fp32
csrc/cpu/comm/riscv64/shm.h:41
Function
cvt_fp16_to_fp32
csrc/cpu/comm/arm64/shm.h:30
Function
cvt_fp16_to_fp32
csrc/cpu/comm/x86_64/shm.h:37
Function
cvt_fp32_to_bf16
csrc/cpu/comm/riscv64/shm.h:18
Function
cvt_fp32_to_bf16
While converting fp32 to fp16, before truncating lsb, it should be rounded to nearest even and Converts 4 float32 -> 4 bfloat16 with round-to-nearest-
csrc/cpu/comm/arm64/shm.h:38
Function
cvt_fp32_to_bf16
csrc/cpu/comm/x86_64/shm.h:16
Function
cvt_fp32_to_fp16
csrc/cpu/comm/riscv64/shm.h:48
Function
cvt_fp32_to_fp16
fp32 and fp16 are IEEE formats. converting fp32 to fp16 is handled by vcvt_f16_f32 internally without arbitrarily truncating the lsb but rounds to nea
csrc/cpu/comm/arm64/shm.h:75
Function
cvt_fp32_to_fp16
csrc/cpu/comm/x86_64/shm.h:40
Method
cxx_args
(self)
op_builder/gds.py:32
Method
cxx_args
(self)
op_builder/builder.py:914
Method
cxx_args
(self)
op_builder/npu/no_impl.py:26
Method
cxx_args
(self)
op_builder/npu/async_io.py:37
Method
cxx_args
(self)
op_builder/npu/builder.py:80
Method
cxx_args
(self)
op_builder/klxpu/no_impl.py:24
Method
cxx_args
(self)
op_builder/klxpu/async_io.py:40
Method
cxx_args
(self)
op_builder/xpu/no_impl.py:26
Method
cxx_args
(self)
op_builder/xpu/async_io.py:40
Method
cxx_args
(self)
op_builder/xpu/flash_attn.py:44
Method
cxx_args
(self)
op_builder/xpu/fused_adam.py:24
Method
cxx_args
(self)
op_builder/sdaa/no_impl.py:52
Method
cxx_args
(self)
op_builder/cpu/async_io.py:38
Method
cxx_args
(self)
op_builder/cpu/comm.py:29
Method
cxx_args
(self)
op_builder/cpu/comm.py:65
Method
cxx_args
(self)
op_builder/cpu/builder.py:17
Method
cxx_args
(self)
op_builder/supa/no_impl.py:25
Method
cxx_args
(self)
op_builder/supa/async_io.py:40
Method
cxx_args
(self)
op_builder/mlu/no_impl.py:27
Method
data_efficiency_enabled
(self)
deepspeed/runtime/engine.py:1515
Method
data_exchange
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_ulysses.py:917
Method
data_exchange
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_ulysses.py:984
Method
data_post_process
(data, data_sampler_state_dict)
tests/unit/runtime/test_data_efficiency.py:161
Method
data_ptr
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:77
Method
data_sampling_enabled
(self)
deepspeed/runtime/engine.py:1521
Function
dataset_exists
(path, impl)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:84
Function
debug_module2name_class
(module)
deepspeed/utils/debug.py:92
Function
debug_module2name_id
(module)
deepspeed/utils/debug.py:88
Function
debug_param2name_id_numel
(param)
deepspeed/utils/debug.py:129
Function
decode_attn
Single-query attention over valid KV positions, batched. q: [b, num_heads, head_dim] K, V: [b, num_kv_heads, max_len, head_dim] pos: int
deepspeed/module_inject/kernel_reference.py:50
Method
decode_forward
()
deepspeed/runtime/rollout/hybrid_engine_rollout.py:2326
Function
decorator
(func: Callable)
tests/unit/common.py:577
Method
deepseek_v2
DeepSeek-V2 with MLA (Multi-head Latent Attention).
deepspeed/module_inject/autotp_config.py:462
Method
deepspeed_aio_config_t
csrc/aio/common/deepspeed_aio_types.cpp:20
Method
deepspeed_aio_handle_t
csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:15
Method
deepspeed_aio_thread_t
csrc/aio/py_lib/deepspeed_aio_thread.cpp:14
Method
deepspeed_gds_handle_t
csrc/gds/deepspeed_py_gds_handle.cpp:18
Method
deepspeed_io_handle_t
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:41
Method
deepspeed_pin_handle_t
csrc/pin_memory/py_ds_pin_memory.cpp:14
Function
deepspeed_pin_tensor_mgr_holder
csrc/pin_memory/deepspeed_pin_tensor.cpp:33
Method
deepspeed_pin_tensor_t
csrc/pin_memory/deepspeed_pin_tensor.h:23
Function
deepspeed_py_aio_read
csrc/aio/py_lib/deepspeed_py_aio.cpp:85
Function
deepspeed_py_aio_write
csrc/aio/py_lib/deepspeed_py_aio.cpp:40
Method
default_generator
(self, device_index)
accelerator/supa_accelerator.py:93
Method
default_generator
(self, device_index)
accelerator/sdaa_accelerator.py:114
← previous
next →
8,901–9,000 of 15,767, ranked by callers