MCPcopy Create free account

hub / github.com/AIS-SNU/Smart-Infinity / functions

Functions4,989 in github.com/AIS-SNU/Smart-Infinity

Method_wait_for_aio_work
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:149
Function_warp
deepspeed/ops/csrc/includes/reduction_utils.h:337
Methodabsolute_name
(self)
deepspeed/ops/op_builder/sparse_attn.py:21
Methodabsolute_name
(self)
deepspeed/ops/op_builder/random_ltd.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/utils.py:16
Methodabsolute_name
(self)
deepspeed/ops/op_builder/async_io.py:19
Methodabsolute_name
(self)
deepspeed/ops/op_builder/quantizer.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/fused_lamb.py:18
Methodabsolute_name
(self)
deepspeed/ops/op_builder/stochastic_transformer.py:16
Methodabsolute_name
(self)
deepspeed/ops/op_builder/spatial_inference.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/transformer.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/transformer_inference.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/fused_adam.py:18
Methodabsolute_name
(self)
deepspeed/ops/op_builder/cpu_adam.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/cpu_adagrad.py:17
Methodabsolute_name
(self)
deepspeed/ops/op_builder/cpu/no_impl.py:17
Methodaccumulate
deepspeed/ops/csrc/aio/common/deepspeed_aio_types.cpp:46
Methodaccumulate_gradients
()
deepspeed/runtime/zero/stage_1_and_2.py:1053
Functionadam_cpu
deepspeed/ops/csrc/adam/opencl/adam/vadd.cpp:80
Methodadd_config
(self, key, value)
deepspeed/runtime/config.py:668
Functionadd_config_arguments
r"""Update the argument parser to enabling parsing of DeepSpeed command line arguments. The set of DeepSpeed arguments include the following:
deepspeed/__init__.py:237
Methodadd_extra_dims
(x)
deepspeed/ops/sparse_attention/matmul.py:804
Methodadd_extra_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:343
Methodadd_item
(self, tensor)
DeepSpeedExample/megatron/data/indexed_dataset.py:546
Methodadd_item
(self, tensor)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:583
Methodadd_or_reset_attrs
(module)
deepspeed/profiling/flops_profiler/profiler.py:160
Functionadd_padding
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:1210
Functionadd_text_generate_args
Text generation arguments.
DeepSpeedExample/tools/generate_samples_gpt2.py:44
Methodadd_tokentype_embeddings
Add token-type embedding. This function is provided so we can add token-type embeddings in case the pretrained model does not have it.
DeepSpeedExample/megatron/model/language_model.py:162
Methodaio_context
deepspeed/ops/csrc/aio/common/deepspeed_aio_types.cpp:60
Methodaligned_size
()
deepspeed/runtime/zero/partition_parameters.py:975
Functionall_gather_coalesced
(output_tensors, input_tensors, group=None, async_op=False)
deepspeed/comm/comm.py:459
Functionall_parameters
(self)
deepspeed/runtime/zero/partition_parameters.py:114
Functionall_reduce
TODO: implement torch's async_op behavior, document it.
deepspeed/ops/csrc/cpu/comm/ccl.cpp:160
Functionall_reduce
(tensor, op=ReduceOp.SUM, group=None, async_op=False,
deepspeed/comm/comm.py:467
Methodall_reduce
(self, tensor, op=torch.distributed.ReduceOp.SUM, group=None, async_op=False)
deepspeed/comm/torch.py:93
Functionall_reduce_caching
deepspeed/ops/csrc/cpu/comm/ccl.cpp:171
Functionall_reduce_coalesced
(tensors, op=ReduceOp.SUM, group=None,
deepspeed/comm/comm.py:484
Functionall_to_all_single
(output, tensor, output_split_sizes=None, in
deepspeed/comm/comm.py:323
Methodallgather_before
(func: Callable)
deepspeed/runtime/zero/partition_parameters.py:1006
Functionallgather_fn
(output_tensor, input_tensor, group=None, async_op=False, debug=get_caller_func())
deepspeed/comm/comm.py:307
Methodallocate
hls_smartInfinity/src/host/g16_host_step_adam.cpp:58
Methodallocate
hls_smartInfinity/src/host/host_step_adam.cpp:58
Methodallocate
hls_smartInfinity/src/host/host_step_adam_topk.cpp:64
Methodallocate
hls_smartInfinity/src/host/host_step_sgd.cpp:55
Methodallocate
hls_smartInfinity/src/host/host_step_adagrad_topk.cpp:63
Methodallocate
hls_smartInfinity/src/host/host_step_adagrad.cpp:56
Methodallocate
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:60
Methodallocate
hls_smartInfinity/src/host/g16_host_step_adam_topk.cpp:64
Methodallocate
deepspeed/ops/csrc/adam/cpu_adam.cpp:61
Methodallocate_tensor
(self, numel, swap_path, aligned_numel)
deepspeed/runtime/swap_tensor/utils.py:108
Functionallocate_workspace
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:107
Methodallreduce_hook
(*unused)
DeepSpeedExample/megatron/model/distributed.py:67
Methodallreduce_no_retain
(self, bucket, numel_per_bucket=500000000, rank=None, log=None)
deepspeed/runtime/zero/stage3.py:1438
Methodallreduce_tied_weight_gradients
All reduce the gradients of the tied weights between tied stages
deepspeed/runtime/pipe/module.py:406
Methodamp
(self)
deepspeed/accelerator/npu_accelerator.py:143
Methodamp
(self)
deepspeed/accelerator/cuda_accelerator.py:151
Methodamp
(self)
deepspeed/accelerator/abstract_accelerator.py:161
Methodapply
(self, module, enable_cuda_graph=True)
deepspeed/module_inject/containers/unet.py:29
Functionapply_rotary_pos_emb
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:1840
Methodapply_tensor_parallelism
(self, mp_replace)
deepspeed/module_inject/containers/base_moe.py:92
Methodapply_tensor_parallelism
Add support for reversed dim in tensor parallelism. If necessary, override the called methods to handle partitioned weights (i.e. if
deepspeed/module_inject/containers/features/hybrid_engine.py:58
Methodapply_tensor_parallelism
(self, mp_replace, **kwargs)
deepspeed/module_inject/containers/features/meta_tensor.py:29
Methodapply_weight_quantization
(self)
deepspeed/module_inject/containers/base.py:195
Methodapply_with_gather
many models make use of child modules like Linear or Embedding which perform their own weight initialization in their __init__ methods,
deepspeed/runtime/zero/partition_parameters.py:300
Methodare_all_related_partitions_reduced
(params_id)
deepspeed/runtime/zero/stage3.py:1340
Methodare_all_related_partitions_reduced
(params_id)
deepspeed/runtime/zero/stage_1_and_2.py:1262
Methodassign_to_param
(self, tensor, param, numel, shape)
deepspeed/runtime/zero/contiguous_memory_allocator.py:83
Methodasync_inplace_copy_grad_to_fp32_buffer_from_gpu
(self, param, fp32_grad_tensor)
deepspeed/runtime/zero/stage3.py:1216
Methodattention
Returns attention qkv and dense parameters weight: (3*hidden, hidden) and (hidden, hidden) bias: (3*hidden) and (hidden)
deepspeed/module_inject/policy.py:78
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/distil_bert.py:52
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/gptneo.py:103
Methodattention
(self, client_module)
deepspeed/module_inject/containers/unet.py:33
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/clip.py:47
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/opt.py:127
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/gpt2.py:44
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/bert.py:56
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/bloom.py:105
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/llama.py:124
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/megatron_gpt.py:63
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/gptneox.py:117
Methodattention
(self, enable_training=False)
deepspeed/module_inject/containers/gptj.py:104
Functionattention_mask_func
(attention_scores, attention_mask)
DeepSpeedExample/megatron/core/transformer/utils.py:11
Functionattention_unfused
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:175
Methodautotuning_metric
(self)
deepspeed/runtime/engine.py:621
Functionaverage_losses_across_data_parallel_group
Reduce a tensor of losses across all GPUs.
DeepSpeedExample/megatron/utils.py:117
Methodbackend_exists
Return whether the corresponding backend exists
deepspeed/launcher/multinode_runner.py:29
Methodbackend_exists
(self)
deepspeed/launcher/multinode_runner.py:56
Methodbackend_exists
(self)
deepspeed/launcher/multinode_runner.py:114
Methodbackend_exists
(self)
deepspeed/launcher/multinode_runner.py:166
Methodbackend_exists
(self)
deepspeed/launcher/multinode_runner.py:237
Methodbackend_exists
(self)
deepspeed/launcher/multinode_runner.py:387
Methodbackward
(ctx, grad_output)
DeepSpeedExample/megatron/core/utils.py:108
Methodbackward
(ctx, output_grads)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:30
Methodbackward
(ctx, output_grads)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:60
Methodbackward
(ctx, grad_output)
DeepSpeedExample/megatron/core/fusions/fused_bias_gelu.py:38
Methodbackward
(ctx, grad_output)
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:280
Methodbackward
(ctx, grad_output)
DeepSpeedExample/megatron/core/tensor_parallel/cross_entropy.py:98
Methodbackward
(ctx, *args)
DeepSpeedExample/megatron/core/tensor_parallel/random.py:266
Methodbackward
(ctx, grad_output)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:140
← previousnext →3,401–3,500 of 4,989, ranked by callers