Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Method
step
(self, closure=None, step_id=None)
deepspeed/runtime/zero/muon/muon_optimizer.py:57
Method
step
Disabled for pipeline parallel training. See ``train_batch()``.
deepspeed/runtime/pipe/engine.py:1295
Method
step
Direct steps cannot use the separate Reflow native registry.
deepspeed/runtime/reflow/reflow_cpu_adam.py:100
Method
step
Direct steps cannot use the separate Reflow native registry.
deepspeed/runtime/reflow/reflow_cpu_lion.py:90
Method
step
Not supporting closure.
deepspeed/runtime/reflow/reflow_stage3.py:1661
Function
step_invoker
csrc/adagrad/cpu_adagrad.cpp:123
Function
step_invoker
csrc/lion/cpu_lion_impl.cpp:138
Function
step_invoker
csrc/adam/cpu_adam_impl.cpp:187
Method
step_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
Method
step_with_gradscaler
(optimizer)
deepspeed/runtime/zero/stage3.py:1344
Method
step_with_gradscaler
(optimizer)
deepspeed/runtime/superoffload/superoffload_stage3.py:102
Method
steps
(self)
deepspeed/runtime/pipe/schedule.py:139
Method
steps
(self)
deepspeed/runtime/pipe/schedule.py:197
Method
steps
(self)
deepspeed/runtime/pipe/schedule.py:306
Method
steps
(self)
deepspeed/runtime/pipe/schedule.py:360
Method
stop
Stop the timer.
deepspeed/utils/timer.py:60
Method
stop
(self, global_step=False, report_speed=True)
deepspeed/utils/timer.py:270
Method
stop_profiling_op
(self, op_name_list)
deepspeed/utils/comms_logging.py:100
Function
store
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:756
Function
store
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:460
Method
store
csrc/includes/quantization_utils.h:129
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:419
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:632
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:844
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1099
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1307
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1515
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1722
Method
store
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1928
Function
store_16_f32_as_bf16_nearest
csrc/includes/simd.h:90
Function
store_4_f32_as_bf16_nearest
csrc/includes/simd.h:153
Method
store_with_byte_offset
Stores a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:337
Method
store_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:394
Method
store_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:625
Method
store_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1074
Method
store_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1300
Method
store_with_byte_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1508
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:387
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:618
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1067
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1293
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1501
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1715
Method
store_with_pointer_offset
Store a fragment to memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1921
Method
stream
(self, stream)
accelerator/supa_accelerator.py:101
Method
stream
(self, stream)
accelerator/sdaa_accelerator.py:122
Method
stream
(self, stream)
accelerator/cpu_accelerator.py:262
Method
stream
(self, stream)
accelerator/mlu_accelerator.py:92
Method
stream
(self, stream)
accelerator/npu_accelerator.py:126
Method
stream
(self, stream)
accelerator/xpu_accelerator.py:256
Method
stream
(self, stream)
accelerator/cuda_accelerator.py:127
Method
stream
(self, stream)
accelerator/mps_accelerator.py:101
Method
stream
(self, stream)
accelerator/abstract_accelerator.py:99
Method
strict_average_tensor
(tensor, communication_data_type: torch.dtype)
tests/unit/v1/moe/test_moe.py:179
Method
strict_narrow
(dim, start, length)
tests/unit/v1/moe/test_moe.py:210
Function
strided_address
(shape, offset, strides, index)
deepspeed/checkpoint/affine_geometry.py:79
Function
stub_deepcompile_ops
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:62
Method
stubbed_pg_all_reduce
(*args, **kwargs)
tests/unit/comm/test_dist.py:442
Method
stubbed_shm_reduce
(tensor)
tests/unit/comm/test_dist.py:438
Method
stubbed_world_size
(group=None)
tests/unit/comm/test_dist.py:446
Function
successful_nvcc_args
()
tests/unit/ops/test_op_builder.py:142
Function
sum_peer_fragment
(tensor, *, group, _peer=peer_contribution)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:52
Function
summarization_assert
(x, y)
tests/unit/inference/test_inference.py:225
Function
superoffload_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
Method
supported_dtypes
(self)
accelerator/supa_accelerator.py:165
Method
supported_dtypes
(self)
accelerator/sdaa_accelerator.py:186
Method
supported_dtypes
(self)
accelerator/cpu_accelerator.py:382
Method
supported_dtypes
(self)
accelerator/mlu_accelerator.py:156
Method
supported_dtypes
(self)
accelerator/npu_accelerator.py:227
Method
supported_dtypes
(self)
accelerator/xpu_accelerator.py:370
Method
supported_dtypes
(self)
accelerator/cuda_accelerator.py:226
Method
supported_dtypes
(self)
accelerator/mps_accelerator.py:174
Method
supported_dtypes
(self)
accelerator/abstract_accelerator.py:182
Method
supports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/post_norm/cuda_post_ln.py:26
Method
supports_config
(config: DSSelfAttentionConfig)
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:47
Method
supports_config
(config: DSLinearConfig)
deepspeed/inference/v2/modules/implementations/linear/blas_fp_linear.py:35
Method
supports_config
(config: DSLinearConfig)
deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py:107
Method
supports_config
(config: DSUnembedConfig)
deepspeed/inference/v2/modules/implementations/unembed/ragged_unembed.py:32
Method
supports_config
(config: DSEmbeddingsConfig)
deepspeed/inference/v2/modules/implementations/embedding/ragged_embedding.py:27
Method
supports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_rms.py:26
Method
supports_config
(config: DSNormConfig)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_ln.py:27
Method
supports_config
(config: DSMoEConfig)
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:38
Method
supports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:215
Method
supports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:227
Method
supports_prefetch
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:563
Function
sve_adam_update
csrc/includes/sve.h:13
Method
swap_in
(self, params, async_op=False)
tests/unit/ops/adam/test_zf_torch_adam.py:211
Method
swap_in
(self, params, async_op=True, swap_in_buffers=None)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:291
Method
swap_in_optimizer_state
(self, parameter, async_parameter=None)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:72
Method
swap_out_and_release
(self, params, async_op=False)
tests/unit/ops/adam/test_zf_torch_adam.py:216
Method
swap_out_gradients
(self, parameter, gradient_offsets, gradient_tensors)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:153
Method
swap_out_optimizer_state
(self, parameter, async_swap=False)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:134
Method
swap_tensor_config
(self)
deepspeed/runtime/engine.py:1877
Function
swish
(x)
tests/unit/modeling.py:77
Function
swish
(x)
tests/unit/modelingpreln.py:76
Method
swizzle_quant
(input_vals, groups, num_bits, quant_type, pipeline_size, nodes, devices_per_node)
op_builder/supa/quantizer.py:54
Method
symbolic
(graph, input_, handle_dic, h_id)
deepspeed/runtime/domino/transformer.py:57
Method
symbolic
Symbolic function for tracing.
deepspeed/module_inject/layers.py:212
Method
symbolic
Symbolic function for tracing.
deepspeed/module_inject/layers.py:299
Method
symbolic
(graph, input_, dim)
deepspeed/moe/mappings.py:75
← previous
next →
11,701–11,800 of 15,468, ranked by callers