MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Functionpass_shard_seq_dim
Finds all direct and indirect consumers of the input sequence, label and position ids. Shard the sequence dimension used by all such consumer
deepspeed/compile/passes/sp_compile.py:76
Methodpasses_name_to_fn
(passes)
deepspeed/runtime/engine.py:6026
Functionpatched_init
(self, **kwargs)
deepspeed/compile/inductor.py:201
Methodpath_between
(source, target)
tests/unit/checkpoint/test_affine_transfer_calibration.py:235
Methodpayload_bytes
(self)
deepspeed/checkpoint/affine_transfer_executor.py:123
Methodpending
(self)
deepspeed/runtime/rollout/continuous_batching.py:77
Methodper_layer_config
(self)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:348
Methodper_layer_config
(self)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:487
MethodperformCleanup
csrc/includes/deepcompile.h:603
Methodphi3
Phi3 model with fused QKV and chunked MLP.
deepspeed/module_inject/autotp_config.py:529
Functionpin_memory
(tensor)
tests/unit/v1/moe/test_autoep_unit.py:1905
Methodpin_memory_alignment
(self)
tests/unit/v1/pin_memory/test_pin_memory.py:148
Methodpin_memory_alignment
(self)
tests/unit/v1/pin_memory/test_pin_memory.py:440
Methodpin_memory_alignment
Byte alignment required for device-registered host memory; 1 means none.
accelerator/abstract_accelerator.py:301
Functionplan_cpu_core_layout
Automatically find NUMA-aware cores for this rank. Priority: 1. Honor the process affinity assigned by the launcher (numactl/taskset).
deepspeed/runtime/reflow/reflow_utils.py:335
Methodplist_helpers
(self)
deepspeed/inference/v2/model_implementations/layer_container_base.py:261
Methodpoisoned_empty
(*args, **kwargs)
tests/unit/runtime/zero/test_zero_allreduce_fetch_params.py:49
Methodpop_range
(self)
tests/unit/utils/test_nvtx.py:83
Methodpositional_embedding_config
The positional embedding configuration for the model.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:181
Methodpositional_embedding_config
The positional embedding configuration for the model.
deepspeed/inference/v2/model_implementations/mixtral/model.py:113
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:98
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/exaone4_5/model.py:106
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:108
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:96
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:102
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:108
Methodpositional_embedding_config
The positional embedding configuration for the model.
deepspeed/inference/v2/model_implementations/falcon/model.py:99
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:104
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:94
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:107
Methodpositional_embedding_config
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:109
Methodpositional_embedding_type
The type of positional embedding used by the model.
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:145
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/mixtral/model.py:109
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/phi/model.py:94
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/mistral/model.py:104
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/exaone4/model.py:92
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/model.py:98
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/phi3/model.py:104
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/falcon/model.py:95
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/qwen/model.py:100
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/opt/model.py:90
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/model.py:103
Methodpositional_embedding_type
(self)
deepspeed/inference/v2/model_implementations/llama_v2/model.py:105
Functionpost_func
(input)
deepspeed/sequence/layer.py:102
Methodpost_hook
(module, input, output)
deepspeed/profiling/flops_profiler/profiler.py:106
Functionpost_operation
(pool_params)
deepspeed/nvme/io_engine.py:40
Methodpost_wrapper_to_empty
(f)
deepspeed/runtime/zero/partition_parameters.py:498
Methodpre_hook
(module, input)
deepspeed/profiling/flops_profiler/profiler.py:99
Methodpre_rms_norm_fallback
(vals, residual, gamma, epsilon)
deepspeed/ops/transformer/inference/op_binding/pre_rms_norm.py:24
Methodprefer_triton_grouped_mm
(self)
accelerator/abstract_accelerator.py:215
Methodprefetch
(self, indices)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:230
Functionprefetch_all
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:268
Functionprefetch_fn
()
tests/unit/compile/test_pass_contract.py:128
Functionprefetch_params_fused
csrc/compile/z3.cpp:570
Functionprefetch_params_fused_meta
csrc/compile/z3.cpp:579
Methodprepare
(offset, size, source)
tests/unit/v1/zero/test_reflow.py:803
Methodprepare_batch
See ``DSInferenceModelBase.prepare_batch`` for documentation. This method assumes an autoregressive dense attention pattern. Overrid
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:466
Methodprepare_batch
This will be called before each forward with the intent of building forward-specific metadata about a batch. The intent here is to bu
deepspeed/inference/v2/model_implementations/inference_model_base.py:257
Methodprepare_range
(offset, size, output_slice)
deepspeed/runtime/reflow/reflow_stage3.py:1257
Functionprepare_read
(pool_params)
deepspeed/nvme/io_engine.py:30
Functionprepare_write
(pool_params)
deepspeed/nvme/io_engine.py:35
Functionpreprocess_weight
* Function to prepack the fake 6-bit-quantized FP16 weights into 2bit and 4bit. * * Parameters: * weight: input weight in FP16 (containing the q
deepspeed/inference/v2/kernels/core_ops/cuda_linear/linear_kernels.cpp:193
Methodpreserves_storage_sharing
(self)
deepspeed/runtime/checkpoint_engine/datastates_checkpoint_engine.py:58
Methodprint_3d_file_map
(self, tag=None)
deepspeed/checkpoint/zero_checkpoint.py:81
Methodprint_3d_index_map
(self, tag=None)
deepspeed/checkpoint/zero_checkpoint.py:75
Functionprint_backward_tensors
(tensor)
deepspeed/utils/debug.py:204
Functionprint_bits
deepspeed/inference/v2/kernels/core_ops/cuda_linear/linear_kernels.cpp:14
Methodprint_func
()
deepspeed/runtime/zero/stage3.py:2453
Methodprint_func
()
deepspeed/runtime/zero/stage_1_and_2.py:2407
Functionprint_params
(tag, model)
tests/small_model_debugging/test_model.py:109
Functionprint_params
(tag, model)
tests/small_model_debugging/partial_offload_test.py:111
Functionprint_rank
print something on all global ranks with [rank] prefix.
deepspeed/utils/debug.py:221
Functionprint_rank0
print something only on rank 0
deepspeed/utils/debug.py:230
Functionprint_rank_msg
(msg)
deepspeed/runtime/zero/stage_1_and_2.py:97
Functionprintflock
For printing messages for all concurrent gpus w/o getting interleaved text. This is useful when debugging issues where multi-gpus don't syn
deepspeed/utils/debug.py:137
Functionprobe
()
ci/torch_latest.py:1635
MethodprocessBlockIJ
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1174
Functionprologue
csrc/deepspeed4science/evoformer_attn/gemm/custom_mma_pipelined.h:217
Functionprologue
csrc/deepspeed4science/evoformer_attn/gemm/custom_mma_multistage.h:260
MethodprologueQkNextIteration
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1758
Methodpush
csrc/deepspeed4science/evoformer_attn/epilogue/epilogue_pipelined.h:282
Methodpush_range
(self, message=None, category=None)
tests/unit/utils/test_nvtx.py:79
Methodput
Put a ragged batch onto the inference engine. This will perform one forward and return a Tensor of the shape [len(batch_uids), *outpu
deepspeed/inference/v2/engine_v2.py:107
Functionpytest
()
ci/accelerate.py:41
Functionpytest_addoption
(parser)
tests/conftest.py:43
Functionpytest_collection_modifyitems
(config, items)
tests/conftest.py:81
Functionpytest_configure
(config)
tests/conftest.py:33
Functionpytest_fixture_setup
(fixturedef, request)
tests/conftest.py:145
Functionpytest_pycollect_makeitem
(collector, name, obj)
tests/conftest.py:124
Functionpytest_runtest_call
(item)
tests/conftest.py:105
Functionpytest_runtest_teardown
(item, nextitem)
tests/conftest.py:116
Methodq_block_size
Property to calculate blocking granularity for the query dimension. This has no impact on the KV-cache structure, but will affect th
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:131
Methodq_block_size
Property to calculate blocking granularity for the query dimension. This has no impact on the KV-cache structure, but will affect th
deepspeed/inference/v2/modules/interfaces/attention_base.py:43
Methodqkv_gemm_bf16
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/npu/inference.py:128
Methodqkv_gemm_bf16
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/supa/inference.py:207
Methodqkv_gemm_fallback
(input, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
deepspeed/ops/transformer/inference/op_binding/qkv_gemm.py:60
Methodqkv_gemm_fp16
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/npu/inference.py:124
Methodqkv_gemm_fp16
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/supa/inference.py:202
Methodqkv_gemm_fp32
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/npu/inference.py:132
Methodqkv_gemm_fp32
(inputs, weight, q_scale, bias, gamma, beta, eps, add_bias, q_int8, transpose)
op_builder/supa/inference.py:212
← previousnext →10,901–11,000 of 15,468, ranked by callers