MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

Functioncreate_transformer_layer
csrc/transformer/ds_transformer_cuda.cpp:596
Methodcuda
(self, device=None, non_blocking=False)
deepspeed/linear/quantization.py:113
Functioncuda_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
Methodcur_allocated_blocks
The number of KV blocks currently allocated for this sequence.
deepspeed/inference/v2/ragged/sequence_descriptor.py:21
Methodcur_allocated_blocks
(self, cache_group: int = 0)
deepspeed/inference/v2/ragged/sequence_descriptor.py:51
Methodcur_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
Methodcurrent_device
(self)
tests/unit/v1/compile/test_selective_gather.py:27
Methodcurrent_device
(self)
tests/unit/v1/compile/test_graph_profile.py:30
Methodcurrent_device
(self)
accelerator/cpu_accelerator.py:204
Methodcurrent_device
(self)
accelerator/mps_accelerator.py:59
Methodcurrent_device
(self)
accelerator/abstract_accelerator.py:48
Methodcurrent_device_name
(self)
accelerator/supa_accelerator.py:52
Methodcurrent_device_name
(self)
accelerator/sdaa_accelerator.py:80
Methodcurrent_device_name
(self)
accelerator/cpu_accelerator.py:207
Methodcurrent_device_name
(self)
accelerator/mlu_accelerator.py:50
Methodcurrent_device_name
(self)
accelerator/npu_accelerator.py:84
Methodcurrent_device_name
(self)
accelerator/cuda_accelerator.py:81
Methodcurrent_device_name
(self)
accelerator/mps_accelerator.py:62
Methodcurrent_device_name
(self)
accelerator/abstract_accelerator.py:52
Methodcurrent_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
Methodcurrent_stream
(self)
tests/unit/v1/zero/test_overlap_comm_record_stream.py:133
Methodcurrent_stream
(self)
tests/unit/v1/sequence_parallelism/test_overlap_grad_permutation.py:35
Methodcurrent_stream
(self, device_index=None)
accelerator/supa_accelerator.py:104
Methodcurrent_stream
(self, device_index=None)
accelerator/sdaa_accelerator.py:125
Methodcurrent_stream
(self, device_index=None)
accelerator/cpu_accelerator.py:266
Methodcurrent_stream
(self, device_index=None)
accelerator/mlu_accelerator.py:95
Methodcurrent_stream
(self, device_index=None)
accelerator/npu_accelerator.py:129
Methodcurrent_stream
(self, device_index=None)
accelerator/cuda_accelerator.py:130
Methodcurrent_stream
(self, device_index=None)
accelerator/mps_accelerator.py:105
Methodcurrent_stream
(self, device_index=None)
accelerator/abstract_accelerator.py:103
Methodcurrent_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
Methodcurrent_tokens
()
op_builder/npu/inference.py:69
Methodcurriculum_learning_config
(self)
deepspeed/runtime/engine.py:1530
Methodcustom
(start, end)
tests/unit/modeling.py:429
Methodcustom
(start, end)
tests/unit/modelingpreln.py:471
Methodcustom
(start, end)
tests/unit/ops/accelerators/test_accelerator_backward.py:109
Functioncustom_collective_max_bytes
(op: str = "all_reduce")
deepspeed/comm/custom_collective.py:66
Functioncustom_collective_ready
(world_size: int = 2, op: str = "all_reduce", group=None)
deepspeed/comm/custom_collective.py:52
Methodcustom_forward
(*inputs)
tests/unit/modeling.py:431
Methodcustom_forward
(*inputs)
tests/unit/modelingpreln.py:473
Methodcustom_forward
(*inputs)
tests/unit/ops/accelerators/test_accelerator_forward.py:63
Methodcustom_forward
(*inputs)
tests/unit/ops/accelerators/test_accelerator_backward.py:111
Methodcustom_state_dict
(self, *args, **kwargs)
tests/unit/simple_model.py:52
Functioncvt_bf16_to_fp32
csrc/cpu/comm/riscv64/shm.h:11
Functioncvt_bf16_to_fp32
csrc/cpu/comm/arm64/shm.h:22
Functioncvt_bf16_to_fp32
csrc/cpu/comm/x86_64/shm.h:9
Functioncvt_fp16_to_fp32
csrc/cpu/comm/riscv64/shm.h:41
Functioncvt_fp16_to_fp32
csrc/cpu/comm/arm64/shm.h:30
Functioncvt_fp16_to_fp32
csrc/cpu/comm/x86_64/shm.h:37
Functioncvt_fp32_to_bf16
csrc/cpu/comm/riscv64/shm.h:18
Functioncvt_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
Functioncvt_fp32_to_bf16
csrc/cpu/comm/x86_64/shm.h:16
Functioncvt_fp32_to_fp16
csrc/cpu/comm/riscv64/shm.h:48
Functioncvt_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
Functioncvt_fp32_to_fp16
csrc/cpu/comm/x86_64/shm.h:40
Methodcxx_args
(self)
op_builder/gds.py:32
Methodcxx_args
(self)
op_builder/builder.py:914
Methodcxx_args
(self)
op_builder/npu/no_impl.py:26
Methodcxx_args
(self)
op_builder/npu/async_io.py:37
Methodcxx_args
(self)
op_builder/npu/builder.py:80
Methodcxx_args
(self)
op_builder/klxpu/no_impl.py:24
Methodcxx_args
(self)
op_builder/klxpu/async_io.py:40
Methodcxx_args
(self)
op_builder/xpu/no_impl.py:26
Methodcxx_args
(self)
op_builder/xpu/async_io.py:40
Methodcxx_args
(self)
op_builder/xpu/flash_attn.py:44
Methodcxx_args
(self)
op_builder/xpu/fused_adam.py:24
Methodcxx_args
(self)
op_builder/sdaa/no_impl.py:52
Methodcxx_args
(self)
op_builder/cpu/async_io.py:38
Methodcxx_args
(self)
op_builder/cpu/comm.py:29
Methodcxx_args
(self)
op_builder/cpu/comm.py:65
Methodcxx_args
(self)
op_builder/cpu/builder.py:17
Methodcxx_args
(self)
op_builder/supa/no_impl.py:25
Methodcxx_args
(self)
op_builder/supa/async_io.py:40
Methodcxx_args
(self)
op_builder/mlu/no_impl.py:27
Methoddata_efficiency_enabled
(self)
deepspeed/runtime/engine.py:1515
Methoddata_exchange
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_ulysses.py:917
Methoddata_exchange
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_ulysses.py:984
Methoddata_post_process
(data, data_sampler_state_dict)
tests/unit/runtime/test_data_efficiency.py:161
Methoddata_ptr
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:77
Methoddata_sampling_enabled
(self)
deepspeed/runtime/engine.py:1521
Functiondataset_exists
(path, impl)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:84
Functiondebug_module2name_class
(module)
deepspeed/utils/debug.py:92
Functiondebug_module2name_id
(module)
deepspeed/utils/debug.py:88
Functiondebug_param2name_id_numel
(param)
deepspeed/utils/debug.py:129
Functiondecode_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
Methoddecode_forward
()
deepspeed/runtime/rollout/hybrid_engine_rollout.py:2326
Functiondecorator
(func: Callable)
tests/unit/common.py:577
Methoddeepseek_v2
DeepSeek-V2 with MLA (Multi-head Latent Attention).
deepspeed/module_inject/autotp_config.py:462
Methoddeepspeed_aio_config_t
csrc/aio/common/deepspeed_aio_types.cpp:20
Methoddeepspeed_aio_handle_t
csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:15
Methoddeepspeed_aio_thread_t
csrc/aio/py_lib/deepspeed_aio_thread.cpp:14
Methoddeepspeed_gds_handle_t
csrc/gds/deepspeed_py_gds_handle.cpp:18
Methoddeepspeed_io_handle_t
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:41
Methoddeepspeed_pin_handle_t
csrc/pin_memory/py_ds_pin_memory.cpp:14
Functiondeepspeed_pin_tensor_mgr_holder
csrc/pin_memory/deepspeed_pin_tensor.cpp:33
Methoddeepspeed_pin_tensor_t
csrc/pin_memory/deepspeed_pin_tensor.h:23
Functiondeepspeed_py_aio_read
csrc/aio/py_lib/deepspeed_py_aio.cpp:85
Functiondeepspeed_py_aio_write
csrc/aio/py_lib/deepspeed_py_aio.cpp:40
Methoddefault_generator
(self, device_index)
accelerator/supa_accelerator.py:93
Methoddefault_generator
(self, device_index)
accelerator/sdaa_accelerator.py:114
← previousnext →8,901–9,000 of 15,767, ranked by callers