Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,767 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,767
◇
Types & classes
2,543
↳
Endpoints
107
Method
finalize
Our gated format (this is different from InferenceV1!) is to have the gate and activated neurons interleaved. So if we have 4 output
deepspeed/inference/v2/model_implementations/common_parameters/mlp_parameters.py:43
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/mlp_parameters.py:79
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/mlp_parameters.py:98
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/invfreq_parameters.py:18
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/attn_output_parameters.py:28
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/moe_parameters.py:26
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/moe_parameters.py:38
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/moe_parameters.py:51
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/moe_parameters.py:69
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/qkv_parameters.py:25
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/qkv_parameters.py:43
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/qkv_parameters.py:73
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/qkv_parameters.py:110
Method
finalize
(self)
deepspeed/inference/v2/model_implementations/common_parameters/embedding_parameters.py:25
Method
finalize
(self, index_file)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:623
Method
finalize_autotp
(autotp=None, attach_uc_metadata=False, require_vocab_parallel_lm_head=False)
deepspeed/runtime/engine.py:1134
Method
finalize_gradient_accumulation_boundary
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1095
Method
finalize_gradient_accumulation_boundary
(self)
deepspeed/runtime/reflow/reflow_stage3.py:2000
Function
find_replace
(target, replace_dict)
deepspeed/autotuning/utils.py:59
Method
fini
(self)
deepspeed/nvme/ds_aio_handle.py:24
Method
fini
(self)
deepspeed/nvme/torch_fastio_engine.py:22
Method
fini
(self)
deepspeed/nvme/ds_aio_basic.py:21
Method
finish
csrc/gds/deepspeed_gds_op.cpp:110
Method
finish
csrc/aio/py_lib/deepspeed_aio_op_desc.cpp:79
Function
flash_attn_by_atoms
deepspeed/inference/v2/kernels/ragged_ops/blocked_flash/blocked_flash.cpp:21
Method
flash_attn_func_v2
(self, q, k, v, dropout_p, softmax_scale, is_causal)
op_builder/xpu/flash_attn.py:14
Function
flatten
(grads)
tests/unit/v1/zero/test_zero2_gradient_safety.py:462
Method
flatten_and_print
(self, message, tensors, start=0, n=5)
deepspeed/runtime/zero/stage3.py:2451
Method
flatten_and_print
(self, message, tensors, start=0, n=5)
deepspeed/runtime/zero/stage_1_and_2.py:2404
Method
flattened_param_metadata
The flattened parameter metadata.
deepspeed/inference/v2/model_implementations/inference_model_base.py:175
Method
flattened_params
The flattened parameter buffer.
deepspeed/inference/v2/model_implementations/inference_model_base.py:168
Method
flops_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:401
Method
flush
(self)
deepspeed/io/fast_file_writer.py:102
Method
flush
(self)
deepspeed/io/base_file_writer.py:26
Method
flush
(self)
deepspeed/io/mock_file_writer.py:28
Method
flush
Remove all state associated with a sequence from the inference engine. Arguments: uid (int): The UID of the sequence to
deepspeed/inference/v2/engine_v2.py:242
Method
flushAllReduceBuckets
csrc/includes/deepcompile.h:577
Method
flushReduceBucket
csrc/compile/z2.cpp:42
Method
flushReduceBucket
csrc/compile/z3.cpp:252
Method
flushReduceBucket
csrc/compile/z1.cpp:49
Method
flush_bucket
()
deepspeed/ops/adam/zenflow_torch_adam.py:179
Method
flush_bucket
()
deepspeed/ops/adam/zenflow_torch_adam.py:653
Method
flush_gradients
(self)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:99
Method
flush_gradients
(self)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:60
Function
folded_universal_source
(request)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:846
Method
folding_metadata
(*, family, ep_rank, ze
deepspeed/runtime/engine.py:5352
Function
forbidden
(self, *args, **kwargs)
tests/unit/checkpoint/test_affine_transfer_plan.py:929
Function
forced_budget
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:144
Function
forward
(x)
tests/unit/v1/runtime/test_subchannel_quantization.py:362
Function
forward
(x)
tests/unit/v1/moe/test_autoep_deepep_parity.py:175
Method
forward
(self, data, residual)
tests/torch_compile/test_compile.py:47
Method
forward
(self, input_ids)
tests/torch_compile/test_deepcompile_skipped_frame.py:51
Method
forward
(self, input)
tests/unit/modeling.py:130
Method
forward
(self, hidden_states, attention_mask, grads=None)
tests/unit/modeling.py:273
Method
forward
(self, hidden_states, input_tensor)
tests/unit/modeling.py:314
Method
forward
(self, input_tensor, attention_mask)
tests/unit/modeling.py:331
Method
forward
(self, hidden_states)
tests/unit/modeling.py:350
Method
forward
(self, hidden_states, input_tensor)
tests/unit/modeling.py:365
Method
forward
(self, hidden_states, attention_mask, grads, collect_all_grads=False)
tests/unit/modeling.py:382
Method
forward
(self, hidden_states, attention_mask, output_all_encoded_layers=True, checkpoint_activations=False)
tests/unit/modeling.py:426
Method
forward
(self, x, y)
tests/unit/simple_model.py:30
Method
forward
(self, x, y)
tests/unit/simple_model.py:60
Method
forward
(self, x, y)
tests/unit/simple_model.py:96
Method
forward
(self, x, y)
tests/unit/simple_model.py:128
Method
forward
(self, x, y)
tests/unit/simple_model.py:163
Method
forward
(self, args)
tests/unit/megatron_model.py:72
Method
forward
(self, input)
tests/unit/modelingpreln.py:129
Method
forward
(self, input_ids, token_type_ids=None)
tests/unit/modelingpreln.py:255
Method
forward
(self, hidden_states, attention_mask, grads=None)
tests/unit/modelingpreln.py:306
Method
forward
(self, hidden_states, input_tensor)
tests/unit/modelingpreln.py:352
Method
forward
(self, input_tensor, attention_mask)
tests/unit/modelingpreln.py:368
Method
forward
(self, hidden_states)
tests/unit/modelingpreln.py:387
Method
forward
(self, hidden_states, input_tensor)
tests/unit/modelingpreln.py:402
Method
forward
(self, hidden_states, attention_mask, grads, collect_all_grads=False)
tests/unit/modelingpreln.py:420
Method
forward
(self, hidden_states, attention_mask, output_all_encoded_layers=True, checkpoint_activations=False)
tests/unit/modelingpreln.py:468
Method
forward
(self, inputs, targets)
tests/unit/multi_output_model.py:18
Method
forward
(self, x, y)
tests/unit/alexnet_model.py:42
Method
forward
(self, hidden_states, attention_mask, output_all_encoded_layers=True, checkpoint_activations=False)
tests/unit/ops/accelerators/test_accelerator_forward.py:58
Method
forward
(self, hidden_states, attention_mask, output_all_encoded_layers=True, checkpoint_activations=False)
tests/unit/ops/accelerators/test_accelerator_backward.py:106
Method
forward
(self, query, key, value)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:34
Method
forward
(self, x)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:134
Method
forward
(self, lhs, rhs)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:256
Method
forward
(self, x)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:278
Method
forward
(self, x)
tests/unit/profiling/flops_profiler/test_flops_profiler.py:292
Method
forward
(self, x, y)
tests/unit/checkpoint/test_zero_affine.py:248
Method
forward
(self, x, y)
tests/unit/checkpoint/test_zero_affine.py:361
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1033
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1056
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1065
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1073
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1619
Method
forward
(self, x)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1850
Method
forward
(self, x)
tests/unit/checkpoint/test_fp32_master_only.py:32
Method
forward
(self, x)
tests/unit/checkpoint/test_fp32_master_stage3_bf16.py:26
Method
forward
(self, inputs)
tests/unit/checkpoint/test_convert_checkpoint.py:205
Method
forward
(self, value)
tests/unit/compile/test_zero3_grad_dtype.py:122
Method
forward
(self, x)
tests/unit/compile/test_tp_compile.py:39
Method
forward
(self, x)
tests/unit/compile/test_tp_compile.py:53
Method
forward
(self, input_ids)
tests/unit/compile/test_tp_compile.py:77
Method
forward
(self, x)
tests/unit/compile/test_tp_compile.py:267
← previous
next →
9,301–9,400 of 15,767, ranked by callers