MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodadd_dotted
(name: str)
ci/tests_fetcher.py:375
Methodadd_extra_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:422
Methodadd_item
write the tensor to the file and update its size in the index
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:583
Functionadd_mem_profile_nodes
(graph: Graph, prefix: str)
deepspeed/compile/util.py:435
Methodadd_or_reset_attrs
(module)
deepspeed/profiling/flops_profiler/profiler.py:185
Functionadd_padding
csrc/transformer/inference/csrc/pt_binding.cpp:1224
Functionadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:671
Functionadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:262
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:558
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1276
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1478
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1685
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1892
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:292
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:547
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:972
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1222
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1430
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1651
Methodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1857
Methodadd_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:566
Methodadd_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1284
Methodadd_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1486
Methodadd_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1693
Methodadd_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1900
Methodadd_to_never_reuse
(x)
deepspeed/compile/inductor.py:250
Methodadd_to_total_loss
(_total_loss, _loss)
deepspeed/runtime/pipe/engine.py:768
Functionadd_z1_reduce
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profiling_results, cre
deepspeed/compile/passes/zero_1_and_2_compile.py:66
Functionadd_z2_reduce
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profiling_results, cre
deepspeed/compile/passes/zero_1_and_2_compile.py:73
Functionadd_z3_gather_release
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profiling_results,
deepspeed/compile/passes/zero3_compile.py:526
Methodadjust_forward_contract
(self, contract: ForwardContract)
deepspeed/module_inject/auto_ep_presets/base.py:428
Methodadjust_forward_contract
(self, contract: ForwardContract)
deepspeed/module_inject/auto_ep_presets/qwen3_5_moe.py:56
Methodadmitted_slots
Rows available for prefilling the newly admitted requests.
deepspeed/runtime/rollout/continuous_batching.py:43
Methodadvance
csrc/deepspeed4science/evoformer_attn/transform/bias_broadcast.h:21
Methodadvance
csrc/deepspeed4science/evoformer_attn/transform/bias_broadcast.h:52
Methodadvance
csrc/deepspeed4science/evoformer_attn/transform/bias_broadcast.h:83
Functionafter_backward_hook
the hook registered to all leaf tensors
deepspeed/runtime/activation_checkpointing/checkpointing.py:990
Methodafter_bwd_validate_func
(model)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:562
Methodafter_bwd_validate_func
(model)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:641
Methodafter_piece
(param, start, count, out)
deepspeed/runtime/zero/stage3.py:3156
Methodafter_step_validate_func
(model)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:569
Methodafter_step_validate_func
(model)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:648
Functionaggregate_loss
Combine the per-shard summed loss of a sequence-parallel group into the full-sequence loss. Returns the full-sequence loss (summed, or avera
deepspeed/compile/custom_ops/all_to_all.py:103
Functionaggregate_loss_fake
(local_loss_sum: torch.Tensor, local_valid_tokens: torch.Tensor, average: bool)
deepspeed/compile/custom_ops/all_to_all.py:128
Methodaio_context
csrc/aio/common/deepspeed_aio_types.cpp:61
Methodaligned_size
()
deepspeed/runtime/zero/partition_parameters.py:1643
Methodall_gather
(self, tensor_list, tensor, group=None, async_op=False)
deepspeed/comm/torch.py:434
Methodall_gather_base
(self, output_tensor, input_tensor, group=None, async_op=False)
deepspeed/comm/torch.py:462
Functionall_gather_object
(object_list, obj, group=None, prof=False, log_name='all_gather_object', debug=get_caller_func())
deepspeed/comm/comm.py:263
Functionall_gather_sequence
Concatenate the local sequence shards of `input` along `dim` across the SP group.
deepspeed/compile/custom_ops/all_to_all.py:149
Functionall_gather_sequence_fake
(input: torch.Tensor, dim: int)
deepspeed/compile/custom_ops/all_to_all.py:162
Functionall_parameters
(self)
deepspeed/runtime/zero/partition_parameters.py:144
Functionall_reduce
(tensor, op=ReduceOp.SUM, group=None, async_op=False,
deepspeed/comm/comm.py:689
Functionall_reduce
(tensor: torch.Tensor)
deepspeed/comm/custom_collective.py:103
Functionall_reduce
TODO: implement torch's async_op behavior, document it.
csrc/cpu/comm/ccl.cpp:214
Methodall_reduce
(self, tensor)
op_builder/custom_collective.py:152
Functionall_reduce_caching
csrc/cpu/comm/ccl.cpp:225
Functionall_reduce_coalesced
(tensors, op=ReduceOp.SUM, group=None,
deepspeed/comm/comm.py:713
Functionall_reduce_comm_off
(flag=False)
deepspeed/comm/torch.py:118
Methodall_reduce_counter
(*a, **k)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:405
Functionall_to_all
(output_tensor_list, input_tensor_list, group=None, async_op=Fals
deepspeed/comm/comm.py:379
Functionall_to_all_fake
(input: torch.Tensor, scatter_idx: int, gather_idx: int, name: str)
deepspeed/compile/custom_ops/all_to_all.py:80
Functionall_to_all_single
(output, input_tensor, group=None, async_op=False)
tests/unit/v1/sequence_parallelism/test_overlap_grad_permutation.py:41
Methodall_to_all_single
(self, output, input, output_spl
deepspeed/comm/torch.py:525
Functionallclose
(x, y, tolerances: Tuple[int, int] = None)
tests/unit/ops/transformer/inference/inference_test_utils.py:40
Methodallgather_before
(func: Callable)
deepspeed/runtime/zero/partition_parameters.py:1674
Functionallgather_fn
(output_tensor, input_tensor, group=None, async_op=False, debug=get_caller_func())
deepspeed/comm/comm.py:344
Functionallgather_into_tensor
Run one allgather_into_tensor through the SDMA handle. Returns an ``_SdmaWork`` (Work-compatible) on success. Returns ``None`` when SDMA is
deepspeed/comm/mori.py:202
Functionallgather_param
csrc/compile/z3.cpp:542
Functionallgather_param_meta
csrc/compile/z3.cpp:608
Functionallocate_fast_host_buffer
Similar to doing an empty_like to replicate a Tensor on the host, but will attempt to optimize for faster host -> accelerator copies. Since this is on
deepspeed/inference/v2/ragged/csrc/ragged_ops.cpp:24
Methodallocate_tensor
(self, numel, swap_path, aligned_numel)
deepspeed/runtime/swap_tensor/utils.py:108
Functionallocate_view_like
deepspeed/inference/v2/ragged/csrc/ragged_ops.cpp:49
Functionallocate_view_on
deepspeed/inference/v2/ragged/csrc/ragged_ops.cpp:40
Functionallocate_workspace
csrc/transformer/inference/csrc/pt_binding.cpp:107
Methodallocate_workspace_bf16
(hidden_dim, heads, sequence_length, num_layers, batch_size, mp_size, bigscience_bloom,
op_builder/supa/inference.py:43
Methodallocate_workspace_bf16_fallback
(self, hidden_dim, num_heads, prompt_length, batch_size, num_layers, mp_size,
deepspeed/ops/transformer/inference/op_binding/workspace.py:210
Methodallocate_workspace_fp16_fallback
(self, hidden_dim, num_heads, prompt_length, batch_size, num_layers, mp_size,
deepspeed/ops/transformer/inference/op_binding/workspace.py:216
Methodallocate_workspace_fp32
(hidden_dim, heads, sequence_length, num_layers, batch_size, mp_size, bigscience_bloom,
op_builder/supa/inference.py:50
Methodallocate_workspace_fp32_fallback
(self, hidden_dim, num_heads, prompt_length, batch_size, num_layers, mp_size,
deepspeed/ops/transformer/inference/op_binding/workspace.py:204
Methodallreduce_tied_weight_gradients
All reduce the gradients of the tied weights between tied stages
deepspeed/runtime/pipe/module.py:456
Functionample_budget
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:150
Methodannotation_attrs
(self)
deepspeed/inference/v2/model_implementations/layer_container_base.py:253
Methodappend_zeros
(tensor)
deepspeed/sequence/fpdt_layer.py:111
Methodapply
(self, module, enable_cuda_graph=True)
deepspeed/module_inject/containers/unet.py:31
Methodapply
csrc/deepspeed4science/evoformer_attn/gemm_kernel_utils.h:197
Methodapply
csrc/deepspeed4science/evoformer_attn/gemm_kernel_utils.h:206
Methodapply
cast scale_frag to correct type then apply elementwise to fragment
csrc/deepspeed4science/evoformer_attn/gemm/mma_from_smem.h:290
Methodapply
csrc/deepspeed4science/evoformer_attn/gemm/mma_from_smem.h:306
Methodapply
csrc/deepspeed4science/evoformer_attn/epilogue/epilogue_rescale_output.h:230
Methodapply
csrc/deepspeed4science/evoformer_attn/epilogue/epilogue_pipelined.h:84
MethodapplyPreDivision
csrc/includes/deepcompile.h:591
Methodapply_output_operator_
Helper to invoke the output functor over each vector of output
csrc/deepspeed4science/evoformer_attn/epilogue/epilogue_pipelined.h:501
Methodapply_output_operator_source_not_needed_
Helper to invoke the output functor over each vector of output
csrc/deepspeed4science/evoformer_attn/epilogue/epilogue_pipelined.h:531
Functionapply_rotary_pos_emb
csrc/transformer/inference/csrc/pt_binding.cpp:1856
Methodapply_tensor_parallelism
(self, mp_replace)
deepspeed/module_inject/containers/base_moe.py:92
Methodapply_tensor_parallelism
Add support for reversed dim in tensor parallelism. If necessary, override the called methods to handle partitioned weights (i.e. if
deepspeed/module_inject/containers/features/hybrid_engine.py:81
Methodapply_tensor_parallelism
(self, mp_replace, **kwargs)
deepspeed/module_inject/containers/features/meta_tensor.py:29
Methodapply_weight_quantization
(self)
deepspeed/module_inject/containers/base.py:210
Methodapply_with_gather
many models make use of child modules like Linear or Embedding which perform their own weight initialization in their __init__ methods,
deepspeed/runtime/zero/partition_parameters.py:418
← previousnext →8,201–8,300 of 15,468, ranked by callers