MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodmanual_seed
(self, seed)
accelerator/xpu_accelerator.py:239
Methodmanual_seed
(self, seed)
accelerator/cuda_accelerator.py:110
Methodmanual_seed
(self, seed)
accelerator/abstract_accelerator.py:77
Methodmanual_seed_all
(self, seed)
accelerator/supa_accelerator.py:87
Methodmanual_seed_all
(self, seed)
accelerator/sdaa_accelerator.py:108
Methodmanual_seed_all
(self, seed)
accelerator/cpu_accelerator.py:248
Methodmanual_seed_all
(self, seed)
accelerator/mlu_accelerator.py:78
Methodmanual_seed_all
(self, seed)
accelerator/npu_accelerator.py:112
Methodmanual_seed_all
(self, seed)
accelerator/xpu_accelerator.py:242
Methodmanual_seed_all
(self, seed)
accelerator/cuda_accelerator.py:113
Methodmanual_seed_all
(self, seed)
accelerator/mps_accelerator.py:84
Methodmanual_seed_all
(self, seed)
accelerator/abstract_accelerator.py:81
Methodmapping_params
(self)
deepspeed/inference/v2/model_implementations/layer_container_base.py:257
Functionmark_any_rank_failed
(tensor, op)
tests/unit/v1/compile/test_list_schedule.py:107
Functionmask_gather_bert
csrc/random_ltd/pt_binding.cpp:125
Functionmask_gather_gpt
csrc/random_ltd/pt_binding.cpp:158
Functionmasked_softmax_kernel
(output_ptr, input_ptr, stride, mask_ptr, mask_stride, n_cols, BLOCK_SIZE: tl.constexpr)
deepspeed/ops/transformer/inference/triton/softmax.py:33
Methodmasks
Placeholder for supporting complex masks. Currently not supported. Models that will need this will be BERT-like, not generative.
deepspeed/inference/v2/ragged/ragged_wrapper.py:270
Methodmatch
(self, module)
deepspeed/module_inject/containers/unet.py:25
Methodmatch_replaced
(self, module)
deepspeed/module_inject/containers/unet.py:28
Functionmaterialize_fake
(v, device=None)
deepspeed/compile/util.py:227
Methodmaterializes
(*args, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:707
Functionmatmul_4d_kernel
Kernel for computing the matmul C = A x B. A has shape (M, K), B has shape (K, N) and C has shape (M, N)
deepspeed/ops/transformer/inference/triton/triton_matmul_kernel.py:311
Functionmatmul_4d_prune_config
(configs, named_args, skip_autotune=SKIP_AUTOTUNE, **kwargs)
deepspeed/ops/transformer/inference/triton/triton_matmul_kernel.py:206
Functionmatmul_ext_update_autotune_table
()
deepspeed/ops/transformer/inference/triton/matmul_ext.py:488
Functionmatmul_kernel_fp8_bf16
(inp_ptr, weight_ptr, out_ptr, scale_ptr, M, N, K, stride_am, stride_ak, stride_bk,
deepspeed/ops/fp_quantizer/fp8_gemm_triton.py:23
Functionmatmul_kernel_fp8_fp16
(inp_ptr, weight_ptr, out_ptr, scale_ptr, M, N, K, stride_am, stride_ak, stride_bk,
deepspeed/ops/fp_quantizer/fp8_gemm_triton.py:72
Methodmax_allocated
(self)
deepspeed/runtime/zero/contiguous_memory_allocator.py:133
Methodmax_context
Maximum number of tokens for this sequence. Currently unused.
deepspeed/inference/v2/ragged/sequence_descriptor.py:150
Methodmax_memory_allocated
(self, device_index=None)
accelerator/supa_accelerator.py:121
Methodmax_memory_allocated
(self, device_index=None)
accelerator/sdaa_accelerator.py:142
Methodmax_memory_allocated
(self, device_index=None)
accelerator/cpu_accelerator.py:296
Methodmax_memory_allocated
(self, device_index=None)
accelerator/mlu_accelerator.py:112
Methodmax_memory_allocated
(self, device_index=None)
accelerator/npu_accelerator.py:146
Methodmax_memory_allocated
(self, device_index=None)
accelerator/xpu_accelerator.py:279
Methodmax_memory_allocated
(self, device_index=None)
accelerator/cuda_accelerator.py:147
Methodmax_memory_allocated
(self, device_index=None)
accelerator/mps_accelerator.py:122
Methodmax_memory_allocated
(self, device_index=None)
accelerator/abstract_accelerator.py:125
Methodmax_memory_cached
(self, device_index=None)
accelerator/supa_accelerator.py:130
Methodmax_memory_cached
(self, device_index=None)
accelerator/sdaa_accelerator.py:151
Methodmax_memory_cached
(self, device_index=None)
accelerator/cpu_accelerator.py:307
Methodmax_memory_cached
(self, device_index=None)
accelerator/mlu_accelerator.py:121
Methodmax_memory_cached
(self, device_index=None)
accelerator/npu_accelerator.py:155
Methodmax_memory_cached
(self, device_index=None)
accelerator/xpu_accelerator.py:288
Methodmax_memory_cached
(self, device_index=None)
accelerator/cuda_accelerator.py:156
Methodmax_memory_cached
(self, device_index=None)
accelerator/mps_accelerator.py:134
Methodmax_memory_cached
(self, device_index=None)
accelerator/abstract_accelerator.py:137
Methodmax_memory_reserved
(self, device_index=None)
accelerator/hpu_accelerator.py:150
Methodmax_memory_reserved
(self, device_index=None)
accelerator/supa_accelerator.py:148
Methodmax_memory_reserved
(self, device_index=None)
accelerator/sdaa_accelerator.py:169
Methodmax_memory_reserved
(self, device_index=None)
accelerator/cpu_accelerator.py:329
Methodmax_memory_reserved
(self, device_index=None)
accelerator/mlu_accelerator.py:139
Methodmax_memory_reserved
(self, device_index=None)
accelerator/npu_accelerator.py:173
Methodmax_memory_reserved
(self, device_index=None)
accelerator/cuda_accelerator.py:174
Methodmax_memory_reserved
(self, device_index=None)
accelerator/mps_accelerator.py:153
Methodmax_memory_reserved
(self, device_index=None)
accelerator/abstract_accelerator.py:157
Methodmax_ragged_sequence_count_validator
(self)
deepspeed/inference/v2/ragged/manager_configs.py:177
Methodmax_sequence_length
The maximum sequence length supported by the model.
deepspeed/inference/v2/model_implementations/inference_model_base.py:228
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:46
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/exaone4_5/model.py:102
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:35
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:42
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:42
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:47
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:41
Methodmaybe_allocate_kv
See ``DSInferenceModelBase.maybe_allocate_kv`` for documentation. This method assumes an autoregressive dense attention pattern. Ove
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:436
Methodmaybe_allocate_kv
Given a sequence and the number of new tokens in the sequence, determine whether or not additional KV-storage is needed and allocate
deepspeed/inference/v2/model_implementations/inference_model_base.py:207
Methodmaybe_install_capturing_hooks
(installed_model)
tests/unit/v1/moe/test_autoep_unit.py:2435
Functionmaybe_out_of_memory
(x)
tests/unit/v1/compile/test_graph_profile.py:312
Methodmean
Mean elapsed time in ms of all intervals since the last reset.
deepspeed/utils/timer.py:117
Functionmemcpy_async
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:923
Functionmemcpy_async
csrc/includes/memory_access_utils.h:952
Functionmemcpy_async_cg
Cache global variants. Separate interface to require deliberate use of them.
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:982
Functionmemcpy_async_cg
Cache global variants. Separate interface to require deliberate use of them.
csrc/includes/memory_access_utils.h:1011
Functionmemcpy_async_fence
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1031
Functionmemcpy_async_fence
csrc/includes/memory_access_utils.h:1060
Functionmemcpy_async_nop
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:934
Functionmemcpy_async_nop
csrc/includes/memory_access_utils.h:963
Functionmemcpy_async_nop_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:989
Functionmemcpy_async_nop_cg
csrc/includes/memory_access_utils.h:1018
Functionmemcpy_async_wait
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1034
Functionmemcpy_async_wait
csrc/includes/memory_access_utils.h:1063
Functionmemcpy_async_zero
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:950
Functionmemcpy_async_zero
csrc/includes/memory_access_utils.h:979
Functionmemcpy_async_zero_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1003
Functionmemcpy_async_zero_cg
csrc/includes/memory_access_utils.h:1032
Functionmemcpy_async_zero_nop
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:962
Functionmemcpy_async_zero_nop
csrc/includes/memory_access_utils.h:991
Functionmemcpy_async_zero_nop_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1013
Functionmemcpy_async_zero_nop_cg
csrc/includes/memory_access_utils.h:1042
Methodmemory_allocated
(self, device_index=None)
accelerator/cpu_accelerator.py:293
Methodmemory_allocated
(self, device_index=None)
accelerator/mps_accelerator.py:119
Methodmemory_allocated
(self, device_index=None)
accelerator/abstract_accelerator.py:121
Methodmemory_cached
(self, device_index=None)
accelerator/supa_accelerator.py:127
Methodmemory_cached
(self, device_index=None)
accelerator/sdaa_accelerator.py:148
← previousnext →10,001–10,100 of 14,579, ranked by callers