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
track_zeros
(*args, **kwargs)
tests/unit/v1/zero/test_reflow.py:1630
Function
tracked_copy
(destination, source, *args, **kwargs)
tests/unit/v1/zero/test_zero2_gradient_safety.py:364
Function
tracked_load
(path, *args, **kwargs)
tests/unit/checkpoint/test_reshape_checkpoint.py:113
Method
tracked_sequences
Return the tracked sequences.
deepspeed/inference/v2/ragged/ragged_manager.py:169
Method
tracking_id
Return the slot in the tracking buffers used to track this sequence.
deepspeed/inference/v2/ragged/sequence_descriptor.py:157
Method
train
(stage)
tests/unit/v1/ops/muon/test_muon_overflow.py:227
Method
train
(self, mode=True)
deepspeed/runtime/hybrid_engine.py:497
Method
train_dataloader
(self)
tests/lightning/test_simple.py:50
Method
train_step
(layer, optimizer, inputs, mode)
tests/unit/v1/moe/test_autoep_unit.py:1633
Method
training_mode
(self)
deepspeed/module_inject/auto_tp.py:424
Method
training_step
(self, batch, batch_idx)
tests/lightning/test_simple.py:34
Method
transform_for_inference
Overrides the HybridEngineContainer implementation. The alternative layout of the QKV matrix for Megatron is such that each head's Q
deepspeed/module_inject/containers/features/hybrid_megatron.py:31
Method
transform_for_training
Overrides the HybridEngineContainer implementation. The alternative layout of the QKV matrix for Megatron is such that each head's Q
deepspeed/module_inject/containers/features/hybrid_megatron.py:69
Method
transform_gate_param
Ensures gate param is going to match the activation data type.
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:126
Method
transform_moe_mlp_1_param
Converts param to same data type as input and output. Parameters: param (torch.Tensor): Weight or bias tensor.
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:133
Method
transform_moe_mlp_1_param
Perform any necessary transformations of the parameter. The specific component being transformed should be inferred from the shape of
deepspeed/inference/v2/modules/interfaces/moe_base.py:45
Method
transform_moe_mlp_2_param
Converts param to same data type as input and output. Parameters: param (torch.Tensor): Weight or bias tensor.
deepspeed/inference/v2/modules/implementations/moe/cutlass_multi_gemm.py:146
Method
transform_param
(self, param: torch.Tensor)
deepspeed/inference/v2/modules/implementations/post_norm/cuda_post_ln.py:44
Method
transform_param
Converts param to same data type as input and output. Parameters: param (torch.Tensor): Weight or bias tensor.
deepspeed/inference/v2/modules/implementations/linear/blas_fp_linear.py:74
Method
transform_param
Converts param to same data type as input and output. Parameters: param (torch.Tensor): Weight or bias tensor.
deepspeed/inference/v2/modules/implementations/linear/quantized_linear.py:160
Method
transform_param
(self, param: torch.Tensor)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_rms.py:54
Method
transform_param
(self, param: torch.Tensor)
deepspeed/inference/v2/modules/implementations/pre_norm/cuda_pre_ln.py:51
Method
transform_param
Perform any necessary transformations on an embedding parameter. This module assumes that all embedding parameters would require the
deepspeed/inference/v2/modules/interfaces/embedding_base.py:36
Method
transform_param
Transform a gamma/beta parameter. It is assumed that both transformations are the same. Parameters: param (torch
deepspeed/inference/v2/modules/interfaces/pre_norm_base.py:42
Method
transform_param
Transform a gamma/beta parameter. It is assumed that both transformations are the same. Parameters: param (torch
deepspeed/inference/v2/modules/interfaces/post_norm_base.py:37
Method
transformer_params
(self)
deepspeed/inference/v2/model_implementations/inference_policy_base.py:36
Function
translation_assert
(x, y)
tests/unit/inference/test_inference.py:221
Method
transpose
(self)
deepspeed/module_inject/containers/base_moe.py:76
Method
transpose
(self)
deepspeed/module_inject/containers/features/meta_tensor.py:46
Method
transpose
(self)
deepspeed/module_inject/containers/features/megatron.py:27
Method
tune
(self, sample_size=1, n_trials=1000, early_stopping=None)
deepspeed/autotuning/tuner/base_tuner.py:38
Function
two_argument_pass
(gm, real_inputs)
tests/unit/compile/test_tp_compile.py:846
Method
uattn_wrapper
( module: torch.nn.Module, query: torch.Tensor, key: torch.Tensor,
deepspeed/runtime/sequence_parallel/ulysses_sp.py:517
Function
unavailable_cpuinfo
()
tests/unit/v1/ops/test_reflow_cpu_optimizers.py:85
Function
unavailable_event
(self)
tests/unit/v1/zero/test_zero.py:1930
Method
unpack_hook
(packed)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:63
Method
unpin_after_copy
(buffer)
tests/unit/v1/zero/test_reflow.py:818
Method
unregister_grad_acc_post_hooks
Remove all registered gradient accumulation post hooks.
deepspeed/runtime/base_optimizer.py:118
Method
unregister_grad_acc_post_hooks
Remove all registered gradient accumulation post hooks.
deepspeed/runtime/base_optimizer.py:479
Method
unregister_host_memory
(self, address)
tests/unit/v1/pin_memory/test_pin_memory.py:145
Method
unregister_host_memory
(self, address)
tests/unit/v1/pin_memory/test_pin_memory.py:409
Method
unregister_host_memory
(self, address)
accelerator/supa_accelerator.py:70
Method
unregister_host_memory
(self, address)
accelerator/xpu_accelerator.py:450
Method
unregister_host_memory
(self, address)
accelerator/cuda_accelerator.py:349
Method
unregister_host_memory
Unregister host memory previously registered with the device runtime.
accelerator/abstract_accelerator.py:297
Method
update
( self, key_states: torch.Tensor, value_states: torch.Tensor, layer_idx: int,
deepspeed/utils/static_cache.py:375
Method
update
(self)
deepspeed/autotuning/tuner/model_based_tuner.py:116
Method
update
Updated the running min and max used to calculate params. Function Arguments : val : The __half2 value to update the running min and max w
csrc/includes/quantization_utils.h:226
Method
update_epoch_count
(self)
deepspeed/utils/timer.py:242
Method
update_fp32_grad_for_param_vectorized
(self, update_func, param_list)
deepspeed/runtime/reflow/reflow_stage3.py:1971
Function
update_gradient_callback
(old_value, param)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:417
Method
update_hook_state_and_maybe_run_epilogue
Update hook state after a gradient hook fires and run epilogue if all hooks have fired. With reentrant gradient checkpointing, count_used_par
deepspeed/runtime/base_optimizer.py:232
Method
update_hp
(self)
deepspeed/utils/tensor_fragment.py:30
Method
update_lp
(self)
deepspeed/utils/tensor_fragment.py:33
Method
update_lp_params
(self)
deepspeed/runtime/zero/stage_1_and_2.py:3299
Function
update_max_memory
(name)
deepspeed/compile/passes/offload_adam_states.py:338
Function
update_param_grad_buffer
csrc/compile/z1.cpp:130
Function
update_param_values_with_dict
(model, value_dict)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:411
Function
update_selected_channels
(optimizer_z3: "DeepSpeedZeroOptimizer_Stage3", params_to_update, grad_partitions)
deepspeed/runtime/zenflow/engine_stage3.py:152
Method
update_state
csrc/includes/reflow_cpu_adam.h:118
Method
update_state
csrc/includes/reflow_cpu_lion.h:112
Method
update_state
csrc/includes/cpu_adagrad.h:46
Method
update_state
csrc/includes/cpu_adam.h:130
Method
update_state
csrc/xpu/includes/cpu_adagrad.h:50
Method
update_wa_env_var
(key, value)
accelerator/hpu_accelerator.py:36
Function
upsample_load_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:535
Method
use_host_timers
(self)
accelerator/supa_accelerator.py:24
Method
use_host_timers
(self)
accelerator/sdaa_accelerator.py:56
Method
use_host_timers
(self)
accelerator/cpu_accelerator.py:185
Method
use_host_timers
(self)
accelerator/mlu_accelerator.py:26
Method
use_host_timers
(self)
accelerator/npu_accelerator.py:60
Method
use_host_timers
(self)
accelerator/xpu_accelerator.py:192
Method
use_host_timers
(self)
accelerator/cuda_accelerator.py:54
Method
use_host_timers
(self)
accelerator/mps_accelerator.py:37
Method
use_host_timers
(self)
accelerator/abstract_accelerator.py:23
Function
user_script_fp
(tmpdir)
tests/unit/launcher/test_user_args.py:38
Function
val1
(request)
tests/unit/comm/test_dist.py:85
Function
val2
(request)
tests/unit/comm/test_dist.py:90
Method
val_dataloader
(self)
tests/lightning/test_simple.py:53
Method
valid
Returns whether access is valid or not
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:620
Method
valid
Returns whether access is valid or not
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1338
Method
valid
Returns whether access is valid or not
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1540
Method
valid
Returns whether access is valid or not
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1747
Method
valid
Returns whether access is valid or not
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1954
Method
validate
(zero_stage=1, tp_size=1, **settings)
tests/unit/v1/moe/test_autoep_expert_activation.py:990
Method
validate
csrc/gds/deepspeed_gds_op.cpp:112
Method
validate
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:81
Method
validate_active_resources
Check a resolved --include/--exclude filter against what this backend can express. runner.main() calls this before it picks between a local a
deepspeed/launcher/multinode_runner.py:55
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:147
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:208
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:469
Function
validate_ds_config
(config: dict)
deepspeed/autotuning/utils.py:183
Method
validate_dtype
(cls, field_value, values)
deepspeed/inference/config.py:306
Method
validate_fields
(self)
deepspeed/runtime/zenflow/zenflow_config.py:53
Function
validate_files
(file_list)
deepspeed/checkpoint/reshape_utils.py:28
Method
validate_files
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:328
Function
validate_local_param_values_with_dict
(model, value_dict)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:467
Function
validate_param_values_with_dict
(model, value_dict)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:430
Method
validate_then_stop
(*args, **kwargs)
tests/unit/v1/moe/test_autoep_expert_activation.py:446
Method
validate_torch_op_version
(self, torch_info)
op_builder/builder.py:567
← previous
next →
15,201–15,300 of 15,468, ranked by callers