MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodstep
(self, closure=None, step_id=None)
deepspeed/runtime/zero/muon/muon_optimizer.py:57
Methodstep
Disabled for pipeline parallel training. See ``train_batch()``.
deepspeed/runtime/pipe/engine.py:1295
Methodstep
Direct steps cannot use the separate Reflow native registry.
deepspeed/runtime/reflow/reflow_cpu_adam.py:100
Methodstep
Direct steps cannot use the separate Reflow native registry.
deepspeed/runtime/reflow/reflow_cpu_lion.py:90
Methodstep
Not supporting closure.
deepspeed/runtime/reflow/reflow_stage3.py:1661
Functionstep_invoker
csrc/adagrad/cpu_adagrad.cpp:123
Functionstep_invoker
csrc/lion/cpu_lion_impl.cpp:138
Functionstep_invoker
csrc/adam/cpu_adam_impl.cpp:187
Methodstep_state_halfgrad
Optimizer-state-only Lion step from half-precision gradients: commit the FP32 master + exp_avg. Runs on a background worker so it overlaps wit
deepspeed/runtime/reflow/reflow_cpu_lion.py:123
Methodstep_with_gradscaler
(optimizer)
deepspeed/runtime/zero/stage3.py:1344
Methodstep_with_gradscaler
(optimizer)
deepspeed/runtime/superoffload/superoffload_stage3.py:102
Methodsteps
(self)
deepspeed/runtime/pipe/schedule.py:139
Methodsteps
(self)
deepspeed/runtime/pipe/schedule.py:197
Methodsteps
(self)
deepspeed/runtime/pipe/schedule.py:306
Methodsteps
(self)
deepspeed/runtime/pipe/schedule.py:360
Methodstop
Stop the timer.
deepspeed/utils/timer.py:60
Methodstop
(self, global_step=False, report_speed=True)
deepspeed/utils/timer.py:270
Methodstop_profiling_op
(self, op_name_list)
deepspeed/utils/comms_logging.py:100
Functionstore
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:756
Functionstore
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:460
Methodstore
csrc/includes/quantization_utils.h:129
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:419
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:632
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:844
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1099
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1307
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1515
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1722
Methodstore
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1928
Functionstore_16_f32_as_bf16_nearest
csrc/includes/simd.h:90
Functionstore_4_f32_as_bf16_nearest
csrc/includes/simd.h:153
Methodstore_with_byte_offset
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:337
Methodstore_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:394
Methodstore_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:625
Methodstore_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1074
Methodstore_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1300
Methodstore_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1508
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:387
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:618
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1067
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1293
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1501
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1715
Methodstore_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1921
Methodstream
(self, stream)
accelerator/supa_accelerator.py:101
Methodstream
(self, stream)
accelerator/sdaa_accelerator.py:122
Methodstream
(self, stream)
accelerator/cpu_accelerator.py:262
Methodstream
(self, stream)
accelerator/mlu_accelerator.py:92
Methodstream
(self, stream)
accelerator/npu_accelerator.py:126
Methodstream
(self, stream)
accelerator/xpu_accelerator.py:256
Methodstream
(self, stream)
accelerator/cuda_accelerator.py:127
Methodstream
(self, stream)
accelerator/mps_accelerator.py:101
Methodstream
(self, stream)
accelerator/abstract_accelerator.py:99
Methodstrict_average_tensor
(tensor, communication_data_type: torch.dtype)
tests/unit/v1/moe/test_moe.py:179
Methodstrict_narrow
(dim, start, length)
tests/unit/v1/moe/test_moe.py:210
Functionstrided_address
(shape, offset, strides, index)
deepspeed/checkpoint/affine_geometry.py:79
Functionstub_deepcompile_ops
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:62
Methodstubbed_pg_all_reduce
(*args, **kwargs)
tests/unit/comm/test_dist.py:442
Methodstubbed_shm_reduce
(tensor)
tests/unit/comm/test_dist.py:438
Methodstubbed_world_size
(group=None)
tests/unit/comm/test_dist.py:446
Functionsuccessful_nvcc_args
()
tests/unit/ops/test_op_builder.py:142
Functionsum_peer_fragment
(tensor, *, group, _peer=peer_contribution)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:52
Functionsummarization_assert
(x, y)
tests/unit/inference/test_inference.py:225
Functionsuperoffload_optimizer_worker
This function runs in a separate process and continuously processes optimization tasks from the parameter queue. It creates a DeepSpeedCPUAda
deepspeed/runtime/superoffload/superoffload_utils.py:48
Methodsupported_dtypes
(self)
accelerator/supa_accelerator.py:165
Methodsupported_dtypes
(self)
accelerator/sdaa_accelerator.py:186
Methodsupported_dtypes
(self)
accelerator/cpu_accelerator.py:382
Methodsupported_dtypes
(self)
accelerator/mlu_accelerator.py:156
Methodsupported_dtypes
(self)
accelerator/npu_accelerator.py:227
Methodsupported_dtypes
(self)
accelerator/xpu_accelerator.py:370
Methodsupported_dtypes
(self)
accelerator/cuda_accelerator.py:226
Methodsupported_dtypes
(self)
accelerator/mps_accelerator.py:174
Methodsupported_dtypes
(self)
accelerator/abstract_accelerator.py:182
Methodsupports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/post_norm/cuda_post_ln.py:26
Methodsupports_config
(config: DSSelfAttentionConfig)
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:47
Methodsupports_config
(config: DSLinearConfig)
deepspeed/inference/v2/modules/implementations/linear/blas_fp_linear.py:35
Methodsupports_config
(config: DSLinearConfig)
deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py:107
Methodsupports_config
(config: DSUnembedConfig)
deepspeed/inference/v2/modules/implementations/unembed/ragged_unembed.py:32
Methodsupports_config
(config: DSEmbeddingsConfig)
deepspeed/inference/v2/modules/implementations/embedding/ragged_embedding.py:27
Methodsupports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_rms.py:26
Methodsupports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_ln.py:27
Methodsupports_config
(config: DSMoEConfig)
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:38
Methodsupports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:215
Methodsupports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:227
Methodsupports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:563
Functionsve_adam_update
csrc/includes/sve.h:13
Methodswap_in
(self, params, async_op=False)
tests/unit/ops/adam/test_zf_torch_adam.py:211
Methodswap_in
(self, params, async_op=True, swap_in_buffers=None)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:291
Methodswap_in_optimizer_state
(self, parameter, async_parameter=None)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:72
Methodswap_out_and_release
(self, params, async_op=False)
tests/unit/ops/adam/test_zf_torch_adam.py:216
Methodswap_out_gradients
(self, parameter, gradient_offsets, gradient_tensors)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:153
Methodswap_out_optimizer_state
(self, parameter, async_swap=False)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:134
Methodswap_tensor_config
(self)
deepspeed/runtime/engine.py:1877
Functionswish
(x)
tests/unit/modeling.py:77
Functionswish
(x)
tests/unit/modelingpreln.py:76
Methodswizzle_quant
(input_vals, groups, num_bits, quant_type, pipeline_size, nodes, devices_per_node)
op_builder/supa/quantizer.py:54
Methodsymbolic
(graph, input_, handle_dic, h_id)
deepspeed/runtime/domino/transformer.py:57
Methodsymbolic
Symbolic function for tracing.
deepspeed/module_inject/layers.py:212
Methodsymbolic
Symbolic function for tracing.
deepspeed/module_inject/layers.py:299
Methodsymbolic
(graph, input_, dim)
deepspeed/moe/mappings.py:75
← previousnext →11,701–11,800 of 15,468, ranked by callers