MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

Methoddefault_generator
(self, device_index)
accelerator/cpu_accelerator.py:254
Methoddefault_generator
(self, device_index)
accelerator/mlu_accelerator.py:84
Methoddefault_generator
(self, device_index)
accelerator/npu_accelerator.py:118
Methoddefault_generator
(self, device_index)
accelerator/xpu_accelerator.py:248
Methoddefault_generator
(self, device_index)
accelerator/cuda_accelerator.py:119
Methoddefault_generator
(self, device_index)
accelerator/mps_accelerator.py:93
Methoddefault_generator
(self, device_index)
accelerator/abstract_accelerator.py:89
Functiondefault_inference_config
Return a default DeepSpeed inference configuration dictionary.
deepspeed/__init__.py:694
Functiondefault_path_of
Tell a copy within one process from a transfer between two.
deepspeed/checkpoint/affine_transfer_calibration.py:48
Methoddefault_stream
(self)
tests/unit/v1/sequence_parallelism/test_overlap_grad_permutation.py:38
Methoddefault_stream
(self, device_index=None)
accelerator/supa_accelerator.py:107
Methoddefault_stream
(self, device_index=None)
accelerator/sdaa_accelerator.py:128
Methoddefault_stream
(self, device_index=None)
accelerator/cpu_accelerator.py:269
Methoddefault_stream
(self, device_index=None)
accelerator/mlu_accelerator.py:98
Methoddefault_stream
(self, device_index=None)
accelerator/npu_accelerator.py:132
Methoddefault_stream
(self, device_index=None)
accelerator/xpu_accelerator.py:262
Methoddefault_stream
(self, device_index=None)
accelerator/cuda_accelerator.py:133
Methoddefault_stream
(self, device_index=None)
accelerator/mps_accelerator.py:108
Methoddefault_stream
(self, device_index=None)
accelerator/abstract_accelerator.py:107
Methoddel_extra_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:429
Methoddelay_last_commit
(*args, **kwargs)
tests/unit/v1/zero/test_reflow.py:932
Functiondelayed_offload_copy
(dst, src, *args, **kwargs)
tests/unit/v1/zero/test_reflow.py:1602
Methoddelayed_ready
(*args)
tests/unit/v1/zero/test_reflow.py:852
Functiondequantize
csrc/quantization/pt_binding.cpp:51
Functiondequantize
csrc/fp_quantizer/fp_quantize.cpp:66
Methoddequantize
csrc/includes/quantization_utils.h:77
Methoddequantize
csrc/includes/quantization_utils.h:123
Methoddequantize
Inverse of quantize; returns fp16, matching the hpZ/qgZ call sites. For int4 the input is the flat packed byte tensor and the output is
op_builder/npu/quantizer.py:138
Methoddequantize
(cls, fp_out, input_q, scale, group_size, q_mantisa_bits, q_exponent_bits)
op_builder/hpu/fp_quantizer.py:56
Methoddequantize
(quantized_data, params, groups, num_bits, quant_type)
op_builder/supa/quantizer.py:36
Methoddequantize_fp32
Same, but keeps fp32 (no fp16 rounding in the middle).
op_builder/npu/quantizer.py:158
Methoddequantize_fp32
(quantized_data, params, groups, num_bits, quant_type)
op_builder/supa/quantizer.py:40
Functiondequantize_int4_to_half_experimental
csrc/quantization/pt_binding.cpp:83
Methoddequantize_int4_to_half_experimental
(data_in, scale_buffer, min_val_buffer, num_group, group_size)
op_builder/supa/quantizer.py:44
Functiondequantize_int8_to_half_experimental
csrc/quantization/pt_binding.cpp:103
Methoddequantize_int8_to_half_experimental
(data_in, scale_buffer, min_val_buffer, num_group, group_size)
op_builder/supa/quantizer.py:49
Methoddesc
(self)
deepspeed/autotuning/scheduler.py:284
Methoddestroy
(self)
deepspeed/runtime/bf16_optimizer.py:126
Methoddestroy
(self)
deepspeed/runtime/zero/stage3.py:570
Methoddestroy
(self)
deepspeed/runtime/zero/parameter_offload.py:281
Methoddestroy
Drain any background work before shutting the pools down. An undrained bucketwise/state worker can otherwise race ReflowCPUAdam.__del
deepspeed/runtime/reflow/reflow_stage3.py:366
Functiondestroy_adagrad_optimizer
csrc/adagrad/cpu_adagrad.cpp:205
Functiondestroy_adagrad_optimizer
csrc/xpu/adagrad/cpu_adagrad.cpp:183
Functiondestroy_adam_optimizer
csrc/adam/cpu_adam_impl.cpp:534
Functiondestroy_lion_optimizer
csrc/lion/cpu_lion_impl.cpp:220
Functiondestroy_process_group
(group: Optional[Any] = None)
deepspeed/comm/comm.py:179
Functiondeterministic_policy
()
tests/unit/runtime/test_custom_determinism.py:12
Functiondevice
CPU tensors run the PyTorch reference; the accelerator runs the fused kernels. Capability is probed here rather than at import so that collecting
tests/unit/v1/runtime/test_subchannel_quantization.py:34
Methoddevice
(self, device_index=None)
accelerator/supa_accelerator.py:43
Methoddevice
(self, device_index=None)
accelerator/sdaa_accelerator.py:71
Methoddevice
(self, device_index=None)
accelerator/cpu_accelerator.py:198
Methoddevice
(self, device_index=None)
accelerator/mlu_accelerator.py:41
Methoddevice
(self, device_index=None)
accelerator/npu_accelerator.py:75
Methoddevice
(self, device_index=None)
accelerator/xpu_accelerator.py:207
Methoddevice
(self, device_index=None)
accelerator/cuda_accelerator.py:72
Methoddevice_count
(self)
accelerator/supa_accelerator.py:55
Methoddevice_count
(self)
accelerator/sdaa_accelerator.py:83
Methoddevice_count
(self)
accelerator/cpu_accelerator.py:210
Methoddevice_count
(self)
accelerator/mlu_accelerator.py:53
Methoddevice_count
(self)
accelerator/npu_accelerator.py:87
Methoddevice_count
(self)
accelerator/xpu_accelerator.py:219
Methoddevice_count
(self)
accelerator/cuda_accelerator.py:84
Methoddevice_count
(self)
accelerator/mps_accelerator.py:65
Methoddevice_count
(self)
accelerator/abstract_accelerator.py:56
Functiondevice_counts
(_module, _inputs, output)
tests/unit/v1/moe/test_autoep_unit.py:2104
Methoddevice_name
(self, device_index)
accelerator/abstract_accelerator.py:36
Functiondict_raise_error_on_duplicate_keys
Reject duplicate keys.
deepspeed/runtime/config_utils.py:205
Functiondict_to_feature
Extract values from dict
deepspeed/autotuning/tuner/utils.py:66
Functiondisable
()
tests/unit/runtime/test_python_gc.py:26
Functiondisable_compiler_collective
(func)
deepspeed/comm/torch.py:52
Functiondisarm_capture
(module, args, output)
deepspeed/sequence/linear_cross_entropy.py:435
Methoddispatch
(self, tokens, topk_idx, topk_weights)
tests/unit/v1/moe/test_autoep_unit.py:2262
Methoddispatch
(self, tokens, *, handle, do_expand=False, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:777
Methoddispatch
(self, tokens, *, topk_idx=None, topk_weights=None, handle=None, do_expand=False, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:1019
Methoddispatch
(self, tokens, *, topk_idx=None, topk_weights=None, handle=None, do_expand=False, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:1339
Methoddoc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:469
Methoddoc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:553
Functiondownsample_load_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:464
Functiondp2_checkpoint
(tmp_path_factory)
tests/unit/checkpoint/test_fp32_master_only.py:204
Functiondp_size
()
deepspeed/compile/custom_ops/sp_dp_registry.py:44
Methoddrain
(self, num_bytes, fd, file_offset)
deepspeed/io/double_io_buffer.py:30
Methoddrain
(self, num_bytes, fd, file_offset)
deepspeed/io/single_io_buffer.py:20
Functionds_adagrad_step
csrc/adagrad/cpu_adagrad.cpp:178
Functionds_adagrad_step
csrc/xpu/adagrad/cpu_adagrad.cpp:139
Functionds_adagrad_step_plus_copy
csrc/xpu/adagrad/cpu_adagrad.cpp:169
Functionds_adam_block_numel
csrc/adam/cpu_adam_impl.cpp:354
Functionds_adam_rollback
csrc/adam/cpu_adam_impl.cpp:486
Functionds_adam_step_scaled
csrc/adam/cpu_adam_impl.cpp:406
Functionds_adam_step_scaled_copy
csrc/adam/cpu_adam_impl.cpp:367
Functionds_bias_add
csrc/transformer/inference/csrc/pt_binding.cpp:645
Functionds_bias_gelu
csrc/transformer/inference/csrc/pt_binding.cpp:571
Functionds_bias_relu
csrc/transformer/inference/csrc/pt_binding.cpp:629
Functionds_bias_residual
csrc/transformer/inference/csrc/pt_binding.cpp:661
Functionds_config
(zero_stage, dtype, sub_group_size)
tests/unit/checkpoint/test_universal_checkpoint.py:144
Functionds_dequantize
csrc/transformer/inference/csrc/pt_binding.cpp:2005
Functionds_gated_activation
deepspeed/inference/v2/kernels/core_ops/gated_activations/gated_activation_kernels.cpp:39
Functionds_gated_activation
csrc/transformer/inference/csrc/pt_binding.cpp:598
Methodds_ids
(self)
deepspeed/compile/graph_param.py:79
Functionds_layer_norm
deepspeed/inference/v2/kernels/core_ops/cuda_layer_norm/layer_norm.cpp:20
Functionds_layer_norm
csrc/transformer/inference/csrc/pt_binding.cpp:682
← previousnext →9,001–9,100 of 15,767, ranked by callers