MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

↓ 1 callersFunction_init_lp_to_hp_mapping
(lp_param_list, partition_start, partition_size,
deepspeed/utils/mixed_precision_linkage.py:40
↓ 1 callersMethod_init_orig_layer_class_once
(self)
deepspeed/module_inject/containers/internlm.py:131
↓ 1 callersMethod_init_pynvml
(self)
accelerator/cuda_accelerator.py:39
↓ 1 callersMethod_init_quantization_setting
(self, quantization_setting)
deepspeed/inference/engine.py:320
↓ 1 callersMethod_init_sdma_backend
Try to enable the mori SDMA path for ``all_gather_into_tensor``. Failure (non-AMD, mori not installed, shmem init error) leaves the h
deepspeed/comm/torch.py:272
↓ 1 callersMethod_init_timer
(self)
deepspeed/utils/timer.py:246
↓ 1 callersFunction_init_tp_groups_with_new_group
Initialize TP/DP groups with explicit rank lists. This mirrors a 2D DeviceMesh shaped as (data_parallel, tensor_parallel), while avoiding Dev
deepspeed/utils/groups.py:159
↓ 1 callersFunction_initialize
(model, ds_config, client_optimizer)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:723
↓ 1 callersMethod_initialize
(self, autotuning_dict)
deepspeed/autotuning/config.py:33
↓ 1 callersMethod_initialize
(self, flops_profiler_dict)
deepspeed/profiling/config.py:28
↓ 1 callersMethod_initialize
(self, act_chkpt_config_dict)
deepspeed/runtime/activation_checkpointing/config.py:76
↓ 1 callersMethod_initialize_cycle
(self, cycle_first_step_size, cycle_second_step_size, cycle_first_stair_count, cycle
deepspeed/runtime/lr_schedules.py:518
↓ 1 callersMethod_initialize_lr
(self, optimizer, cycle_min_lr, cycle_max_lr, decay_lr_rate, last_batch_iteration)
deepspeed/runtime/lr_schedules.py:547
↓ 1 callersMethod_initialize_momentum
(self, optimizer, cycle_min_mom, cycle_max_mom, decay_mom_rate, last_batch_iteration)
deepspeed/runtime/lr_schedules.py:562
↓ 1 callersMethod_initialize_params
(self, param_dict)
deepspeed/runtime/config.py:486
↓ 1 callersMethod_initialize_tp_group
Implementation of our TP group initialization.
deepspeed/inference/v2/engine_v2.py:93
↓ 1 callersFunction_inject_missing_state
(ds_checkpoint)
deepspeed/checkpoint/ds_to_universal.py:1084
↓ 1 callersFunction_inject_parameters
(module, cls)
deepspeed/runtime/zero/parameter_offload.py:98
↓ 1 callersFunction_insert_column_collective
Insert f in front of the column-parallel matmuls that share activation.
deepspeed/compile/passes/tp_compile.py:148
↓ 1 callersFunction_insert_row_collective
Insert g after a row-parallel matmul. Every consumer has to read the reduced value, which is also what the module-level RowParallel.apply thi
deepspeed/compile/passes/tp_compile.py:133
↓ 1 callersFunction_insertion_point_after_last_use
Return the node to insert the copy before: the first node after the tensor's last use. Copying earlier would read a tensor still being written; c
deepspeed/compile/passes/offload_activation.py:254
↓ 1 callersFunction_install_fused_class_forward
(module_class)
deepspeed/ops/triton_ops/fused_rms_norm.py:427
↓ 1 callersFunction_install_gdn_segment
Wire the fused forward onto a GDN block, binding its original helpers. The conv/scan callables are captured from the transformers module so the
deepspeed/module_inject/segment_ki.py:575
↓ 1 callersFunction_install_instance_transformers_output_recorders
( model: nn.Module, registry_entries: dict[str, dict[str, Any]], output_capturing: Any, remove
deepspeed/module_inject/auto_ep_presets/base.py:323
↓ 1 callersFunction_install_legacy_deepep_prep
Reproduce the pre-cleanup work without changing DeepEP mathematics.
tests/unit/v1/moe/test_autoep_deepep_parity.py:86
↓ 1 callersFunction_install_patch_spies
(monkeypatch)
tests/unit/compile/test_inductor_aot_kwargs.py:18
↓ 1 callersMethod_installed_transformers_version
(self)
deepspeed/module_inject/auto_ep_presets/base.py:244
↓ 1 callersFunction_invert_index
Invert the row permutation produced by sorting routed assignments.
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:271
↓ 1 callersFunction_invoke_blocking_aio
(handle, operation_name, buffer, filename)
tests/unit/v1/nvme/test_aio_gil.py:32
↓ 1 callersMethod_io_aligned_numel
(self, numel)
deepspeed/runtime/swap_tensor/async_swapper.py:101
↓ 1 callersMethod_io_buffer_is_empty
(self)
deepspeed/io/fast_file_writer.py:142
↓ 1 callersMethod_io_buffer_is_full
(self)
deepspeed/io/fast_file_writer.py:139
↓ 1 callersFunction_irregular_model
()
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:57
↓ 1 callersFunction_is_autocast_enabled
(device_type)
deepspeed/runtime/zero/linear.py:60
↓ 1 callersFunction_is_empty_pytest_selection
True when pytest found nothing to run for a legitimately empty subset selection. A diff-selected (subset) run can hold targets that all skip on t
ci/torch_latest.py:1758
↓ 1 callersFunction_is_enabled_by_env
User must explicitly opt in via ``DS_SDMA_ALLGATHER=1``. Default is off even when mori happens to be importable: mori is an external dependen
deepspeed/comm/mori.py:94
↓ 1 callersFunction_is_floating_point
(node: Node)
deepspeed/compile/passes/offload_activation.py:243
↓ 1 callersFunction_is_ignored
(path: str, ignore: list[str])
ci/check_paths.py:34
↓ 1 callersMethod_is_int_tensor
Check if tensor has integer dtype
deepspeed/compile/input_storage.py:35
↓ 1 callersMethod_is_io_aligned
(self, numel)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:390
↓ 1 callersFunction_is_known_hf_model_type
(model_type: str | None)
deepspeed/module_inject/auto_ep.py:66
↓ 1 callersFunction_is_model_parallel_param_marker
(param)
deepspeed/module_inject/auto_ep_folding.py:328
↓ 1 callersFunction_is_moe_param_marker
(param)
deepspeed/module_inject/auto_ep_folding.py:324
↓ 1 callersFunction_is_number
(value: object)
deepspeed/checkpoint/affine_transfer_cost.py:185
↓ 1 callersFunction_is_odd
(x)
deepspeed/runtime/pipe/schedule.py:644
↓ 1 callersFunction_is_power_of_two
(value: int)
deepspeed/models/glm_moe_dsa/attention.py:117
↓ 1 callersMethod_is_replaced_module_weight
Helper function to determine if a parameter belongs to a replaced module. Args: param (torch.Tensor): The parameter to c
deepspeed/module_inject/layers.py:860
↓ 1 callersMethod_is_report_boundary
(self)
deepspeed/utils/timer.py:265
↓ 1 callersMethod_is_same_process_group
(group_a, group_b)
deepspeed/runtime/engine.py:2361
↓ 1 callersFunction_is_sequence_reordering
(node: Node)
deepspeed/compile/passes/sp_compile.py:163
↓ 1 callersFunction_is_silu_activation
True when ``act`` is SiLU as a torch module, the plain function, or transformers' SiLUActivation wrapper (what Qwen3.5 MLPs carry).
deepspeed/module_inject/segment_ki.py:84
↓ 1 callersMethod_is_supported_optimizer
(self, optimizer_name)
deepspeed/runtime/engine.py:2110
↓ 1 callersFunction_is_tensor_getitem
(node: Node)
deepspeed/compile/passes/sp_compile.py:181
↓ 1 callersFunction_isolate_rank_cpu_sets
Split shared rank CPU sets and reject ambiguous overlaps before pinning any thread.
deepspeed/runtime/reflow/reflow_utils.py:280
↓ 1 callersMethod_keeps_params_in_fp32
Whether listed parameters can stay fp32 next to bf16/fp16 ones. Only ZeRO-3 without parameter offload holds one partition buffer per dtype. Z
deepspeed/runtime/engine.py:1980
↓ 1 callersFunction_kernel
The compiled wrapper hides the function under torch.compile; reach the original.
tests/unit/v1/ops/muon/test_muon_gram_normalization.py:25
↓ 1 callersFunction_kernel_hwcap_has_vector
()
tests/unit/ops/test_op_builder.py:547
↓ 1 callersFunction_kernel_op_available
True when this accelerator registers the segment-KI op builder. The kernels are CUDA source today; other backends (XPU/HPU/NPU/MPS) do not re
tests/unit/module_inject/test_segment_ki_kernels.py:36
↓ 1 callersFunction_kl_terms
(a_log_probs, b_log_probs)
deepspeed/sequence/vocab_parallel_ops.py:185
↓ 1 callersFunction_kv_head_count_from
First non-None kv-head count found on ``config`` via :data:`_KV_HEAD_ATTRS`, else ``None``.
deepspeed/module_inject/tp_shard.py:40
↓ 1 callersFunction_kv_head_count_from_module
First non-None K/V head count found on ``module`` via :data:`_MODULE_KV_HEAD_ATTRS`.
deepspeed/module_inject/tp_shard.py:49
↓ 1 callersFunction_l0_device_context
(loader, context) whose only device is the L0 device matching torch device ``device_index``. Registration must happen in a context restricted to
accelerator/xpu_accelerator.py:129
↓ 1 callersFunction_l0_loader
(loader, driver) with the registration argtypes wired, or None when unsupported.
accelerator/xpu_accelerator.py:67
↓ 1 callersMethod_launch_procs
(self, num_procs, init_method)
tests/unit/common.py:285
↓ 1 callersFunction_launch_with_fitting_num_stages
(kernel, grid, args, num_stages, num_warps, **tile_config)
deepspeed/ops/fp_quantizer/fp8_gemm_triton.py:128
↓ 1 callersFunction_layout
(tensor)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:49
↓ 1 callersMethod_lazy_init_class_dict
(self)
accelerator/sdaa_accelerator.py:270
↓ 1 callersMethod_lazy_init_class_dict
(self)
accelerator/mlu_accelerator.py:242
↓ 1 callersMethod_lazy_init_class_dict
(self)
accelerator/npu_accelerator.py:311
↓ 1 callersMethod_lazy_init_class_dict
(self)
accelerator/xpu_accelerator.py:479
↓ 1 callersMethod_lazy_init_hp_params_optimizer_state
(self)
deepspeed/runtime/bf16_optimizer.py:361
↓ 1 callersFunction_leaves
()
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:375
↓ 1 callersFunction_legacy_split_plan
The two-collective planner this change replaces, kept as a reference.
tests/unit/v1/moe/test_autoep_unit.py:1723
↓ 1 callersFunction_liger_can_run
(vocab_parallel_logits, target, local_vocab_size, global_vocab_size, tp_group)
deepspeed/sequence/cross_entropy.py:47
↓ 1 callersFunction_liger_vocab_cross_entropy
(logits, target, tp_group, ignore_index)
deepspeed/sequence/cross_entropy.py:26
↓ 1 callersMethod_lightweight_autoep_metadata
(model_state)
deepspeed/checkpoint/deepspeed_checkpoint.py:95
↓ 1 callersMethod_lightweight_ds_config
(model_state)
deepspeed/checkpoint/deepspeed_checkpoint.py:107
↓ 1 callersMethod_lightweight_parallel_dimensions
(model_state)
deepspeed/checkpoint/deepspeed_checkpoint.py:124
↓ 1 callersMethod_lightweight_param_shapes
(model_state)
deepspeed/checkpoint/deepspeed_checkpoint.py:117
↓ 1 callersMethod_link_all_hp_params
(self)
deepspeed/runtime/zero/stage3.py:859
↓ 1 callersMethod_load_checkpoint
(self, load_dir, tag, load_module_s
deepspeed/runtime/engine.py:4738
↓ 1 callersMethod_load_global_state
(self, sd)
deepspeed/runtime/zero/stage_1_and_2.py:3803
↓ 1 callersMethod_load_global_state_stage3
(self, sd)
deepspeed/runtime/zero/stage3.py:4187
↓ 1 callersMethod_load_legacy_checkpoint
(self, state_dict_list, load_optimizer_states=True, load_from_fp32_weights=False)
deepspeed/runtime/bf16_optimizer.py:672
↓ 1 callersMethod_load_legacy_checkpoint
r"""Loading ZeRO checkpoint Arguments: state_dict_list: List of all saved ZeRO checkpoints, one for each saved partition.
deepspeed/runtime/zero/stage_1_and_2.py:3825
↓ 1 callersFunction_load_liger_vocab_ce
()
deepspeed/sequence/cross_entropy.py:17
↓ 1 callersMethod_load_universal_checkpoint
(self, checkpoint_folder, load_optimizer_states, load_from_fp32_weights)
deepspeed/runtime/bf16_optimizer.py:696
↓ 1 callersMethod_load_universal_checkpoint
(self, checkpoint_folder, load_optimizer_states, load_from_fp32_weights)
deepspeed/runtime/zero/stage3.py:4066
↓ 1 callersMethod_load_universal_checkpoint
(self, checkpoint_folder, load_optimizer_states, load_from_fp32_weights)
deepspeed/runtime/zero/stage_1_and_2.py:3798
↓ 1 callersFunction_load_universal_checkpoint_info_stage3
(model_files)
deepspeed/checkpoint/ds_to_universal.py:975
↓ 1 callersFunction_load_universal_optimizer_step
(universal_dir)
tests/unit/v1/moe/test_autoep_checkpoint.py:82
↓ 1 callersMethod_local_cuda_graph_used
(self, module)
deepspeed/inference/engine.py:575
↓ 1 callersFunction_local_param_by_suffix
(module, suffix)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:558
↓ 1 callersFunction_local_shard
Local ZeRO-3 shard when partitioned, else the tensor itself.
tests/unit/v1/moe/test_autoep_integration.py:288
↓ 1 callersFunction_localize_cross_entropy_target
Replace the full-sequence target of a cross entropy with the part that lines up with this rank's logits. Positions outside the logits window
deepspeed/compile/passes/sp_compile.py:276
↓ 1 callersFunction_log_dist_once_cached
(message, ranks_key, level)
deepspeed/utils/logging.py:141
↓ 1 callersMethod_log_event_counters
(self)
deepspeed/runtime/zero/partitioned_param_profiler.py:54
↓ 1 callersFunction_log_selective_optimizer_timers
Log the selective optimizer timers.
deepspeed/runtime/zenflow/engine.py:137
↓ 1 callersMethod_log_timers
(self)
deepspeed/runtime/zero/partitioned_param_profiler.py:49
↓ 1 callersFunction_lscpu_cpu_info
()
op_builder/builder.py:102
← previousnext →4,001–4,100 of 15,468, ranked by callers