MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

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_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
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:528
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
Methodmlp_gemm_bf16
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/npu/inference.py:439
Methodmlp_gemm_bf16
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/supa/inference.py:234
Methodmlp_gemm_fallback
(self, input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps,
deepspeed/ops/transformer/inference/op_binding/mlp_gemm.py:44
Methodmlp_gemm_fp16
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/npu/inference.py:432
Methodmlp_gemm_fp16
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/supa/inference.py:227
Methodmlp_gemm_fp32
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/npu/inference.py:446
Methodmlp_gemm_fp32
(input, residual, input_bias, weight_interm, weight_out, bias, gamma, beta, eps, pre_layer_norm,
op_builder/supa/inference.py:241
Functionmlp_gemm_func
(input, residual, input_bias, weight_interm,
deepspeed/ops/transformer/inference/triton/ops.py:54
Functionmlp_unfused_cublas
csrc/transformer/inference/csrc/pt_binding.cpp:1390
Methodmock_logger_info
(message, *args, **kwargs)
tests/unit/checkpoint/test_zero_optimizer.py:734
Methodmock_logger_info
(msg, *args, **kwargs)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:386
Functionmock_logger_warning
(message, *args, **kwargs)
tests/unit/checkpoint/test_zero_optimizer.py:697
Methodmock_unscale_and_clip_grads
(total_norm, apply_scale=True)
tests/unit/runtime/half_precision/test_fp16.py:194
Methodmodel_config
The model config.
deepspeed/inference/v2/model_implementations/inference_model_base.py:154
Methodmodel_dim
Size of embedding projection and residuals.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:86
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:58
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:53
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:53
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:43
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:54
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:53
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:53
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:54
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:53
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:59
Methodmodel_dim
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:53
Methodmodel_has_safetensors
(model_name_or_path: str)
deepspeed/inference/v2/checkpoint/huggingface_engine.py:48
Functionmodel_name
(request)
tests/unit/inference/test_checkpoint_sharding.py:50
Functionmodel_parallel_cuda_manual_seed
Initialize model parallel cuda seed. This function should be called after the model parallel is initialized. Also, no get_accelerator().manua
deepspeed/runtime/activation_checkpointing/checkpointing.py:211
Functionmodel_parallel_reconfigure_tp_seed
(seed)
deepspeed/runtime/activation_checkpointing/checkpointing.py:252
Functionmodel_w_task
(request)
tests/unit/inference/test_inference.py:126
Methodmodule_matches
(module: nn.Module)
deepspeed/module_inject/auto_ep_presets/base.py:450
Methodmodule_matches
(module: nn.Module)
deepspeed/module_inject/auto_ep_presets/qwen3_5_moe.py:78
Methodmodule_state_dict
Override hack to save a pipe model and return the directory path of the save. This method should only be called by DeepSpeed's ``save_checkpo
deepspeed/runtime/pipe/engine.py:1299
Methodmoe_backward_compat
(cls, field_value, values)
deepspeed/inference/config.py:314
Functionmoe_gather
Re-gather the outputs of MoE and scale them by the gating score. */
deepspeed/inference/v2/kernels/ragged_ops/moe_gather/moe_gather.cpp:28
Functionmoe_res_matmul
csrc/transformer/inference/csrc/pt_binding.cpp:1908
Methodmoe_res_matmul_fallback
(cls, residual, coef, output)
deepspeed/ops/transformer/inference/op_binding/moe_res_matmul.py:23
← previousnext →10,101–10,200 of 14,579, ranked by callers