MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:530
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:565
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:615
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:662
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:1269
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:1545
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:2173
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:2353
Methodrun
(reflow)
tests/unit/v1/zero/test_reflow.py:2549
Methodrun
(use_no_sync, counts)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:403
Methodrun
(self, inputs, class_tmpdir, checkpoint_tag, mp_size, pp_size)
tests/unit/v1/autotp/test_configurable_parallel_pp.py:133
Methodrun
(self, inputs, class_tmpdir)
tests/unit/v1/autotp/test_configurable_parallel_mp.py:124
Methodrun
()
tests/unit/module_inject/test_hf_parity.py:61
Methodrun
()
tests/unit/module_inject/test_hf_parity.py:85
Methodrun
(self)
deepspeed/runtime/reflow/ready_batch.py:69
Methodrun
()
deepspeed/runtime/reflow/reflow_stage3.py:282
Methodrun
csrc/includes/reflow_ready.h:73
Methodrun
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:83
Methodrun
csrc/aio/py_lib/deepspeed_aio_thread.cpp:24
Functionrun_experiment
(exp: dict, reservations, user_script, user_args)
deepspeed/autotuning/scheduler.py:311
Methodrun_forward
(*inputs, **kwargs)
deepspeed/runtime/hybrid_engine.py:436
Methodrun_grad_acc_post_hooks
Run all registered post hooks if backward is active.
deepspeed/runtime/base_optimizer.py:483
Methodrun_node
(self, n: torch.fx.Node)
deepspeed/compile/profilers/graph_profile.py:466
Functionrun_opt_passes
(nz3, graph_index, graph_id, gm, c
deepspeed/compile/passes/__init__.py:11
Functionrun_peer
()
tests/unit/ops/aio/test_aio_handle.py:30
Functionrun_peer
()
tests/unit/v1/nvme/test_aio_gil.py:67
Functionrun_read
(index)
tests/unit/v1/nvme/test_aio_gil.py:119
Functionrun_reads
()
tests/unit/v1/nvme/test_aio_gil.py:151
Methodrun_step
csrc/adam/cpu_adam_impl.cpp:724
Methodrun_target
()
deepspeed/compile/profilers/graph_profile.py:332
Methodrun_zero
(stage, model_dtype)
tests/unit/runtime/half_precision/test_fp8.py:26
Functionrunner_info
()
tests/unit/launcher/test_multinode_runner.py:16
Functionrvv_adam_update
csrc/includes/rvv.h:62
Methodsafely_record_unpin
(tensor)
tests/unit/v1/pin_memory/test_destroy_unpin.py:180
Methodsamples_log_interval
(self)
deepspeed/monitor/comet.py:54
Methodsanity_check
(self, ckpt_file_name)
deepspeed/runtime/state_dict_factory.py:184
Methodsave
(self, state_dict, path: str)
deepspeed/runtime/checkpoint_engine/datastates_checkpoint_engine.py:35
Methodsave
(self, state_dict, path: str)
deepspeed/runtime/checkpoint_engine/torch_checkpoint_engine.py:30
Methodsave
(self, state_dict, path: str)
deepspeed/runtime/checkpoint_engine/decoupled_checkpoint_engine.py:153
Methodsave_args_for_backward
(*all_args)
deepspeed/runtime/activation_checkpointing/checkpointing.py:582
Methodsave_exp_results_to_database
Print message when one of following condition meets + not dist.is_initialized() + dist.get_rank() in ranks if ranks is not None or ra
deepspeed/autotuning/scheduler.py:186
Methodsave_fp16_model
has been renamed to save_16bit_model, keeping this around for backwards compatibility
deepspeed/runtime/engine.py:5889
Methodsave_state_dict
(self, *args, **kwargs)
deepspeed/runtime/pipe/dualpipev.py:78
Methodsave_torch_storage_object_list
(self, storage_obj_list, save_size)
deepspeed/io/fast_file_writer.py:89
Methodsave_torch_storage_object_list
(self, storage_obj_list, save_size)
deepspeed/io/mock_file_writer.py:35
Functionsave_without_random_ltd
(model)
deepspeed/runtime/data_pipeline/data_routing/helper.py:28
Methodscale_gradient
(self, module, grad_in, grad_out)
deepspeed/runtime/fp16/loss_scaler.py:156
Functionscan
(query, key, value, **kw)
deepspeed/module_inject/segment_ki.py:630
Methodscatter
(self, tensor, scatter_list=None, src=0, group=None, async_op=False)
deepspeed/comm/torch.py:583
Functionschedule_prefetch
(gm: GraphModule, graph_id: int, graph_order: List[Tuple[int, bool]], profiling_results,
deepspeed/compile/passes/prefetch.py:41
Methodscripted_forward
(_module, *args, **kwargs)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1340
Methodseed_everything
(seed=11)
tests/unit/v1/moe/test_moe.py:552
Methodseen_tokens
The number of tokens for this sequence that have completed a forward pass.
deepspeed/inference/v2/ragged/sequence_descriptor.py:14
Methodseen_tokens
(self)
deepspeed/inference/v2/ragged/sequence_descriptor.py:47
Methodseen_tokens
Number of tokens in the sequence that have completed a forward pass.
deepspeed/inference/v2/ragged/sequence_descriptor.py:136
Functionselect
(request)
tests/unit/checkpoint/test_affine_replica_policy.py:116
Functionselective_dequantize
csrc/fp_quantizer/fp_quantize.cpp:100
Methodselective_dequantize
(cls, val_q, scales, indexes, group_size, q_mantisa_bits, q_exponent_bits)
op_builder/hpu/fp_quantizer.py:52
Functionselective_gather
Persist high-value parameters only on the final backward graph and within measured headroom.
deepspeed/compile/passes/selective_gather.py:78
Functionselective_optimizer_step
(optimizer_z3: "DeepSpeedZeroOptimizer_Stage3")
deepspeed/runtime/zenflow/engine_stage3.py:142
MethodselfAttention_fp
(input, context, input_mask)
deepspeed/ops/transformer/inference/diffusers_attention.py:56
Functionsemantic_parameter_guard
(param)
deepspeed/compile/patch_fake_tensor.py:112
Functionsend
(tensor, dest_stage, async_op=False)
deepspeed/runtime/pipe/p2p.py:46
Functionsend
(tensor, dst, group=None, tag=0, prof=False, log_name='send', debug=get_caller_func())
deepspeed/comm/comm.py:391
Methodsend
(self, tensor, dst, group=None, tag=0)
deepspeed/comm/torch.py:546
Methodsend_backward
(phase)
deepspeed/runtime/pipe/schedule.py:387
Methodsend_forward
(phase)
deepspeed/runtime/pipe/schedule.py:377
Functionsend_obj
Send an arbitrary python object to ``dest``. Note: ``msg`` must be serializable by msgpack. WARN: This incurs a CPU -> GPU transfer and shou
deepspeed/runtime/pipe/p2p.py:96
Methodseq_batch_heads_hash
(d0, d1, h, offset_d0=0, offset_d1=0, offset_h=0)
tests/unit/v1/sequence_parallelism/test_ulysses.py:226
Functionseq_bias_add_add
csrc/spatial/csrc/pt_binding.cpp:58
Functionseq_bias_add_bias_add
csrc/spatial/csrc/pt_binding.cpp:81
Methodseq_len
(self)
deepspeed/runtime/rollout/base.py:89
Functionseq_unroll_bias_add
csrc/spatial/csrc/pt_binding.cpp:35
Functionsequential_model
()
tests/unit/pipe/test_pipe_module.py:27
Methodserialize
Serialize the model to a file. Arguments: save_path (str): Path to the file to serialize to.
deepspeed/inference/v2/engine_v2.py:251
Methodserialize_torch_dtype
(dtype: torch.dtype)
deepspeed/runtime/config_utils.py:116
MethodsetPersistent
csrc/includes/deepcompile.h:441
MethodsetUp
(self)
tests/model/BingBertSquad/BingBertSquad_run_func_test.py:39
MethodsetUp
(self)
tests/model/Megatron_GPT2/run_func_test.py:45
MethodsetUp
(self)
tests/model/Megatron_GPT2/run_checkpoint_test.py:51
MethodsetUp
(self)
tests/unit/module_inject/test_auto_ep_comm.py:134
MethodsetUp
(self)
tests/unit/module_inject/test_auto_ep_comm.py:868
MethodsetUp
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1064
MethodsetUp
(self)
tests/unit/module_inject/test_auto_ep_comm.py:1398
Methodset_attention
(self, qkvw, qkvb, dense_w, dense_b)
deepspeed/module_inject/containers/features/split_qkv.py:14
Methodset_attn_params_wo_copy
(self, Z3_enabled=False)
deepspeed/module_inject/containers/features/split_qkv.py:126
Methodset_batch_fn
Execute a post-processing function on input data. Args: fn (function): The function to run.
deepspeed/runtime/pipe/engine.py:650
Methodset_commit_info
(self, info: CheckpointCommitInfo)
deepspeed/runtime/checkpoint_engine/checkpoint_engine.py:53
Methodset_compile_backend
(self, backend)
accelerator/hpu_accelerator.py:324
Methodset_compile_backend
(self, backend)
accelerator/supa_accelerator.py:290
Methodset_compile_backend
(self, backend)
accelerator/sdaa_accelerator.py:311
Methodset_compile_backend
(self, backend)
accelerator/cpu_accelerator.py:525
Methodset_compile_backend
(self, backend)
accelerator/mlu_accelerator.py:283
Methodset_compile_backend
(self, backend)
accelerator/npu_accelerator.py:352
Methodset_compile_backend
(self, backend)
accelerator/xpu_accelerator.py:520
Methodset_compile_backend
(self, backend)
accelerator/cuda_accelerator.py:436
Methodset_compile_backend
(self, backend)
accelerator/mps_accelerator.py:308
Methodset_compile_backend
(self, backend)
accelerator/abstract_accelerator.py:424
Functionset_cores
n logical CPUs; the physical core count and the affinity mask default to n.
tests/unit/ops/adam/test_cpu_adam_threads.py:17
Methodset_current_seq
(self, seq_length)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:71
← previousnext →11,301–11,400 of 15,468, ranked by callers