MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Method__post_init__
(self)
deepspeed/module_inject/autotp_config.py:136
Method__post_init__
(self)
deepspeed/module_inject/auto_ep_presets/base.py:154
Method__reduce__
(self)
deepspeed/ops/triton_ops/fused_rms_norm.py:49
Method__reduce__
(self)
deepspeed/runtime/zero/parameter_offload.py:54
Method__repr__
(self)
tests/unit/modeling.py:223
Method__repr__
(self)
tests/unit/util.py:277
Method__repr__
(self)
tests/unit/util.py:344
Method__repr__
(self)
tests/unit/modelingpreln.py:224
Method__repr__
(self)
deepspeed/checkpoint/affine.py:143
Method__repr__
(self)
deepspeed/checkpoint/affine.py:476
Method__repr__
(self)
deepspeed/checkpoint/affine_geometry.py:150
Method__repr__
(self)
deepspeed/inference/v2/inference_utils.py:37
Method__repr__
(self)
deepspeed/runtime/config.py:163
Method__repr__
(self)
deepspeed/runtime/sparse_tensor.py:60
Method__repr__
(self)
deepspeed/runtime/config_utils.py:139
Method__repr__
(self)
deepspeed/runtime/config_utils.py:184
Method__repr__
(self)
deepspeed/runtime/pipe/schedule.py:485
Method__repr__
(self)
deepspeed/runtime/pipe/module.py:66
Method__repr__
(self)
deepspeed/runtime/fp16/fused_optimizer.py:540
Method__repr__
(self)
deepspeed/runtime/fp16/unfused_optimizer.py:424
Method__setitem__
(self, index, value)
deepspeed/inference/v2/model_implementations/parameter_base.py:224
Method__setitem__
(self, param: Parameter, handle: AllGatherCoalescedHandle)
deepspeed/runtime/zero/partitioned_param_coordinator.py:65
Method__setstate__
(self, state)
tests/unit/simple_model.py:219
Method__setstate__
(self, state)
deepspeed/ops/adagrad/cpu_adagrad.py:35
Method__setstate__
(self, state)
deepspeed/ops/lion/cpu_lion.py:71
Method__setstate__
(self, state)
deepspeed/ops/adam/zenflow_torch_adam.py:278
Method__setstate__
(self, state)
deepspeed/ops/adam/cpu_adam.py:140
Method__setstate__
(self, state)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:491
Method__str__
(self)
tests/unit/checkpoint/test_affine_shard_map.py:40
Method__str__
(self)
deepspeed/runtime/pipe/topology.py:213
Method__str__
(self)
op_builder/builder.py:162
Method__tuple_expand_driver
csrc/xpu/adam/multi_tensor_apply.dp.hpp:78
Method_accumulate_worker
(_copy_event=copy_event, _dst_slice=dst_slice, _src_slice=src_slice)
deepspeed/runtime/reflow/reflow_stage3.py:839
Function_add_flops_compute
(input, other, *, alpha=1, out=None)
deepspeed/profiling/flops_profiler/profiler.py:842
Function_addmm_flops_compute
Count flops for the addmm operation.
deepspeed/profiling/flops_profiler/profiler.py:777
Method_after_fork_parent
(self)
deepspeed/runtime/python_gc.py:29
Function_aggregate_loss_backward
(ctx, grad_loss, grad_scale_grad)
deepspeed/compile/custom_ops/all_to_all.py:138
Function_aggregate_loss_backward_setup
(ctx, inputs, output)
deepspeed/compile/custom_ops/all_to_all.py:132
Method_all_gather_coalesced
(params, world_size, rank_in_group, use_secondary_tensor, ds_process_group, quantize)
deepspeed/runtime/zero/partition_parameters.py:1450
Method_all_gather_dtype
(params, world_size, rank_in_group, ds_process_group, allgather_dtype)
deepspeed/runtime/zero/partition_parameters.py:1333
Function_all_gather_sequence_backward
(ctx, grad)
deepspeed/compile/custom_ops/all_to_all.py:193
Function_all_gather_sequence_backward_setup
(ctx, inputs, output)
deepspeed/compile/custom_ops/all_to_all.py:188
Method_all_gather_sequential
(params, world_size, use_secondary_tensor, ds_process_group, quantize)
deepspeed/runtime/zero/partition_parameters.py:1377
Function_all_to_all_backward
(ctx, grad)
deepspeed/compile/custom_ops/all_to_all.py:95
Function_all_to_all_backward_setup
(ctx, inputs, output)
deepspeed/compile/custom_ops/all_to_all.py:88
Method_alloc_bounce_buffer
csrc/aio/py_lib/deepspeed_cpu_op.cpp:91
Method_alternate_post_backward_module_hook
(module, inputs)
deepspeed/runtime/zero/parameter_offload.py:426
Method_apply_config_overrides
(self, preset: MoEModelPreset)
deepspeed/module_inject/auto_ep.py:737
Function_apply_documented_differently
The split-half expression, documented differently.
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:274
Function_argmax
(logits)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:915
Function_attn_flops_compute
Count flops for the scaled_dot_product_attention operation.
deepspeed/profiling/flops_profiler/profiler.py:863
Function_aws_json
(run_command: Any, args: Sequence[str], *, timeout: float | None = None)
ci/torch_latest.py:905
Method_backward_active_depth
(self)
deepspeed/runtime/base_optimizer.py:299
Method_backward_post_hook
(self)
deepspeed/runtime/engine.py:3349
Method_backward_prologue_per_tensor
(self, grad)
deepspeed/runtime/engine.py:3339
Method_backward_prologue_per_tensor
(self, grad)
deepspeed/runtime/pipe/engine.py:518
Method_backward_seen_this_step
(self)
deepspeed/runtime/base_optimizer.py:307
Function_baseline
(gate, up)
tests/benchmarks/swiglu_bench.py:27
Function_batch_norm_flops_compute
( input, running_mean, running_var, weight=None, bias=None, training=False, moment
deepspeed/profiling/flops_profiler/profiler.py:665
Method_before_fork
(self)
deepspeed/runtime/python_gc.py:26
Function_block
deepspeed/inference/v2/kernels/includes/reduction_utils.h:538
Function_block
csrc/includes/reduction_utils.h:612
Function_bool_to_float
Converts a torch.BoolTensor to an equivalent dtype.
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:295
Method_bootstrap
(self, *args, **kwargs)
tests/unit/common.py:149
Method_build
(self)
deepspeed/runtime/pipe/dualpipev.py:52
Method_build_causal_attention_mask
(self, bsz, seq_len, dtype)
deepspeed/model_implementations/transformers/clip_encoder.py:27
Function_builder
()
op_builder/__init__.py:32
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
Method_check_parity
(A, B, output_dtype, SA=None,
deepspeed/ops/transformer/inference/triton/matmul_ext.py:438
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_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:375
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:618
← previousnext →7,601–7,700 of 15,468, ranked by callers