MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

↓ 1 callersFunction_handle_key_deprecation
(key)
csrc/aio/py_test/aio_bench_perf_sweep.py:122
↓ 1 callersMethod_has_autoep_layers
(self)
deepspeed/runtime/engine.py:5712
↓ 1 callersFunction_has_autoep_zero3_partitioned_metadata
(state_dict)
deepspeed/utils/zero_to_fp32.py:124
↓ 1 callersFunction_has_callable
(obj, fn)
deepspeed/utils/zero_to_fp32.py:302
↓ 1 callersFunction_has_custom_ops
()
op_builder/klxpu/fused_adam.py:14
↓ 1 callersFunction_has_expert_projection
(expert_module: nn.Module, name: str)
deepspeed/module_inject/auto_ep_presets/deepseek_v3.py:86
↓ 1 callersMethod_has_inf_or_nan
(x, i)
deepspeed/runtime/utils.py:331
↓ 1 callersMethod_has_inf_or_nan
(x)
deepspeed/runtime/fp16/loss_scaler.py:256
↓ 1 callersFunction_has_missing_profile_metadata
(graph: Graph)
deepspeed/compile/profilers/graph_profile.py:89
↓ 1 callersFunction_has_non_overlapping_storage
Whether the tensor's elements each occupy their own place in storage. Both the host buffer and the reloaded device tensor are made with `empty_li
deepspeed/compile/passes/offload_activation.py:363
↓ 1 callersMethod_has_real_storage
(tensor)
deepspeed/utils/pin_memory.py:170
↓ 1 callersFunction_has_triton
()
deepspeed/__init__.py:25
↓ 1 callersMethod_host_grad_holds_accum_exactly
(host_dtype, accum_dtype)
deepspeed/runtime/zero/stage_1_and_2.py:1309
↓ 1 callersMethod_impacted_files
(seeds: set[Path], reverse: dict[Path, set[Path]])
ci/tests_fetcher.py:437
↓ 1 callersFunction_in_backward
Whether this thread is running inside an autograd backward pass.
deepspeed/module_inject/auto_ep_comm.py:385
↓ 1 callersFunction_index_runs
Group consecutive indices into (start_index, position_in_shard, length) runs. Compressing runs is what bounds the number of pieces: a contiguous
tests/unit/checkpoint/test_affine_shard_map.py:49
↓ 1 callersMethod_index_tied_modules
Build communication structures for tied modules.
deepspeed/runtime/pipe/module.py:480
↓ 1 callersFunction_infer_hidden_and_ffn_size
Infer hidden_size and ffn_hidden_size from expert weight shapes.
deepspeed/module_inject/auto_ep.py:294
↓ 1 callersMethod_inference_schedule
(self, micro_batches)
deepspeed/runtime/pipe/dualpipev.py:134
↓ 1 callersMethod_inference_schedule
(self, micro_batches)
deepspeed/runtime/pipe/engine.py:503
↓ 1 callersFunction_init_engine
(kind)
tests/unit/checkpoint/test_fp32_master_stage3_bf16.py:56
↓ 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:235
↓ 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_config
Initialize and return the DeepSpeed TP training configuration.
deepspeed/runtime/tensor_parallel/tp_manager.py:37
↓ 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_config
Perform TP configuration initialization.
deepspeed/runtime/tensor_parallel/tp_manager.py:60
↓ 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:1063
↓ 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:319
↓ 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:319
↓ 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:240
↓ 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_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:856
↓ 1 callersMethod_is_report_boundary
(self)
deepspeed/utils/timer.py:248
↓ 1 callersMethod_is_same_process_group
(group_a, group_b)
deepspeed/runtime/engine.py:2308
↓ 1 callersMethod_is_supported_optimizer
(self, optimizer_name)
deepspeed/runtime/engine.py:2057
↓ 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:1927
↓ 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:389
↓ 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:27
↓ 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:272
↓ 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:465
↓ 1 callersMethod_lazy_init_hp_params_optimizer_state
(self)
deepspeed/runtime/bf16_optimizer.py:361
↓ 1 callersMethod_lazy_init_hp_params_optimizer_state
(self)
deepspeed/runtime/zero/stage_1_and_2.py:866
↓ 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:1665
↓ 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:826
↓ 1 callersMethod_load_checkpoint
(self, load_dir, tag, load_module_s
deepspeed/runtime/engine.py:4656
↓ 1 callersMethod_load_global_state
(self, sd)
deepspeed/runtime/zero/stage_1_and_2.py:3777
↓ 1 callersMethod_load_global_state_stage3
(self, sd)
deepspeed/runtime/zero/stage3.py:3851
↓ 1 callersMethod_load_legacy_checkpoint
(self, state_dict_list, load_optimizer_states=True, load_from_fp32_weights=False)
deepspeed/runtime/bf16_optimizer.py:671
← previousnext →3,701–3,800 of 14,579, ranked by callers