MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodload
(self, verbose=True)
op_builder/npu/fused_lamb.py:97
Methodload
(self, verbose=True)
op_builder/npu/fused_lion.py:69
Methodload
(self, verbose=True)
op_builder/npu/fused_adam.py:65
Methodload
(self, verbose=True)
op_builder/klxpu/no_impl.py:33
Methodload
(self, verbose=False)
op_builder/klxpu/async_io.py:70
Methodload
(self, verbose=True)
op_builder/klxpu/fused_adam.py:91
Methodload
(self, verbose=True)
op_builder/xpu/no_impl.py:20
Methodload
(self, verbose=False)
op_builder/xpu/async_io.py:83
Methodload
(self)
op_builder/xpu/flash_attn.py:47
Methodload
(self, verbose=True)
op_builder/xpu/builder.py:129
Methodload
(self, verbose=True)
op_builder/sdaa/no_impl.py:46
Methodload
(self, verbose=True)
op_builder/sdaa/fused_adam.py:66
Methodload
(self, verbose=True)
op_builder/hpu/fp_quantizer.py:31
Methodload
(self, verbose=True)
op_builder/hpu/no_impl.py:20
Methodload
(self, verbose=True)
op_builder/hpu/transformer_inference.py:31
Methodload
(self, verbose=True)
op_builder/hpu/fused_adam.py:104
Methodload
(self, verbose=True)
op_builder/cpu/no_impl.py:20
Methodload
(self, verbose=False)
op_builder/cpu/async_io.py:74
Methodload
(self, verbose=True)
op_builder/supa/no_impl.py:34
Methodload
(self, verbose=False)
op_builder/supa/async_io.py:70
Methodload
(self, verbose=True)
op_builder/supa/quantizer.py:77
Methodload
(self, verbose=True)
op_builder/supa/fused_lamb.py:80
Methodload
(self, verbose=True)
op_builder/supa/fused_lion.py:62
Methodload
(self, verbose=True)
op_builder/supa/inference.py:337
Methodload
(self, verbose=True)
op_builder/supa/fused_adam.py:82
Methodload
(self, verbose=True)
op_builder/mlu/no_impl.py:21
Methodload
(self, verbose=True)
op_builder/mlu/fused_adam.py:42
MethodloadDi
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1130
Functionload_16_bf16_as_f32
csrc/includes/simd.h:51
Functionload_4_bf16_as_f32
csrc/includes/simd.h:142
Methodload_config
(self, filename)
deepspeed/runtime/config.py:431
Methodload_module_recursive
(module, prefix='', level=0)
deepspeed/inference/engine.py:386
Methodload_module_state_dict
Override hack to instead use a directory path. This is important because pipeline models checkpoint by layer instead of rank. If ``s
deepspeed/runtime/pipe/engine.py:1318
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptneo.py:65
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/bloom.py:70
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/llama.py:131
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptneox.py:61
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/internlm.py:76
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptj.py:62
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/llama2.py:81
Methodload_params
Load all the transformer parameter from the checkpoint file (sd). In addition to the parameter names, we require two more par
deepspeed/module_inject/containers/features/meta_tensor.py:51
Methodload_state_dict
(self, state_dict)
deepspeed/ops/cpu_optimizer.py:21
Methodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:410
Methodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:779
Methodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:952
Methodload_state_dict
(self, state_dict)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:327
Methodload_state_dict
(self, state_dict)
deepspeed/runtime/data_pipeline/data_sampling/variable_batch_size_and_lr.py:264
Methodload_state_dict
(self, state_dict)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:100
Methodload_state_dict
Loads a state_dict created by an earlier call to state_dict(). If ``fp16_optimizer_instance`` was constructed from some ``init_optimi
deepspeed/runtime/fp16/unfused_optimizer.py:376
Methodload_state_dir
(self, *args, **kwargs)
deepspeed/runtime/pipe/dualpipev.py:83
Functionload_transformer_layer
(module, prefix)
deepspeed/module_inject/load_checkpoint.py:60
Methodload_with_byte_offset
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:354
Methodload_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:607
Methodload_with_byte_offset
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1034
Methodload_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1282
Methodload_with_byte_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1490
Methodload_with_pointer_offset
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:348
Methodload_with_pointer_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:600
Methodload_with_pointer_offset
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1028
Methodload_with_pointer_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1275
Methodload_with_pointer_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1483
Methodload_with_pointer_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1704
Methodload_with_pointer_offset
Loads a fragment from memory
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1910
Functionlocal_array
csrc/includes/quantization_utils.h:382
Functionlocal_softmax_stats
Per-row max of a ``[..., local_vocab]`` shard and ``sum(exp(z - max))`` relative to it.
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:372
Methodlog
Log a group of timers.
deepspeed/utils/timer.py:145
Methodlog_for_device
(self, *msg)
deepspeed/runtime/pipe/engine.py:669
Functionlog_rank_file
Print to a log file of the given rank This is useful for debugging hanging in sync processes. Here is a possible workflow: 1. Enable th
deepspeed/utils/debug.py:172
Functionlog_selective_optimizer_timers
(optimizer_z3: "DeepSpeedZeroOptimizer_Stage3")
deepspeed/runtime/zenflow/engine_stage3.py:368
Functionlog_summary
Print and/or return communication operation statistics across all ranks. This function synchronizes all ranks and logs communication statist
deepspeed/comm/comm.py:483
Functionlog_wrapper
(*args, **kwargs)
deepspeed/comm/comm.py:104
Functionlogprobs_backward
(logits, global_max, log_sum_exp, grad_sum, zero_grad_row, local_index, index_grad)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:402
Methodloss_and_grads
()
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:289
Methodloss_fn
(w, x)
tests/unit/v1/zero/test_zero_functorch_linear.py:78
Methodloss_fn
(model, x_shard, y_shard)
tests/unit/ulysses_alst/test_tiled_compute.py:457
Methodloss_function
(self, value)
tests/unit/v1/runtime/test_chunked_cross_entropy.py:358
Methodloss_function
(self)
tests/unit/v1/autotp/test_autotp_training.py:224
Methodloss_function
(self, value)
tests/unit/v1/autotp/test_autotp_training.py:231
Methodloss_scale
(self)
deepspeed/runtime/fp16/loss_scaler.py:153
Methodloss_sum
(module, ids, positions, labels)
tests/unit/v1/models/test_glm_moe_dsa.py:375
Functionmain
()
deepspeed/nvme/perf_run_sweep.py:309
Functionmain
()
deepspeed/nvme/perf_generate_param.py:92
Functionmain
( Q: T.Tensor(q_shape, dtype), # type: ignore KV: T.Tensor(kv_shape, dtype), # type:
deepspeed/models/glm_moe_dsa/kernels/sparse_mla_fwd.py:84
Functionmake_autoep_client_optimizer_config
AutoEP config with NO ``optimizer`` block, so the caller's own optimizer is the one used. bf16 deliberately, not the shared fp16 helper: fp16 car
tests/unit/v1/moe/autoep_test_utils.py:220
Functionmake_builder
(out_file, impl, vocab_size=None)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:60
Functionmake_bw_graph
(gm, sample_inputs)
deepspeed/compile/backend.py:412
Functionmake_dataset
(path, impl, skip_warmup=False)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:67
Functionmake_fw_graph
(gm, sample_inputs)
deepspeed/compile/backend.py:370
Methodmake_grad_allreduce_hook
(group)
deepspeed/module_inject/auto_tp.py:956
Methodmake_hook
(params)
deepspeed/runtime/zero/stage3.py:1588
Functionmake_model_config_filename
Make a filename for a model config file. Arguments: base: Base directory. Returns: str: Filename.
deepspeed/inference/v2/model_implementations/flat_model_helpers.py:87
Methodmake_moe_layer
Instantiates the MoE layer for the model. This sets the `self.moe` attribute.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:635
Methodmake_norm_layer
Instantiates the normalization layer for the model. This sets the `self.norm` attribute. TODO(cmikeh2): In the future we'll distingu
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:105
Methodmake_optimizer
(module)
tests/unit/runtime/zero/test_zero_adagrad.py:25
Functionmake_state_dict
(*args, **kwargs)
tests/unit/checkpoint/test_convert_checkpoint.py:69
Functionmanage_locked_tensors
()
tests/unit/v1/nvme/test_aio_gil.py:159
Methodmanual_seed
(self, seed)
accelerator/supa_accelerator.py:84
Methodmanual_seed
(self, seed)
accelerator/sdaa_accelerator.py:105
Methodmanual_seed
(self, seed)
accelerator/mlu_accelerator.py:75
Methodmanual_seed
(self, seed)
accelerator/npu_accelerator.py:109
← previousnext →9,901–10,000 of 14,579, ranked by callers