MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

Method__enter__
(self)
deepspeed/runtime/zero/partition_parameters.py:353
Method__enter__
(self)
deepspeed/runtime/zero/partition_parameters.py:2420
Method__enter__
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:379
Method__enter__
Enter the context manager. If enabled, gather parameters for the replaced module.
deepspeed/module_inject/layers.py:885
Method__eq__
(self, other)
deepspeed/checkpoint/affine.py:148
Method__exit__
(self, type, value, traceback)
tests/unit/common.py:566
Method__exit__
(self, *_)
tests/unit/util.py:123
Method__exit__
(self, *exc)
tests/unit/util.py:260
Method__exit__
(self, *exc)
tests/unit/util.py:340
Method__exit__
(self, *args)
tests/unit/v1/zero/test_zero_coalesce_grad_reduction.py:82
Method__exit__
(self, exc_type, exc, traceback)
tests/unit/v1/compile/test_graph_profile.py:21
Method__exit__
(self, *exc)
tests/unit/v1/moe/test_autoep_unit.py:191
Method__exit__
(self, exc_type, exc_value, traceback)
tests/unit/module_inject/test_hybrid_megatron.py:23
Method__exit__
(self, exc_type, exc_value, traceback)
deepspeed/utils/init_on_device.py:74
Method__exit__
(self, *args, **kwargs)
deepspeed/linear/context_manager.py:87
Method__exit__
(self, exc_type, exc_val, exc_tb)
deepspeed/runtime/utils.py:110
Method__exit__
(self, exc_type, exc_value, traceback)
deepspeed/runtime/zero/partition_parameters.py:365
Method__exit__
(self, *exc)
deepspeed/runtime/zero/partition_parameters.py:2440
Method__exit__
(self, exc_type, exc_val, exc_tb)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:416
Method__exit__
(self, *args, **kwargs)
deepspeed/runtime/activation_checkpointing/offload_activations.py:492
Method__exit__
Exit the context manager. If enabled, partition the parameters for the replaced module.
deepspeed/module_inject/layers.py:892
Function__forceinline__ void load_global<16>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:95
Function__forceinline__ void load_global<16>
csrc/includes/memory_access_utils.h:95
Function__forceinline__ void load_global<2>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:470
Function__forceinline__ void load_global<2>
csrc/includes/memory_access_utils.h:470
Function__forceinline__ void load_global<4>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:357
Function__forceinline__ void load_global<4>
csrc/includes/memory_access_utils.h:357
Function__forceinline__ void load_global<8>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:232
Function__forceinline__ void load_global<8>
csrc/includes/memory_access_utils.h:232
Function__forceinline__ void load_shared<16>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:609
Function__forceinline__ void load_shared<16>
csrc/includes/memory_access_utils.h:609
Function__forceinline__ void load_shared<4>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:701
Function__forceinline__ void load_shared<4>
csrc/includes/memory_access_utils.h:701
Function__forceinline__ void load_shared<8>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:657
Function__forceinline__ void load_shared<8>
csrc/includes/memory_access_utils.h:657
Function__forceinline__ void store_global<16>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:743
Function__forceinline__ void store_global<16>
csrc/includes/memory_access_utils.h:743
Function__forceinline__ void store_global<2>
csrc/includes/memory_access_utils.h:872
Function__forceinline__ void store_global<4>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:834
Function__forceinline__ void store_global<4>
csrc/includes/memory_access_utils.h:834
Function__forceinline__ void store_global<8>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:790
Function__forceinline__ void store_global<8>
csrc/includes/memory_access_utils.h:790
Function__forceinline__ void store_shared<16>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:874
Function__forceinline__ void store_shared<16>
csrc/includes/memory_access_utils.h:903
Function__forceinline__ void store_shared<4>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:906
Function__forceinline__ void store_shared<4>
csrc/includes/memory_access_utils.h:935
Function__forceinline__ void store_shared<8>
deepspeed/inference/v2/kernels/includes/memory_access_utils.h:890
Function__forceinline__ void store_shared<8>
csrc/includes/memory_access_utils.h:919
Function__getattr__
(name)
deepspeed/__init__.py:35
Function__getattr__
(name)
deepspeed/ops/__init__.py:28
Function__getattr__
(name)
deepspeed/inference/__init__.py:14
Method__getattr__
(self, name)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_linear_cross_entropy.py:215
Method__getattr__
(self, name)
tests/unit/runtime/zero/test_zero_hook_attribute_delegation.py:19
Method__getattr__
(self, name)
tests/unit/hybrid_engine/test_he_policy.py:42
Method__getattr__
(self, name)
deepspeed/utils/static_cache.py:231
Method__getattr__
(self, module)
deepspeed/module_inject/layers.py:1568
Method__getattr__
(self, name)
deepspeed/module_inject/auto_tp_model_utils.py:20
Method__getitem__
(self, index)
tests/torch_compile/test_compile.py:27
Method__getitem__
(self, index)
tests/unit/checkpoint/test_affine_replica_policy.py:368
Method__getitem__
(self, grid)
tests/unit/runtime/test_custom_determinism.py:43
Method__getitem__
(self, idx)
tests/unit/runtime/pipe/test_pipe.py:272
Method__getitem__
(self, index)
tests/lightning/test_simple.py:18
Method__getitem__
(self, obj)
deepspeed/utils/debug.py:45
Method__getitem__
(self, index)
deepspeed/inference/v2/model_implementations/parameter_base.py:221
Method__getitem__
(self, key)
deepspeed/runtime/zero/parameter_offload.py:58
Method__getitem__
(self, idx)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:177
Method__getitem__
(self, idx)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:255
Method__getitem__
(self, i)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:473
Method__getitem__
(self, idx)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:515
Method__getstate__
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:488
Method__global__function
This should be identical to original __global__ function
csrc/xpu/adam/multi_tensor_apply.dp.hpp:66
Method__hash__
(self)
deepspeed/checkpoint/affine.py:156
Method__init__
( self, *, capacity_failures=0, prepare_code=0, test_code=0, t
ci/test_torch_latest.py:95
Method__init__
(self, *, escaping_symlink: bool = False)
ci/test_torch_latest.py:200
Method__init__
(self, lines=None, return_code=0)
ci/test_torch_latest.py:224
Method__init__
( self, candidate_sha: str, fail_label: str | None = None, cleanup_failure: bo
ci/test_torch_latest.py:236
Method__init__
(self)
ci/test_torch_latest.py:1244
Method__init__
(self)
ci/test_torch_latest.py:1327
Method__init__
(self)
ci/test_torch_latest.py:1416
Method__init__
(self)
ci/test_tests_fetcher.py:82
Method__init__
(self, repo_root: Path | str, config: WorkflowConfig)
ci/tests_fetcher.py:200
Method__init__
(self, label: str, return_code: int)
ci/torch_latest.py:247
Method__init__
(self, primary: BaseException, cleanup: BaseException)
ci/torch_latest.py:256
Method__init__
(self, timeout_seconds: float)
ci/torch_latest.py:265
Method__init__
(self, m)
tests/integration/zero3_arena_e2e.py:119
Method__init__
(self, methodName="DeepSpeed function test on BingBertSquad model")
tests/model/BingBertSquad/BingBertSquad_run_func_test.py:36
Method__init__
(self, methodName="DeepSpeed performance test")
tests/model/BingBertSquad/BingBertSquad_test_common.py:15
Method__init__
(self, methodName="DeepSpeed performance test on GPT2 model")
tests/model/Megatron_GPT2/run_perf_baseline.py:16
Method__init__
(self, methodName="DeepSpeed function test on GPT2 model")
tests/model/Megatron_GPT2/run_func_test.py:42
Method__init__
(self, methodName="DeepSpeed function test on GPT2 model")
tests/model/Megatron_GPT2/run_checkpoint_test.py:48
Method__init__
(self, methodName="DeepSpeed performance test")
tests/model/Megatron_GPT2/test_common.py:15
Method__init__
(self, methodName="DeepSpeed performance test on GPT2 model")
tests/model/Megatron_GPT2/run_perf_test.py:16
Method__init__
(self, size, length)
tests/torch_compile/test_compile.py:23
Method__init__
(self, *args, **kwargs)
tests/torch_compile/test_compile.py:41
Method__init__
(self, vocab_size=384, hidden=384, n_layers=3)
tests/torch_compile/test_deepcompile_skipped_frame.py:36
Method__init__
(self, in_features, out_features, weights, biases, act='gelu', bias=True)
tests/unit/modeling.py:105
Method__init__
Constructs BertConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_s
tests/unit/modeling.py:149
Method__init__
(self, i, config, weights, biases)
tests/unit/modeling.py:241
Method__init__
(self, config, weights, biases)
tests/unit/modeling.py:306
Method__init__
(self, i, config, weights, biases)
tests/unit/modeling.py:326
← previousnext →6,801–6,900 of 15,767, ranked by callers