MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:42
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:41
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:47
Methodmax_sequence_length
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:41
Methodmaybe_allocate_kv
See ``DSInferenceModelBase.maybe_allocate_kv`` for documentation. This method assumes an autoregressive dense attention pattern. Ove
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:436
Methodmaybe_allocate_kv
Given a sequence and the number of new tokens in the sequence, determine whether or not additional KV-storage is needed and allocate
deepspeed/inference/v2/model_implementations/inference_model_base.py:207
Methodmaybe_install_capturing_hooks
(installed_model)
tests/unit/v1/moe/test_autoep_unit.py:2506
Functionmaybe_out_of_memory
(x)
tests/unit/v1/compile/test_graph_profile.py:312
Functionmaybe_remap_client_optimizer
Reflow's ZeRO-3 optimizer requires a Reflow CPU optimizer subclass (ReflowCPUAdam or ReflowCPULion). If a client passed a plain DeepSpeedCPUAdam /
deepspeed/runtime/reflow/engine.py:60
Methodmean
Mean elapsed time in ms of all intervals since the last reset.
deepspeed/utils/timer.py:117
Functionmemcpy_async
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:923
Functionmemcpy_async
csrc/includes/memory_access_utils.h:952
Functionmemcpy_async_cg
Cache global variants. Separate interface to require deliberate use of them.
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:982
Functionmemcpy_async_cg
Cache global variants. Separate interface to require deliberate use of them.
csrc/includes/memory_access_utils.h:1011
Functionmemcpy_async_fence
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1031
Functionmemcpy_async_fence
csrc/includes/memory_access_utils.h:1060
Functionmemcpy_async_nop
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:934
Functionmemcpy_async_nop
csrc/includes/memory_access_utils.h:963
Functionmemcpy_async_nop_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:989
Functionmemcpy_async_nop_cg
csrc/includes/memory_access_utils.h:1018
Functionmemcpy_async_wait
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1034
Functionmemcpy_async_wait
csrc/includes/memory_access_utils.h:1063
Functionmemcpy_async_zero
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:950
Functionmemcpy_async_zero
csrc/includes/memory_access_utils.h:979
Functionmemcpy_async_zero_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1003
Functionmemcpy_async_zero_cg
csrc/includes/memory_access_utils.h:1032
Functionmemcpy_async_zero_nop
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:962
Functionmemcpy_async_zero_nop
csrc/includes/memory_access_utils.h:991
Functionmemcpy_async_zero_nop_cg
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:1013
Functionmemcpy_async_zero_nop_cg
csrc/includes/memory_access_utils.h:1042
Methodmemory_allocated
(self, device_index=None)
accelerator/cpu_accelerator.py:293
Methodmemory_allocated
(self, device_index=None)
accelerator/mps_accelerator.py:119
Methodmemory_allocated
(self, device_index=None)
accelerator/abstract_accelerator.py:121
Methodmemory_cached
(self, device_index=None)
accelerator/supa_accelerator.py:127
Methodmemory_cached
(self, device_index=None)
accelerator/sdaa_accelerator.py:148
Methodmemory_cached
(self, device_index=None)
accelerator/cpu_accelerator.py:304
Methodmemory_cached
(self, device_index=None)
accelerator/mlu_accelerator.py:118
Methodmemory_cached
(self, device_index=None)
accelerator/npu_accelerator.py:152
Methodmemory_cached
(self, device_index=None)
accelerator/xpu_accelerator.py:285
Methodmemory_cached
(self, device_index=None)
accelerator/cuda_accelerator.py:153
Methodmemory_cached
(self, device_index=None)
accelerator/mps_accelerator.py:131
Methodmemory_cached
(self, device_index=None)
accelerator/abstract_accelerator.py:133
Methodmemory_fence
Flush the non-temporal (streaming) stores so updated params/state are globally visible before a worker future completes. Called by the Reflow
deepspeed/runtime/reflow/reflow_cpu_lion.py:116
Methodmemory_reserved
(self, device_index=None)
accelerator/supa_accelerator.py:144
Methodmemory_reserved
(self, device_index=None)
accelerator/sdaa_accelerator.py:165
Methodmemory_reserved
(self, device_index=None)
accelerator/cpu_accelerator.py:326
Methodmemory_reserved
(self, device_index=None)
accelerator/mlu_accelerator.py:135
Methodmemory_reserved
(self, device_index=None)
accelerator/npu_accelerator.py:169
Methodmemory_reserved
(self, device_index=None)
accelerator/cuda_accelerator.py:170
Methodmemory_reserved
(self, device_index=None)
accelerator/mps_accelerator.py:150
Methodmemory_reserved
(self, device_index=None)
accelerator/abstract_accelerator.py:153
Methodmemory_stats
(self, device_index=None)
accelerator/supa_accelerator.py:136
Methodmemory_stats
(self, device_index=None)
accelerator/sdaa_accelerator.py:157
Methodmemory_stats
(self, device_index=None)
accelerator/cpu_accelerator.py:315
Methodmemory_stats
(self, device_index=None)
accelerator/mlu_accelerator.py:127
Methodmemory_stats
(self, device_index=None)
accelerator/npu_accelerator.py:161
Methodmemory_stats
(self, device_index=None)
accelerator/xpu_accelerator.py:294
Methodmemory_stats
(self, device_index=None)
accelerator/cuda_accelerator.py:162
Methodmemory_stats
(self, device_index=None)
accelerator/mps_accelerator.py:140
Methodmemory_stats
(self, device_index=None)
accelerator/abstract_accelerator.py:145
Functionmemory_status
(msg, print_rank=-1, reset_max=False)
deepspeed/runtime/utils.py:840
Methodmemory_usage
()
deepspeed/utils/timer.py:136
Functionmerge_contiguous_ranges
(ranges)
deepspeed/runtime/reflow/reflow_utils.py:431
Methodmerge_file_
(self, another_file)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:605
Methodmerge_gather_map_stats
(self, num_workers, num_threads, num_threads_reduce, t_idx_reduce, metric_save_path,
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:230
Methodmerge_metric_to_sample
(self, t_idx_reduce, metric_save_path, metric_name, sample_idx_dtype, metric_value_dtype,
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:258
Methodmerge_sample_to_metric
(self, t_idx_reduce, metric_save_path, metric_name, metric_value_dtype, map_wor
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:245
Methodmerge_state_dict
(self, mp_world_size, mp_rank, quan
deepspeed/runtime/state_dict_factory.py:299
Functionmerge_zero3_slices
(dp_degree, dir, slice_dir, name)
deepspeed/checkpoint/ds_to_universal.py:531
Methodmetadata_exchange
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_ulysses.py:943
Methodmetal_sources
(self)
op_builder/mps/fused_adam.py:110
Functionmixed_param_model
()
tests/unit/pipe/test_pipe_module.py:63
Methodmixtral
Mixtral MoE model.
deepspeed/module_inject/autotp_config.py:433
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/distil_bert.py:69
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/gptneo.py:135
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/clip.py:63
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/gpt2.py:50
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/bert.py:73
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/bloom.py:132
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/llama.py:205
Methodmlp
(self, moe_type='standard', enable_training=False)
deepspeed/module_inject/containers/megatron_gpt.py:84
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/gptneox.py:136
Methodmlp
(self, moe_type='standard', enable_training=False)
deepspeed/module_inject/containers/megatron_gpt_moe.py:60
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/internlm.py:168
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/gptj.py:122
Methodmlp
(self, enable_training=False)
deepspeed/module_inject/containers/llama2.py:145
Methodmlp_activation_fn
The activation function used in the MLP.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:165
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:91
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:86
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:86
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:76
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:90
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:86
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:87
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:92
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:82
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:95
Methodmlp_activation_fn
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:86
Functionmlp_forward_sequence_tiled_compute
(self, x)
tests/unit/ulysses_alst/test_tiled_compute.py:77
Functionmlp_forward_tiled_mlp
(self, x)
tests/unit/ulysses_alst/test_tiled_compute.py:63
← previousnext →10,501–10,600 of 15,468, ranked by callers