MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Function_hook
(grad)
tests/unit/runtime/test_runtime_utils.py:379
Method_hooks_fired_this_backward
(self)
deepspeed/runtime/base_optimizer.py:323
Method_init_cuFile
csrc/gds/py_lib/deepspeed_py_gds_handle.cpp:36
Method_init_subclass
(cls, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:576
Function_init_takslet
(b)
deepspeed/nvme/io_engine.py:113
Function_init_takslet
(b)
csrc/aio/py_test/io_engine.py:113
Function_init_tp_mesh_device
Initialize model data parallel groups.
deepspeed/utils/groups.py:207
Function_initialize_parameter_parallel_groups
(parameter_parallel_size=None)
deepspeed/runtime/zero/utils.py:25
Function_initialize_zenflow_stage3_epilogue
(optimizer_z3: "DeepSpeedZeroOptimizer_Stage3", zenflow_config: dict =
deepspeed/runtime/zenflow/engine_stage3.py:88
Function_initialize_zenflow_stage3_prologue
(optimizer_z3: "DeepSpeedZeroOptimizer_Stage3", module,
deepspeed/runtime/zenflow/engine_stage3.py:73
Function_instance_norm_flops_compute
( input: Tensor, running_mean: Optional[Tensor] = None, running_var: Optional[Tensor] = None,
deepspeed/profiling/flops_profiler/profiler.py:705
Function_invert_index_kernel
( index_ptr, inverse_ptr, num_indices, num_inverse_rows, BLOCK: tl.con
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:31
Method_is_currently_on_nvme
(param)
deepspeed/runtime/zero/partitioned_param_coordinator.py:445
Method_is_valid_parallel_aio_op
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:268
Function_jsd_backward_kernel
(q_ptr, p_ptr, max_ptr, lse_ptr, kl_ptr, grad_out_ptr, q_grad_ptr, p_grad_ptr, num_rows,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:99
Function_jsd_forward_kernel
(q_ptr, p_ptr, max_ptr, lse_ptr, out_ptr, num_rows, vocab, q_inner, q_outer, q_row, p_inner,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:76
Function_jsd_softmax_stats_kernel
(q_ptr, p_ptr, max_ptr, sum_ptr, num_rows, vocab, q_inner, q_outer, q_row, p_inner,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:38
Function_kl_backward_kernel
(a_ptr, b_ptr, a_max_ptr, a_lse_ptr, b_max_ptr, b_lse_ptr, kl_ptr, grad_out_ptr, a_grad_ptr,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:302
Function_kl_stats_kernel
(a_ptr, b_ptr, out_ptr, num_rows, vocab, a_inner, a_outer, a_row, b_inner, b_outer, b_row,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:241
Function_launch
(request, fixture_cls=obj)
tests/conftest.py:134
Method_launch_procs
(self, num_procs, init_method)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:904
Method_launch_procs
(self, num_procs, init_method)
tests/unit/comm/test_dist.py:355
Function_layer_norm_flops_compute
( input: Tensor, normalized_shape: List[int], weight: Optional[Tensor] = None, bias: Optional[
deepspeed/profiling/flops_profiler/profiler.py:683
Method_lazy_init_class_dict
(self)
accelerator/klxpu_accelerator.py:49
Function_leaky_relu_flops_compute
(input: Tensor, negative_slope: float = 0.01, inplace: bool = False)
deepspeed/profiling/flops_profiler/profiler.py:541
Function_legacy_obj_serialization_details
(storage_obj)
deepspeed/io/utils.py:38
Function_linear_flops_compute
(input, weight, bias=None)
deepspeed/profiling/flops_profiler/profiler.py:523
Method_link_all_hp_params
(self)
tests/unit/v1/pin_memory/test_offload_route.py:110
Method_load_checkpoint
(self, load_dir, load_module_strict=True, tag=None)
deepspeed/inference/engine.py:444
Function_load_dp1
(tmpdir, port)
tests/unit/checkpoint/test_fp32_master_only.py:136
Function_load_dp1_elastic
(tmpdir, port)
tests/unit/checkpoint/test_fp32_master_only.py:163
Function_load_dp1_legacy
(tmpdir, port)
tests/unit/checkpoint/test_fp32_master_only.py:151
Method_load_from_state_dict
(self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys,
deepspeed/linear/optimized_linear.py:161
Function_load_loss_runtime_in_the_worker
(request)
tests/unit/v1/runtime/test_chunked_cross_entropy.py:27
Function_load_swiglu_in_the_worker
()
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:30
Function_local_softmax_stats_kernel
(x_ptr, max_ptr, sum_ptr, vocab, x_inner, x_outer, x_row, BLOCK: tl.constexpr)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:141
Function_log_sum_exp_forward_kernel
(logits_ptr, target_ptr, log_sum_exp_ptr, loss_ptr, n_cols, row_stride, ig
deepspeed/runtime/chunked_cross_entropy.py:33
Method_log_timers
(self, name_list, force=False)
deepspeed/runtime/swap_tensor/async_swapper.py:172
Function_logprobs_backward_kernel
(x_ptr, max_ptr, lse_ptr, grad_sum_ptr, zero_row_ptr, index_ptr, index_grad_ptr,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:216
Method_loop
()
tests/unit/runtime/zero/test_ignore_unused_parameters.py:52
Method_loss_stage_global_rank
(self)
deepspeed/runtime/pipe/dualpipev.py:140
Method_lr_scheduler_callable
(optimizer)
tests/unit/runtime/test_ds_initialize.py:308
Method_lr_scheduler_callable
(optimizer)
tests/unit/runtime/test_ds_initialize.py:375
Method_mark_uc_metadata
(self)
deepspeed/module_inject/layers.py:563
Method_mark_uc_metadata
(self)
deepspeed/module_inject/layers.py:1420
Method_mark_uc_metadata
(self)
deepspeed/module_inject/layers.py:1670
Method_mark_uc_metadata
(self)
deepspeed/module_inject/layers.py:1710
Method_matmul_4d
(a, b)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:274
Function_matmul_flops_compute
Count flops for the matmul operation.
deepspeed/profiling/flops_profiler/profiler.py:769
Method_max_expected_hooks_seen
(self)
deepspeed/runtime/base_optimizer.py:331
Method_mock_lazy_import_flash_attention
(implementation, attention_wrapper=None, allow_all_kernels=False)
tests/unit/ulysses_alst/test_ulysses_sp_hf.py:326
Method_model_init
(model)
deepspeed/linear/context_manager.py:66
Method_module_forward_post_hook
(module, input, output)
deepspeed/runtime/engine.py:2999
Method_module_forward_pre_hook
(module, inputs, kwargs)
deepspeed/runtime/engine.py:2992
Function_mul_flops_compute
(input, other, *, out=None)
deepspeed/profiling/flops_profiler/profiler.py:838
Function_multi_tensor_adamw
( params: List[Tensor], grads: List[Tensor], exp_avgs: List[Tensor], exp_avg_sqs: List[Tensor]
deepspeed/ops/adam/zenflow_torch_adam.py:801
Method_my_lambda
(epoch)
tests/unit/runtime/test_ds_initialize.py:302
Method_my_lambda
(epoch)
tests/unit/runtime/test_ds_initialize.py:372
Function_name_alike
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:293
Function_new_obj_serialization_details
(storage_obj)
deepspeed/io/utils.py:44
Method_noblock_copy
(dst: torch.Tensor, src: torch.Tensor)
deepspeed/inference/v2/ragged/ragged_wrapper.py:210
Method_observe_after_deepspeed_reset
(module, unused_inputs)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:442
Function_offload_opt_launch_impl
(anchor, idx)
deepspeed/compile/passes/offload_adam_states.py:247
Function_opt_empty_cache_impl
(anchor)
deepspeed/compile/passes/offload_adam_states.py:280
Method_optimizer_callable
(params)
tests/unit/runtime/test_ds_initialize.py:76
Method_optimizer_callable
(params)
tests/unit/runtime/test_ds_initialize.py:305
Function_originating_layer_type
(node: Node)
deepspeed/compile/passes/tp_compile.py:94
Method_pack_tensor
(self, tensor: torch.Tensor)
deepspeed/runtime/activation_checkpointing/offload_activations.py:435
Method_param_status
(self, param)
deepspeed/runtime/zero/partition_parameters.py:1938
Method_partition_layers
(self, method='uniform')
deepspeed/runtime/pipe/dualpipev.py:41
Function_pool_flops_compute
(input, kernel_size, stride=None, padd
deepspeed/profiling/flops_profiler/profiler.py:557
Method_post_backward_module_hook
(module, inputs)
deepspeed/runtime/zero/parameter_offload.py:442
Method_post_forward_hook
(self, module, input, output)
deepspeed/inference/engine.py:268
Method_post_forward_module_hook
(module, input, output)
deepspeed/runtime/zero/parameter_offload.py:372
Method_post_init_method
(self, module)
deepspeed/runtime/zero/partition_parameters.py:1227
Method_pre_backward_module_hook
(module, inputs, output)
deepspeed/runtime/zero/parameter_offload.py:418
Method_pre_forward_hook
(self, module, *inputs, **kwargs)
deepspeed/inference/engine.py:261
Method_pre_forward_module_hook
(module, *args)
deepspeed/runtime/zero/parameter_offload.py:368
Method_pread
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:299
Method_precompute_checkpointable_values
(self)
deepspeed/runtime/pipe/dualpipev.py:69
Function_prelu_flops_compute
(input: Tensor, weight: Tensor)
deepspeed/profiling/flops_profiler/profiler.py:533
Function_process_selected_fp32_groups_grad
(optimizer_z3, params_to_update, grad_partitions)
deepspeed/runtime/zenflow/engine_stage3.py:254
Function_prologue
csrc/deepspeed4science/evoformer_attn/gemm/custom_mma_multistage.h:367
Method_pwrite
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:333
Method_quantize_module
(model, policies)
deepspeed/runtime/weight_quantizer.py:133
Function_qwen3_moe_class_patch
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:319
Function_qwen3_moe_instance_patch
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:313
Function_qwen3_moe_subclass
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:305
Function_qwen3_moe_wrapped_class_patch
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:325
Function_raise_if_stage3_autoep_universal_conversion
(model_files)
deepspeed/checkpoint/ds_to_universal.py:1035
Method_read_autotune_table
(cache_key, triton_kernel)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:177
Function_recording_synchronize
()
tests/unit/v1/pin_memory/test_offload_route.py:123
Function_reduce_from_tp_region_backward
(ctx, grad)
deepspeed/compile/custom_ops/tp_collectives.py:100
Method_reduce_local_output
Reduces output tensors, but not the returned bias.
deepspeed/runtime/zero/tiling.py:264
Method_ref_forward
(A, B, ref_dtype=torch.float32)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:172
Function_reference_apply_rotary_pos_emb
Applies Rotary Position Embedding to the query and key tensors.
deepspeed/ops/triton_ops/fused_rotary_pos_emb.py:49
Function_reference_rotate_half
Rotates half the hidden dims of the input.
deepspeed/ops/triton_ops/fused_rotary_pos_emb.py:41
Method_reject_non_integer_scale_params
(cls, v, info)
deepspeed/runtime/precision_config.py:167
Method_release
(handle, begin, ranges, finalizers, device_registered)
deepspeed/utils/pin_memory.py:124
Function_release_process_group_references
Release DeepSpeed-owned references after successful backend destruction. A ``None`` group represents WORLD teardown, which destroys every process
deepspeed/utils/groups.py:93
← previousnext →7,501–7,600 of 14,579, ranked by callers