MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodinstantiate_model
(self, engine_config: RaggedInferenceEngineConfig, mp_group: Any)
deepspeed/inference/v2/model_implementations/llama_v2/policy.py:16
Functioninstantiate_moe
Choose an appropriate MoE implementation based on the given configurations. This method is currently a stub, but as more implementations may
deepspeed/inference/v2/modules/heuristics.py:110
Functioninstantiate_post_norm
Choose an appropriate post-norm implementation based on the given configurations. This method is currently a stub, but as more implementation
deepspeed/inference/v2/modules/heuristics.py:139
Functioninstantiate_pre_norm
Choose an appropriate pre-norm implementation based on the given configurations. Currently, this will select between two CUDA implementations
deepspeed/inference/v2/modules/heuristics.py:158
Functioninstantiate_unembed
Choose an appropriate unembedding implementation based on the given configurations. This method is currently a stub, but as more implementati
deepspeed/inference/v2/modules/heuristics.py:179
Functionint4x2to2xint4
(int4X2tensor)
tests/unit/ops/quantizer/test_quantize.py:68
Methodintegers
(*shape)
tests/unit/module_inject/test_auto_ep_comm.py:1069
Methodinter_layer_overlap_forward
(self, hidden_states, attention_mask, rotary_pos_emb=None)
deepspeed/runtime/domino/transformer.py:467
Methodintermediate_dim
The size of the (unsharded) intermediate projection dim. For a gated activation function this is the size of the input to the second
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:135
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:74
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:69
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:69
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:59
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:70
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:69
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:69
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:70
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:69
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:75
Methodintermediate_dim
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:69
Methodintra_layer_overlap_forward
(self, hidden_states, attention_mask, rotary_pos_emb=None)
deepspeed/runtime/domino/transformer.py:591
Functioninvalidate_gathered_param
for profiling
csrc/compile/z3.cpp:587
Functionio_engine_multiprocessing
(args, read_op)
deepspeed/nvme/io_engine.py:118
Functionio_engine_tasklet
(pool_params)
deepspeed/nvme/io_engine.py:69
Methodio_op_desc_t
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:50
Methodio_prep_context
csrc/aio/common/deepspeed_aio_utils.cpp:33
Methodio_prep_generator
csrc/aio/common/deepspeed_aio_utils.cpp:65
Methodio_xfer_ctxt
csrc/aio/common/deepspeed_aio_utils.cpp:20
Functionirecv
(tensor, src=None, group=None, tag=0, prof=False, log_name='irecv', debug=get_caller_func())
deepspeed/comm/comm.py:409
MethodisPartitioned
csrc/includes/deepcompile.h:301
Functionis_available
Whether this build can run the fused weighted restore at all.
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:225
Functionis_available
()
deepspeed/comm/comm.py:199
Methodis_available
(self)
accelerator/supa_accelerator.py:169
Methodis_available
(self)
accelerator/sdaa_accelerator.py:195
Methodis_available
(self)
accelerator/cpu_accelerator.py:349
Methodis_available
(self)
accelerator/mlu_accelerator.py:165
Methodis_available
(self)
accelerator/npu_accelerator.py:231
Methodis_available
(self)
accelerator/mps_accelerator.py:181
Methodis_available
(self)
accelerator/abstract_accelerator.py:187
Methodis_base_tensor
(tensor)
deepspeed/compile/util.py:387
Methodis_bf16_supported
(self)
accelerator/supa_accelerator.py:159
Methodis_bf16_supported
(self)
accelerator/cpu_accelerator.py:372
Methodis_bf16_supported
(self)
accelerator/npu_accelerator.py:221
Methodis_bf16_supported
(self)
accelerator/xpu_accelerator.py:364
Methodis_bf16_supported
(self)
accelerator/abstract_accelerator.py:170
Methodis_compatible
(self, verbose=False)
tests/unit/ops/test_op_builder.py:528
Methodis_compatible
(self, verbose=False)
op_builder/pin_memory.py:21
Methodis_compatible
(self, verbose=False)
op_builder/inference_cutlass_builder.py:38
Methodis_compatible
(self, verbose=False)
op_builder/builder.py:785
Methodis_compatible
(self, verbose=False)
op_builder/evoformer_attn.py:43
Methodis_compatible
(self, verbose=False)
op_builder/ragged_ops.py:52
Methodis_compatible
(self, verbose=False)
op_builder/mps/builder.py:45
Methodis_compatible
(self, verbose=False)
op_builder/npu/async_io.py:91
Methodis_compatible
(self, verbose=False)
op_builder/npu/quantizer.py:355
Methodis_compatible
(self, verbose=False)
op_builder/npu/fused_lamb.py:100
Methodis_compatible
(self, verbose=False)
op_builder/npu/fused_lion.py:72
Methodis_compatible
(self, verbose=False)
op_builder/klxpu/no_impl.py:36
Methodis_compatible
(self, verbose=False)
op_builder/klxpu/async_io.py:79
Methodis_compatible
(self, verbose=False)
op_builder/klxpu/fused_adam.py:96
Methodis_compatible
(self, verbose=False)
op_builder/cpu/async_io.py:75
Methodis_compatible
(self, verbose=False)
op_builder/cpu/comm.py:68
Methodis_compatible
(self, verbose=False)
op_builder/cpu/reflow.py:29
Methodis_compatible
(self, verbose=False)
op_builder/supa/no_impl.py:37
Methodis_compatible
(self, verbose=False)
op_builder/supa/async_io.py:79
Methodis_compatible
(self, verbose=False)
op_builder/supa/quantizer.py:80
Methodis_compatible
(self, verbose=False)
op_builder/supa/fused_lion.py:65
Methodis_compatible
(self, verbose=False)
op_builder/supa/fused_adam.py:85
Methodis_compiled
(self)
deepspeed/inference/engine.py:658
Methodis_compiled
(self)
deepspeed/runtime/engine.py:6214
Methodis_completed
(self)
deepspeed/comm/mori.py:60
Functionis_configured
True if deepspeed activation checkpointing has been configured by calling deepspeed.checkpointing.configure, else returns false Arguments
deepspeed/runtime/activation_checkpointing/checkpointing.py:1254
Methodis_current_stream_capturing
(self)
accelerator/xpu_accelerator.py:342
Methodis_current_stream_capturing
(self)
accelerator/cuda_accelerator.py:294
Methodis_current_stream_capturing
(self)
accelerator/abstract_accelerator.py:228
Methodis_data_parallel_writer
(self, dp_rank)
deepspeed/runtime/checkpoint_engine/fast_checkpoint_engine.py:49
Methodis_data_parallel_writer
(self, dp_rank)
deepspeed/runtime/checkpoint_engine/decoupled_checkpoint_engine.py:237
Methodis_decoupled
(self)
deepspeed/runtime/checkpoint_engine/datastates_checkpoint_engine.py:55
Methodis_decoupled
(self)
deepspeed/runtime/checkpoint_engine/decoupled_checkpoint_engine.py:199
Methodis_empty
(self)
deepspeed/checkpoint/affine_geometry.py:135
Methodis_empty
(self)
deepspeed/io/double_io_buffer.py:60
Methodis_empty
(self)
deepspeed/io/single_io_buffer.py:40
Methodis_fp16_supported
(self)
accelerator/supa_accelerator.py:162
Methodis_fp16_supported
(self)
accelerator/npu_accelerator.py:224
Methodis_fp16_supported
(self)
accelerator/xpu_accelerator.py:367
Methodis_fp16_supported
(self)
accelerator/mps_accelerator.py:168
Methodis_fp16_supported
(self)
accelerator/abstract_accelerator.py:174
Methodis_fp64_supported
(self)
accelerator/abstract_accelerator.py:178
Methodis_full
(self)
deepspeed/io/double_io_buffer.py:56
Methodis_full
(self)
deepspeed/io/single_io_buffer.py:37
Methodis_gradient_accumulation_boundary
Whether the current micro-batch is a gradient accumulation boundary. Used by managed ZeRO reduce/partition/offload logic. Unmanaged mode stil
deepspeed/runtime/base_optimizer.py:274
Methodis_graph_capture_supported
(self)
accelerator/xpu_accelerator.py:339
Methodis_graph_capture_supported
(self)
accelerator/cuda_accelerator.py:291
Methodis_graph_capture_supported
(self)
accelerator/abstract_accelerator.py:225
Functionis_impure_for_dce
Keep vmap nesting markers whose side effects are invisible to FX.
deepspeed/compile/fx.py:23
Functionis_initialized
()
deepspeed/comm/comm.py:172
Methodis_initialized
(self)
deepspeed/comm/backend.py:37
Methodis_last_stage
Rank 0 holds the last stage, but only its phase-1 half is the loss stage.
deepspeed/runtime/pipe/dualpipev.py:117
Functionis_parallel
Return whether ``group`` spans more than one rank, i.e. whether a collective over it has any effect. ``None`` marks an absent parallel dimen
deepspeed/comm/pg_utils.py:16
Methodis_pinned
csrc/pin_memory/py_ds_pin_memory.cpp:31
Methodis_populated
Returns whether or not all parameters have been populated by the checkpoint engine, but does not validat the parameters are on the co
deepspeed/inference/v2/model_implementations/layer_container_base.py:228
← previousnext →10,101–10,200 of 15,468, ranked by callers