MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

Methodrange_push
(self, msg, domain=None, category=None)
accelerator/cuda_accelerator.py:244
Methodrange_push
(self, msg, domain=None, category=None)
accelerator/mps_accelerator.py:184
Methodrange_push
(self, msg, domain=None, category=None)
accelerator/abstract_accelerator.py:191
Methodread
(self, args, tid, loop_id)
deepspeed/nvme/ds_aio_handle.py:33
Methodread
(self, args, tid)
deepspeed/nvme/torch_fastio_engine.py:30
Methodread
(self, args, tid, loop_id)
deepspeed/nvme/ds_aio_basic.py:25
Methodread
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:99
Methodread
(self, args, tid, loop_id)
csrc/aio/py_test/ds_aio_handle.py:28
Methodread
(self, args, tid)
csrc/aio/py_test/torch_fastio_engine.py:30
Methodread
(self, args, tid, loop_id)
csrc/aio/py_test/ds_aio_basic.py:25
FunctionreadAs
csrc/includes/simd.h:22
Functionread_operation
(pool_params)
deepspeed/nvme/io_engine.py:45
Functionread_operation
(pool_params)
csrc/aio/py_test/io_engine.py:45
Methodrebuild_param_if_necessary
(v)
deepspeed/compile/profilers/graph_profile.py:281
Functionrecord
(*args, **kwargs)
tests/unit/v1/sequence_parallelism/test_liger_vocab_parallel_cross_entropy.py:33
Methodrecord
(self, stream)
tests/unit/v1/zero/test_zero2_gradient_safety.py:240
Methodrecord_backward_start
()
tests/unit/v1/compile/test_z3_eager_fallback.py:225
Methodrecord_compile
(module, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:1289
Functionrecord_conversion
(checkpoint_dir, output_dir, **kwargs)
tests/unit/checkpoint/test_convert_checkpoint.py:91
Methodrecord_create
(**kwargs)
tests/unit/v1/moe/test_autoep_unit.py:466
Methodrecord_gather
(output_tensor, input_tensor, *args, **kwargs)
tests/unit/v1/ops/muon/test_muon.py:273
Functionrecord_handler
(handler)
tests/unit/v1/compile/test_list_schedule.py:612
Methodrecord_synchronize
()
tests/unit/v1/pin_memory/test_destroy_unpin.py:176
Methodrecord_validate
(config, world_size, pp_size, tp_size, sp_size)
tests/unit/v1/moe/test_autoep_unit.py:458
Functionrecord_z3_eager_fallback_param
(param)
deepspeed/compile/z3_eager_fallback.py:25
Functionrecv
(*args, **kwargs)
tests/unit/checkpoint/test_fp32_master_only.py:230
Functionrecv
(tensor, src_stage, async_op=False)
deepspeed/runtime/pipe/p2p.py:67
Functionrecv
(tensor, src=None, group=None, tag=0, prof=False, log_name='recv', debug=get_caller_func())
deepspeed/comm/comm.py:397
Methodrecv
(self, tensor, src=None, group=None, tag=0)
deepspeed/comm/torch.py:518
Methodrecv_backward
(phase)
deepspeed/runtime/pipe/schedule.py:382
Methodrecv_forward
(phase)
deepspeed/runtime/pipe/schedule.py:372
Functionrecv_obj
Receive an arbitrary python object from ``sender``. WARN: This incur a CPU <-> GPU transfers and should be used sparingly for performance rea
deepspeed/runtime/pipe/p2p.py:119
Methodreduce
(self, tensor, dst, op=ReduceOp.SUM, group=None, async_op=False)
deepspeed/comm/torch.py:364
MethodreduceGrad
csrc/includes/deepcompile.h:503
MethodreduceSameRow
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:108
MethodreduceSameRow
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:163
MethodreduceSameRow
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:237
Functionreduce_block_into_lanes
csrc/includes/type_shim.h:83
Functionreduce_block_into_lanes
csrc/xpu/includes/type_shim.h:84
Functionreduce_budget_inputs
(tensor, op, group=None)
tests/unit/v1/compile/test_list_schedule.py:149
Functionreduce_comm_off
(flag=False)
deepspeed/comm/torch.py:123
Methodreduce_counter
(*a, **k)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:410
Functionreduce_from_tp_region_fake
(input: torch.Tensor)
deepspeed/compile/custom_ops/tp_collectives.py:47
Functionreduce_grad
csrc/compile/deepcompile.cpp:105
Functionreduce_grad_meta
csrc/compile/deepcompile.cpp:117
Methodreduce_gradients_at_owner
(param_list=None, hierarchy=0)
deepspeed/runtime/zero/partition_parameters.py:1623
Methodreduce_leaf_module_grads
(module, grad_input, grad_output)
deepspeed/runtime/zero/stage3.py:1590
Methodreduce_partition_and_remove_grads
(*notneeded)
deepspeed/runtime/zero/stage3.py:1561
Methodreduce_prompt_batch
(_module, args, kwargs)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:1374
Methodreduce_scatter
(self, output, input_list, op=ReduceOp.SUM, group=None, async_op=False)
deepspeed/comm/torch.py:373
Functionreduce_scatter_fn
(output_tensor, tensor, op=ReduceOp.SUM, gro
deepspeed/comm/comm.py:275
Functionreduce_scatter_sequence_fake
(input: torch.Tensor, dim: int)
deepspeed/compile/custom_ops/all_to_all.py:134
Methodreduce_scatter_tensor
(self, output_tensor, input_tensor, op=ReduceOp.SUM, group=None, async_op=False)
deepspeed/comm/torch.py:477
Methodreenter_backward_if_needed
Re-enter backward context for subsequent phases in reentrant checkpointing. With reentrant gradient checkpointing, gradient hooks can fire in
deepspeed/runtime/base_optimizer.py:187
Functionreference_implementation
(hidden_states: torch.Tensor, weight: torch.Tensor, bias: Optional[torch.Tensor],
tests/unit/inference/v2/modules/test_quantized_linear_module.py:19
Methodreference_step
()
tests/unit/runtime/pipe/test_pipe.py:334
Methodrefresh_fp32_params
(self)
deepspeed/runtime/zero/stage_1_and_2.py:3662
Methodrefresh_fp32_params
(self)
deepspeed/runtime/fp16/fused_optimizer.py:488
Methodrefresh_fp32_params
(self)
deepspeed/runtime/fp16/unfused_optimizer.py:371
Functionrefuse_walk
(self)
tests/unit/checkpoint/test_affine_shard_map.py:501
Functionregister_arg
(n: Node)
deepspeed/compile/list_schedule.py:246
Methodregister_grad_acc_post_hook
Register a callback to run when all gradient hooks have fired.
deepspeed/runtime/base_optimizer.py:114
Functionregister_graph_z1
csrc/compile/z1.cpp:109
Functionregister_graph_z2
csrc/compile/z2.cpp:105
Functionregister_graph_z3
csrc/compile/z3.cpp:478
Methodregister_host_memory
(self, address, num_bytes)
tests/unit/v1/pin_memory/test_pin_memory.py:141
Methodregister_host_memory
(self, address, num_bytes)
accelerator/supa_accelerator.py:65
Methodregister_host_memory
(self, address, num_bytes)
accelerator/xpu_accelerator.py:400
Methodregister_host_memory
(self, address, num_bytes)
accelerator/cuda_accelerator.py:344
Methodregister_host_memory
Register page-locked host memory with the active device runtime.
accelerator/abstract_accelerator.py:293
Methodregister_module
Register a module with this registry.
deepspeed/inference/v2/modules/module_registry.py:49
Methodregister_module_hooks
(module, ignore_list)
deepspeed/profiling/flops_profiler/profiler.py:88
Functionregister_param
csrc/compile/z1.cpp:121
Functionregister_z3_param
csrc/compile/z3.cpp:493
Methodrelative_error
(got)
tests/unit/v1/moe/test_autoep_expert_activation.py:454
Methodrelease_backward_leftovers
Release leftover submodules whose post-backward hook never fired (e.g. a no-grad block input): drain the backward stack and release as the mis
deepspeed/runtime/zero/partitioned_param_coordinator.py:554
Methodrelease_grad_buffers
(self)
deepspeed/compile/init_z1_and_2.py:31
Methodrelease_memory
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:83
Methodrelease_memory
Delete module parameters if they exist and point them back to the container. The primary purpose of this is for TP-inference with ZeR
deepspeed/module_inject/containers/features/hybrid_engine.py:111
Methodrelease_mlp
(self)
deepspeed/module_inject/containers/features/gated_mlp.py:60
Functionrelease_param
csrc/compile/z3.cpp:619
Functionrelease_param_meta
csrc/compile/z3.cpp:626
Methodrelease_qkv
(self)
deepspeed/module_inject/containers/features/split_qkv.py:51
Methodrelease_tensor
(self, tensor)
deepspeed/runtime/zero/contiguous_memory_allocator.py:97
Methodrelease_tensor_with_id
(self, tensor_id)
deepspeed/runtime/zero/contiguous_memory_allocator.py:108
Methodrelease_workspace
(self)
deepspeed/ops/transformer/inference/op_binding/workspace.py:122
Methodrelease_workspace_fallback
(self)
deepspeed/ops/transformer/inference/op_binding/workspace.py:225
Methodreload
(self, in_place)
deepspeed/compile/util.py:412
Methodreload
csrc/includes/deepcompile.h:443
Functionreload_adam_states
Move optimizer states to device. Note that this assumes the state structure of DeepSpeed Adam.
deepspeed/runtime/utils.py:1252
Functionreload_parameter
csrc/compile/z3.cpp:671
Functionreload_parameter_meta
csrc/compile/z3.cpp:682
Methodreload_states
(self, non_blocking: bool = False)
deepspeed/runtime/zero/stage3.py:4074
Methodreload_states
Reload previously offloaded optimizer states from CPU back to GPU. Args: non_blocking (bool, optional):
deepspeed/runtime/zero/stage_1_and_2.py:4052
Functionreload_tensor
csrc/compile/z3.cpp:646
Methodremove_buffer_from_registry
csrc/gds/py_lib/deepspeed_gds_op.cpp:79
Functionremove_file
(test_id, filename)
tests/model/Megatron_GPT2/run_checkpoint_test.py:21
Functionremove_folder
(folder)
deepspeed/nvme/perf_run_sweep.py:258
Functionremove_folder
(folder)
csrc/aio/py_test/aio_bench_perf_sweep.py:245
Functionremove_pad
(t)
tests/unit/checkpoint/test_universal_checkpoint.py:56
← previousnext →10,601–10,700 of 14,579, ranked by callers