MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

Method_bwd_hook_unexpected_inputs_msg
(value)
deepspeed/runtime/zero/parameter_offload.py:413
Function_capture_backend
(gm, example_inputs)
tests/unit/v1/compile/util.py:278
Function_change_hyperparams
(engine, step)
tests/unit/v1/zero/test_superoffload.py:191
Method_check_average
(rank, _world_size, _shared_tmpdir)
tests/unit/runtime/comm/test_coalesced_collectives.py:108
Method_check_block_size
(cls, value)
deepspeed/runtime/quantization/config.py:45
Method_check_hadamard_size
(self)
deepspeed/runtime/quantization/config.py:63
Method_check_parity
(A, B, output_dtype, SA=None,
deepspeed/ops/transformer/inference/triton/matmul_ext.py:438
Method_check_row_scaling
(self)
deepspeed/runtime/quantization/config.py:51
Function_checkpoint_offload_call
(self, *args, **kwargs)
deepspeed/runtime/activation_checkpointing/offload_activations.py:347
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:163
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:184
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:204
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:233
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:254
Method_checkpointed
(self, indices)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:273
Method_checkpointed
(self, value)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:301
Function_chunk
csrc/includes/quantization_utils.h:345
Method_ckpt_body
(self, x)
tests/unit/runtime/zero/test_zero_params_to_release_cache.py:83
Method_close_cuFile
csrc/gds/deepspeed_py_gds_handle.cpp:71
Method_coerce_container_types
(cls, values)
deepspeed/runtime/zero/leaf_module_config.py:28
Method_combine_output_splits
(self, outputs)
deepspeed/runtime/zero/tiling.py:284
Method_configure_offloading
(self, offload_optimizer_config, offload_param_config)
deepspeed/runtime/reflow/reflow_stage3.py:421
Method_context_4d_matmul
(prob, input, head_size)
deepspeed/ops/transformer/inference/triton/matmul_ext.py:375
Function_contiguous_layout
(batch, seq_len, heads, head_dim, dtype, generator)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:37
Method_continuous_interval
(self)
deepspeed/runtime/lr_schedules.py:385
Function_conv_flops_compute
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
deepspeed/profiling/flops_profiler/profiler.py:569
Function_conv_trans_flops_compute
( input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, d
deepspeed/profiling/flops_profiler/profiler.py:614
Method_copy_pinned_master_to_device
(self, dst, src)
deepspeed/runtime/reflow/reflow_stage3.py:1784
Function_copy_to_tp_region_backward
(ctx, grad)
deepspeed/compile/custom_ops/tp_collectives.py:94
Function_cpu_folded_checkpoint_worker
(_rank, _world_size, shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_checkpoint.py:286
Function_cpu_folded_runtime_worker
(_rank, _world_size, _shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_runtime.py:177
Function_cpu_folded_tp4_ep4_router_gate_and_layernorm_worker
(rank, world_size, _shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:434
Function_cpu_folded_zero0_router_gate_and_layernorm_worker
(rank, world_size, _shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:283
Function_cpu_folded_zero2_router_gate_and_layernorm_worker
(rank, world_size, _shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:331
Function_cpu_folded_zero2_worker
(_rank, _world_size, _shared_tmpdir)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:687
Function_cpu_gloo_worker_entry
(rank, world_size, init_method, master_port, worker, shared_tmpdir, error_queue)
tests/unit/v1/moe/autoep_test_utils.py:397
Method_create_cuda_graph
Create CUDA graph(s)
deepspeed/model_implementations/features/cuda_graph.py:16
Function_create_expert_and_data_parallel
Create expert and data parallel groups. When mp_size is None or 1: legacy consecutive ordering (backward compatible). When mp_size > 1 and fo
deepspeed/utils/groups.py:396
Function_create_expert_data_and_model_parallel
Create expert and data parallel groups based on MPU (model parallel) group. Note: Caller of this function is responsible to check if
deepspeed/utils/groups.py:639
Method_create_fp16_sub_groups
(self, params_group)
deepspeed/runtime/superoffload/superoffload_stage3.py:115
Method_create_fp32_partitions
(self)
deepspeed/runtime/reflow/reflow_stage3.py:431
Method_create_io_op_desc
csrc/gds/deepspeed_py_gds_handle.cpp:104
Method_create_io_op_desc
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:281
Function_create_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size_: number of GPUs used to parallelize model. Returns:
deepspeed/utils/groups.py:347
Method_create_offloaded_master
(self, partition, device)
deepspeed/runtime/reflow/reflow_stage3.py:434
Function_create_zero_param_parallel_group
Create parameter partitioning group within ZeRO data parallel groups. Example - ZP + D parallel world_size = 16 zero
deepspeed/utils/groups.py:972
Function_cross_entropy_backward_kernel
(logits_ptr, grad_ptr, target_ptr, log_sum_exp_ptr, row_scale_ptr, n_cols,
deepspeed/runtime/chunked_cross_entropy.py:53
Function_decode_attn_forward
Replacement forward for full-attention layers: run the custom decode_attn kernel at b=1, seq_len=1 instead of SDPA-with-mask (which falls into
deepspeed/module_inject/segment_ki.py:873
Function_deepep_available
()
tests/unit/v1/moe/test_autoep_deepep_parity.py:50
Function_default_command
(argv: Sequence[str], *, timeout: float | None = None)
ci/torch_latest.py:870
Function_dim_zero_all_to_all_backward
(ctx: Any, grad: Tensor)
deepspeed/sequence/layer.py:348
Function_dim_zero_all_to_all_backward_setup
(ctx: Any, inputs: Tuple[Any, ...], output: Tensor)
deepspeed/sequence/layer.py:344
Function_dim_zero_all_to_all_fake
(input: Tensor, group_name: str)
deepspeed/sequence/layer.py:340
Method_disable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:615
Method_disable_class_apply
(cls)
deepspeed/runtime/zero/partition_parameters.py:517
Function_disable_dynamo_if_unsupported
(**kwargs)
deepspeed/ops/adam/zenflow_torch_adam.py:32
Method_discard
(self, key)
deepspeed/utils/debug.py:41
Method_dist_destroy
(self)
tests/unit/common.py:369
Method_dist_run
(self, local_rank, num_procs, master_port, init_method, skip_msg="")
tests/unit/common.py:311
Function_distributed_default_training
(rank, rendezvous)
tests/unit/v1/zero/test_zero2_gradient_safety.py:769
Function_dropout_flops_compute
(input, p=0.5, training=True, inplace=False)
deepspeed/profiling/flops_profiler/profiler.py:765
Function_dual_weight_glu_forward
Replacement forward: reads gate_proj.weight and up_proj.weight directly (zero copies). b=1 uses the fused dual-weight GEMV kernel; b>1 falls
deepspeed/module_inject/segment_ki.py:260
Method_dump_params
(self, tag, sub_module, params, step_id=None)
deepspeed/runtime/zero/partitioned_param_coordinator.py:314
Method_dump_state
(self)
deepspeed/io/base_file_writer.py:38
Function_einops_einsum_flops_compute
Count flops for the einops.einsum operation.
deepspeed/profiling/flops_profiler/profiler.py:807
Function_einsum_flops_compute
Count flops for the einsum operation.
deepspeed/profiling/flops_profiler/profiler.py:785
Function_elu_flops_compute
(input: Tensor, alpha: float = 1.0, inplace: bool = False)
deepspeed/profiling/flops_profiler/profiler.py:537
Function_embedding_flops_compute
( input, weight, padding_idx=None, max_norm=None, norm_type=2.0, scale_grad_by_freq=Fa
deepspeed/profiling/flops_profiler/profiler.py:753
Method_enable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:571
Method_enable_class_apply
(cls)
deepspeed/runtime/zero/partition_parameters.py:512
Method_end_forward
(self, _module, _args, _output)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:102
Method_enforce_cpu_offload
()
deepspeed/runtime/zero/stage_1_and_2.py:333
Method_enforce_optimizer_offload
()
deepspeed/runtime/zero/stage3.py:316
Function_entropy_backward_kernel
(x_ptr, max_ptr, lse_ptr, entropy_ptr, grad_out_ptr, grad_ptr, vocab, x_inner, x_outer,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:196
Function_entropy_stats_kernel
(x_ptr, out_ptr, num_rows, vocab, x_inner, x_outer, x_row, BLOCK: tl.constexpr)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:162
Method_epilogue_ran_this_backward
(self)
deepspeed/runtime/base_optimizer.py:315
Method_exec_backward_pass
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:214
Method_exec_backward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:791
Method_exec_commit_p2p
(self)
deepspeed/runtime/pipe/dualpipev.py:179
Method_exec_forward_pass
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:195
Method_exec_forward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:698
Method_exec_load_micro_batch
(self, buffer_id)
deepspeed/runtime/pipe/dualpipev.py:190
Method_exec_load_micro_batch
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:886
Method_exec_optimizer_step
(self, lr_kwargs=None)
deepspeed/runtime/pipe/engine.py:1212
Method_exec_recv_activations
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:246
Method_exec_recv_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1107
Method_exec_recv_grads
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:267
Method_exec_recv_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1150
Method_exec_reduce_grads
(self)
deepspeed/runtime/pipe/engine.py:287
Method_exec_reduce_tied_grads
(self)
deepspeed/runtime/pipe/engine.py:269
Method_exec_send_activations
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:236
Method_exec_send_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1015
Method_exec_send_grads
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:260
Method_exec_send_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1051
Method_expand_resources
(resource_list, new_size)
deepspeed/runtime/model_checkpointing/data_parallel_writer_factory.py:108
Function_expert_weight_parity_mvp_tp2_ep4_z0
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:625
Function_expert_weight_parity_tp4_ep4_z0
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:629
Function_expert_weight_parity_tp4_ep4_z2
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:633
Method_fail
(*args, **kwargs)
tests/unit/v1/moe/test_autoep_expert_activation.py:313
Function_fake_all_gather
(tensor_list, tensor, group=None)
deepspeed/sequence/test_autosp.py:101
← previousnext →7,801–7,900 of 15,767, ranked by callers