MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodsources
(self)
op_builder/spatial_inference.py:21
Methodsources
(self)
op_builder/transformer.py:26
Methodsources
(self)
op_builder/evoformer_attn.py:33
Methodsources
(self)
op_builder/custom_collective.py:23
Methodsources
(self)
op_builder/dc.py:19
Methodsources
(self)
op_builder/fused_lion.py:21
Methodsources
(self)
op_builder/transformer_inference.py:21
Methodsources
(self)
op_builder/fused_adam.py:21
Methodsources
(self)
op_builder/ragged_ops.py:28
Methodsources
(self)
op_builder/mps/builder.py:19
Methodsources
(self)
op_builder/npu/cpu_lion.py:19
Methodsources
(self)
op_builder/npu/no_impl.py:23
Methodsources
(self)
op_builder/npu/async_io.py:22
Methodsources
(self)
op_builder/npu/quantizer.py:348
Methodsources
(self)
op_builder/npu/fused_lamb.py:93
Methodsources
(self)
op_builder/npu/fused_lion.py:65
Methodsources
(self)
op_builder/npu/inference.py:498
Methodsources
(self)
op_builder/npu/fused_adam.py:59
Methodsources
(self)
op_builder/npu/cpu_adam.py:19
Methodsources
(self)
op_builder/npu/cpu_adagrad.py:19
Methodsources
(self)
op_builder/klxpu/cpu_lion.py:17
Methodsources
(self)
op_builder/klxpu/no_impl.py:21
Methodsources
(self)
op_builder/klxpu/async_io.py:20
Methodsources
(self)
op_builder/klxpu/fused_adam.py:85
Methodsources
(self)
op_builder/klxpu/cpu_adam.py:17
Methodsources
(self)
op_builder/klxpu/cpu_adagrad.py:17
Methodsources
(self)
op_builder/xpu/no_impl.py:23
Methodsources
(self)
op_builder/xpu/flash_attn.py:35
Methodsources
(self)
op_builder/xpu/fused_adam.py:18
Methodsources
(self)
op_builder/xpu/cpu_adam.py:19
Methodsources
(self)
op_builder/xpu/cpu_adagrad.py:19
Methodsources
(self)
op_builder/sdaa/no_impl.py:49
Methodsources
(self)
op_builder/sdaa/fused_adam.py:60
Methodsources
(self)
op_builder/hpu/fp_quantizer.py:28
Methodsources
(self)
op_builder/hpu/no_impl.py:23
Methodsources
(self)
op_builder/hpu/transformer_inference.py:28
Methodsources
(self)
op_builder/hpu/fused_adam.py:98
Methodsources
(self)
op_builder/cpu/cpu_lion.py:19
Methodsources
(self)
op_builder/cpu/reflow_cpu_adam.py:17
Methodsources
(self)
op_builder/cpu/no_impl.py:23
Methodsources
(self)
op_builder/cpu/async_io.py:32
Methodsources
(self)
op_builder/cpu/comm.py:22
Methodsources
(self)
op_builder/cpu/comm.py:58
Methodsources
(self)
op_builder/cpu/fused_adam.py:19
Methodsources
(self)
op_builder/cpu/cpu_adam.py:19
Methodsources
(self)
op_builder/cpu/reflow_cpu_lion.py:17
Methodsources
(self)
op_builder/cpu/cpu_adagrad.py:17
Methodsources
(self)
op_builder/supa/no_impl.py:22
Methodsources
(self)
op_builder/supa/async_io.py:20
Methodsources
(self)
op_builder/supa/quantizer.py:74
Methodsources
(self)
op_builder/supa/fused_lamb.py:77
Methodsources
(self)
op_builder/supa/fused_lion.py:59
Methodsources
(self)
op_builder/supa/inference.py:334
Methodsources
(self)
op_builder/supa/fused_adam.py:79
Methodsources
(self)
op_builder/supa/cpu_adam.py:17
Methodsources
(self)
op_builder/supa/cpu_adagrad.py:19
Methodsources
(self)
op_builder/mlu/no_impl.py:24
Methodsources
(self)
op_builder/mlu/fused_adam.py:36
Methodsources
(self)
op_builder/mlu/cpu_adagrad.py:20
Functionsparse_mla_bwd_kernel
( Q: T.Tensor(q_shape, dtype), KV: T.Tensor(k_shape, dtype), dO: T.Tensor(
deepspeed/models/glm_moe_dsa/kernels/sparse_mla_bwd.py:159
Methodsplit_index_list
(self, storage_obj_list, num_splits)
deepspeed/io/fast_file_writer.py:69
Functionsplit_params_into_shared_and_expert_params
( params: List[torch.nn.Parameter])
deepspeed/moe/utils.py:33
Methodsplit_state_dict
(self, mp_world_size, mp_rank, quan
deepspeed/runtime/state_dict_factory.py:348
Methodspy
(optimizer)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:485
Methodspy
(non_expert_norm, mpu, expert_tensors, norm_type=2)
tests/unit/runtime/test_runtime_utils.py:168
Methodspy
(grad, momentum, *args, **kwargs)
tests/unit/runtime/zero/test_per_head_muon.py:952
Methodspy
(grad, momentum, *args, **kwargs)
tests/unit/runtime/zero/test_per_head_muon.py:1006
Methodspy_copy
(tensor, source, *args, **kwargs)
tests/unit/comm/test_dist.py:256
Methodspy_cpu
(tensor, *args, **kwargs)
tests/unit/comm/test_dist.py:250
Methodspy_to
(tensor, *args, **kwargs)
tests/unit/comm/test_dist.py:244
Methodstage
Stage index used to configure this schedule.
deepspeed/runtime/pipe/schedule.py:87
Functionstage3_optimizer_class
Reflow's ZeRO-3 subclass with its config bound, so the engine's Stage-3 call is the shared one.
deepspeed/runtime/reflow/engine.py:42
Functionstage_on_cpu
Runs a collective on CPU copies of device tensors gloo cannot take, then copies results back. This lets DeepSpeed use gloo with MPS tensors on Ap
deepspeed/comm/torch.py:178
Methodstage_owner
The pipeline rank that owns ``layer_idx``.
deepspeed/runtime/pipe/dualpipev.py:47
Methodstart
Start the timer.
deepspeed/utils/timer.py:46
Methodstart
(self)
deepspeed/utils/timer.py:255
Functionstart_backward
csrc/compile/deepcompile.cpp:191
Functionstart_forward
csrc/compile/deepcompile.cpp:180
Methodstart_profiling_op
(self, op_name_list)
deepspeed/utils/comms_logging.py:97
Methodstart_time_hook
(module, input)
deepspeed/profiling/flops_profiler/profiler.py:116
Methodstate
Forward the wrapped optimizer's states.
deepspeed/runtime/bf16_optimizer.py:710
Methodstate_dict
(self)
deepspeed/runtime/bf16_optimizer.py:634
Methodstate_dict
(self)
deepspeed/runtime/lr_schedules.py:407
Methodstate_dict
(self)
deepspeed/runtime/lr_schedules.py:776
Methodstate_dict
(self)
deepspeed/runtime/lr_schedules.py:949
Methodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
deepspeed/runtime/zero/stage_1_and_2.py:3492
Methodstate_dict
(self)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:316
Methodstate_dict
(self)
deepspeed/runtime/data_pipeline/data_sampling/variable_batch_size_and_lr.py:252
Methodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
deepspeed/runtime/fp16/unfused_optimizer.py:346
Methodstate_dict
(self)
deepspeed/runtime/reflow/reflow_stage3.py:2030
Methodstep
(self, closure=None)
tests/unit/simple_model.py:222
Methodstep
(self, closure=None)
tests/unit/v1/ops/muon/test_muon_partial_training.py:359
Methodstep
(self, closure=None)
tests/unit/runtime/sparse_tensor/test_averaging_sparse_gradients.py:36
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
deepspeed/ops/lion/fused_lion.py:55
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
deepspeed/ops/lamb/fused_lamb.py:69
Methodstep
(self, closure=None)
deepspeed/runtime/bf16_optimizer.py:388
Methodstep
(self, lr_kwargs=None)
deepspeed/runtime/hybrid_engine.py:511
Methodstep
(self, batch_iteration=None)
deepspeed/runtime/lr_schedules.py:401
Methodstep
(self, closure=None)
deepspeed/runtime/zero/muon/original_muon.py:269
Methodstep
(self, closure=None)
deepspeed/runtime/zero/muon/original_muon.py:478
← previousnext →11,601–11,700 of 15,468, ranked by callers