Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1942
Method
enable_mask
< Efficiently enables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:457
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:337
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:588
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1017
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1263
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1471
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1692
Method
enable_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1898
Function
enable_profiling
csrc/compile/deepcompile.cpp:39
Function
enable_triton
(request)
tests/unit/inference/test_inference.py:141
Method
endBackward
csrc/includes/deepcompile.h:495
Method
endBackward
csrc/compile/z3.cpp:51
Function
end_backward
csrc/compile/deepcompile.cpp:196
Function
end_backward_meta
csrc/compile/deepcompile.cpp:207
Method
end_document
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:602
Function
end_forward
csrc/compile/deepcompile.cpp:186
Method
end_time_hook
(module, input, output)
deepspeed/profiling/flops_profiler/profiler.py:123
Method
engine
()
tests/unit/runtime/half_precision/test_dynamic_loss_scale.py:363
Method
engine_config
The engine config.
deepspeed/inference/v2/model_implementations/inference_model_base.py:161
Function
ensure_directory_exists
Create the directory path to ``filename`` if it does not already exist. Args: filename (str): A file path.
deepspeed/runtime/utils.py:113
Function
entropy_backward
(logits, global_max, log_sum_exp, entropy, grad_output)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:395
Function
entropy_stats
``[3, rows]``: the local max, the sum-exp and the exp-weighted sum of centred logits.
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:380
Method
ep_parser
(self)
tests/unit/v1/moe/test_autoep_autotp_deepcompile_reject.py:43
Function
estimate_zero2_model_states_mem_needs_all_live
Print out estimates on memory usage requirements for ZeRO 2 params, optim states and gradients for a given ``model`` and hardware setup.
deepspeed/runtime/zero/stage_1_and_2.py:4201
Function
estimate_zero3_model_states_mem_needs_all_live
Print out estimates on memory usage requirements for ZeRO 3 params, optim states and gradients for a given ``model`` and hardware setup.
deepspeed/runtime/zero/stage3.py:4540
Method
eval
(self)
deepspeed/runtime/hybrid_engine.py:453
Method
eval_batch
(self, data_iter, return_logits=False, compute_loss=T
deepspeed/runtime/pipe/dualpipev.py:143
Function
exchange
(output, input_, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:1933
Method
exchange_and_square
(tensor)
tests/unit/ulysses_alst/test_dim_zero_all_to_all.py:35
Function
exclude_from_act_offload
(node: Node)
deepspeed/compile/util.py:155
Method
exec
(self, *args, **kwargs)
ci/test_torch_latest.py:256
Method
exec_func
(*inputs)
deepspeed/runtime/pipe/module.py:354
Method
exec_range_func
Helper function to be used with checkpoint() Adapted from torch.utils.checkpoint:checkpoint_sequential()
deepspeed/runtime/pipe/module.py:348
Method
exists
(path)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:567
Method
exit_backward
Exit backward context. Call at the end of backward pass.
deepspeed/runtime/base_optimizer.py:157
Method
expand_prompt_output
(_module, _args, _kwargs, output)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:1739
Method
experiment
(self)
deepspeed/monitor/comet.py:50
Method
export_envs
(self)
accelerator/supa_accelerator.py:277
Method
export_envs
(self)
accelerator/sdaa_accelerator.py:298
Method
export_envs
(self)
accelerator/cpu_accelerator.py:510
Method
export_envs
(self)
accelerator/mlu_accelerator.py:270
Method
export_envs
(self)
accelerator/npu_accelerator.py:339
Method
export_envs
(self)
accelerator/xpu_accelerator.py:507
Method
export_envs
(self)
accelerator/klxpu_accelerator.py:71
Method
export_envs
(self)
accelerator/cuda_accelerator.py:423
Method
export_envs
(self)
accelerator/mps_accelerator.py:293
Method
export_envs
(self)
accelerator/abstract_accelerator.py:408
Function
extent_column
Extent of the matrix in columns
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:781
Function
extent_column
Extent of the matrix in columns
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:628
Function
extent_row
Extent of the matrix in rows
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:777
Function
extent_row
Extent of the matrix in rows
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:624
Method
extra_ldflags
(self)
op_builder/fp_quantizer.py:27
Method
extra_ldflags
(self)
op_builder/random_ltd.py:20
Method
extra_ldflags
(self)
op_builder/gds.py:40
Method
extra_ldflags
(self)
op_builder/ragged_utils.py:37
Method
extra_ldflags
(self)
op_builder/inference_core_ops.py:47
Method
extra_ldflags
(self)
op_builder/inference_cutlass_builder.py:52
Method
extra_ldflags
(self)
op_builder/transformer.py:20
Method
extra_ldflags
(self)
op_builder/evoformer_attn.py:30
Method
extra_ldflags
(self)
op_builder/transformer_inference.py:35
Method
extra_ldflags
(self)
op_builder/ragged_ops.py:66
Method
extra_ldflags
(self)
op_builder/npu/no_impl.py:29
Method
extra_ldflags
(self)
op_builder/npu/async_io.py:56
Method
extra_ldflags
(self)
op_builder/npu/builder.py:92
Method
extra_ldflags
(self)
op_builder/klxpu/no_impl.py:27
Method
extra_ldflags
(self)
op_builder/xpu/no_impl.py:29
Method
extra_ldflags
(self)
op_builder/xpu/async_io.py:58
Method
extra_ldflags
(self)
op_builder/xpu/flash_attn.py:41
Method
extra_ldflags
(self)
op_builder/sdaa/no_impl.py:55
Method
extra_ldflags
(self)
op_builder/cpu/async_io.py:44
Method
extra_ldflags
(self)
op_builder/cpu/comm.py:37
Method
extra_ldflags
(self)
op_builder/supa/no_impl.py:28
Method
extra_ldflags
(self)
op_builder/mlu/no_impl.py:30
Method
extra_repr
(self)
tests/unit/modeling.py:140
Method
extra_repr
(self)
tests/unit/modelingpreln.py:139
Method
extra_repr
(self)
deepspeed/runtime/zero/linear.py:224
Method
extra_repr
(self)
deepspeed/module_inject/layers.py:642
Method
extract_expert_grad
(model, expert_id)
tests/unit/v1/moe/test_moe.py:593
Function
extract_zero_shards
(dir, ds_checkpoint, indices_3D)
deepspeed/checkpoint/ds_to_universal.py:132
Function
f
(x)
tests/unit/v1/compile/test_offload_opt_states.py:167
Function
fail_after_native_init
(*_)
tests/unit/compile/test_zero3_grad_dtype.py:400
Method
fail_after_write
(*args)
tests/unit/v1/zero/test_reflow.py:693
Function
fail_all_reduce
(*args, **kwargs)
tests/unit/v1/compile/test_list_schedule.py:94
Function
fail_clear
()
tests/unit/v1/compile/test_graph_profile.py:176
Method
fail_collective
(*args, **kwargs)
tests/unit/v1/compile/test_compile_autosp.py:1423
Method
fail_collective
(*args, **kwargs)
tests/unit/v1/moe/test_moe.py:368
Function
fail_compile
(**_)
tests/unit/compile/test_zero3_grad_dtype.py:444
Method
fail_drain
()
tests/unit/v1/moe/test_autoep_unit.py:2045
Method
fail_expert
(*_args, **_kwargs)
tests/unit/v1/moe/test_autoep_unit.py:1680
Function
fail_initialize_mesh_device
(*args, **kwargs)
tests/unit/v1/autotp/test_autotp_training.py:77
Method
fail_native_handle
()
tests/unit/v1/compile/test_compile_autosp.py:812
Method
fail_new_group
(ranks)
tests/unit/v1/compile/test_compile_autosp.py:760
Function
fail_npurt
()
tests/unit/v1/pin_memory/test_pin_memory.py:569
Function
fail_nvcc_args
()
tests/unit/ops/test_op_builder.py:120
Method
fail_on_one_rank
(*args, **kwargs)
tests/unit/v1/zero/test_reflow.py:2508
Method
fail_packing
(*args, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:2017
Method
fail_second_compile
(module, **kwargs)
tests/unit/v1/moe/test_autoep_unit.py:1404
Method
fail_weight_gradients
()
tests/unit/module_inject/test_auto_ep_comm.py:975
Function
fake_add_needs_realized_inputs
(_op_overload)
tests/unit/v1/compile/test_list_schedule.py:607
← previous
next →
9,001–9,100 of 15,468, ranked by callers