MCPcopy Create free account

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

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

Methodio_xfer_ctxt
deepspeed/ops/csrc/aio/common/deepspeed_aio_utils.cpp:20
Functionirecv
(tensor, src=None, group=None, tag=0, prof=False, log_name='irecv', debug=get_caller_func())
deepspeed/comm/comm.py:360
Functionis_available
()
deepspeed/comm/comm.py:184
Methodis_available
(self)
deepspeed/accelerator/npu_accelerator.py:148
Methodis_available
(self)
deepspeed/accelerator/cuda_accelerator.py:156
Methodis_available
(self)
deepspeed/accelerator/abstract_accelerator.py:165
Methodis_bf16_supported
(self)
deepspeed/accelerator/cpu_accelerator.py:180
Methodis_bf16_supported
(self)
deepspeed/accelerator/npu_accelerator.py:136
Methodis_bf16_supported
(self)
deepspeed/accelerator/cuda_accelerator.py:140
Methodis_bf16_supported
(self)
deepspeed/accelerator/abstract_accelerator.py:152
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/sparse_attn.py:30
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/async_io.py:76
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/builder.py:600
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/spatial_inference.py:20
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/transformer_inference.py:20
Methodis_compatible
(self, verbose=True)
deepspeed/ops/op_builder/cpu/comm.py:28
Functionis_configured
True if deepspeed activation checkpointing has been configured by calling deepspeed.checkpointing.configure, else returns false Arguments
deepspeed/runtime/activation_checkpointing/checkpointing.py:871
Methodis_first_stage
True if the configured ``stage_id`` is the first stage in the pipeline.
deepspeed/runtime/pipe/schedule.py:102
Methodis_fp16_supported
(self)
deepspeed/accelerator/cpu_accelerator.py:183
Methodis_fp16_supported
(self)
deepspeed/accelerator/npu_accelerator.py:139
Methodis_fp16_supported
(self)
deepspeed/accelerator/cuda_accelerator.py:143
Methodis_fp16_supported
(self)
deepspeed/accelerator/abstract_accelerator.py:156
Methodis_gradient_accumulation_boundary
True if the engine is executing a gradient reduction or optimizer step instruction. This is overridden from :class:`DeepSpeedEngine` to force
deepspeed/runtime/pipe/engine.py:560
Functionis_initialized
()
deepspeed/comm/comm.py:164
Methodis_initialized
(self)
deepspeed/comm/backend.py:37
Methodis_last_stage
True if the configured ``stage_id`` is the last stage in the pipeline.
deepspeed/runtime/pipe/schedule.py:107
Functionis_pipeline_stage_at_split
Return true if pipeline stage executes decoder block and next stage executes encoder block for a model with both encoder and decoder.
DeepSpeedExample/megatron/core/parallel_state.py:618
Functionis_rank_in_embedding_group
Return true if current rank is in embedding group, False otherwise.
DeepSpeedExample/megatron/core/parallel_state.py:565
Functionis_rank_in_position_embedding_group
Return true if current rank is in position embedding group, False otherwise.
DeepSpeedExample/megatron/core/parallel_state.py:581
Methodis_replicated
(p)
deepspeed/runtime/engine.py:1000
Methodis_synchronized_device
(self)
deepspeed/accelerator/npu_accelerator.py:21
Methodis_synchronized_device
(self)
deepspeed/accelerator/cuda_accelerator.py:25
Methodis_synchronized_device
(self)
deepspeed/accelerator/abstract_accelerator.py:17
Functionis_unitialized
Useful for code segments that may be accessed with or without mpu initialization
DeepSpeedExample/megatron/core/parallel_state.py:318
Functionis_unitialized
Useful for code segments that may be accessed with or without mpu initialization
DeepSpeedExample/megatron/mpu/initialize.py:34
Methodis_valid
(self, pp_index, tp_index, dp_index)
deepspeed/checkpoint/reshape_3d_utils.py:45
Functionisclose
(a, b, rtol=1e-09, atol=0.0)
deepspeed/runtime/zero/stage3.py:48
Functionisclose
(a, b, rtol=1e-09, atol=0.0)
deepspeed/runtime/zero/stage_1_and_2.py:57
Functionisend
(tensor, dst, group=None, tag=0, prof=False, log_name='isend', debug=get_caller_func())
deepspeed/comm/comm.py:354
Methoditem_override
()
deepspeed/runtime/zero/partition_parameters.py:984
Methoditerencode
(self, o, _one_shot=False, level=0)
deepspeed/runtime/config_utils.py:149
Functionjoin_str_list
Join a list of strings, handling spaces appropriately
DeepSpeedExample/megatron/data/realm_dataset_utils.py:62
Functionkrnl_vadd
hls_smartInfinity/src/kernel_cpp/adagrad.cpp:117
Functionkrnl_vadd
hls_smartInfinity/src/kernel_cpp/sgd.cpp:115
Functionkrnl_vadd
hls_smartInfinity/src/kernel_cpp/adam.cpp:112
Functionl2_grad_clipper
Efficient L2 norm gradient clipping.
DeepSpeedExample/megatron/mpu/grads.py:35
Functionlamb
C++ interface
deepspeed/ops/csrc/lamb/fused_lamb_cuda.cpp:36
Functionlambada_detokenizer
(string)
DeepSpeedExample/tasks/zeroshot_gpt2/detokenizer.py:66
Functionlane_id
deepspeed/ops/csrc/includes/memory_access_utils.h:82
Methodlayernorm
(self)
deepspeed/module_inject/containers/distil_bert.py:75
Methodlayernorm
(self)
deepspeed/module_inject/containers/gptneo.py:121
Methodlayernorm
(self)
deepspeed/module_inject/containers/clip.py:69
Methodlayernorm
(self)
deepspeed/module_inject/containers/gpt2.py:56
Methodlayernorm
(self)
deepspeed/module_inject/containers/bert.py:82
Methodlayernorm
(self)
deepspeed/module_inject/containers/bloom.py:117
Methodlayernorm
(self)
deepspeed/module_inject/containers/llama.py:145
Methodlayernorm
(self)
deepspeed/module_inject/containers/megatron_gpt.py:106
Methodlayernorm
(self)
deepspeed/module_inject/containers/gptneox.py:134
Methodlayernorm
(self)
deepspeed/module_inject/containers/gptj.py:122
Methodlazy_call
(self, callback)
deepspeed/accelerator/npu_accelerator.py:157
Methodlazy_call
(self, callback)
deepspeed/accelerator/cuda_accelerator.py:167
Methodlazy_call
(self, callback)
deepspeed/accelerator/abstract_accelerator.py:177
Functionlcm
(x, y)
deepspeed/runtime/zero/stage3.py:52
Functionlcm
(x, y)
deepspeed/runtime/zero/stage_1_and_2.py:61
Methodlens
(self)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:87
Methodlibraries_args
(self)
deepspeed/ops/op_builder/cpu_adam.py:29
Methodlibraries_args
(self)
deepspeed/ops/op_builder/cpu_adagrad.py:26
Methodlibraries_installed
(self, libraries)
deepspeed/ops/op_builder/builder.py:232
Methodlinear_fallback
(self, input, weight, bias, add_bias, do_flash_attn, num_heads, transpose)
deepspeed/ops/transformer/inference/op_binding/linear.py:25
Functionload
(module, prefix)
deepspeed/module_inject/load_checkpoint.py:48
Methodload
(self, verbose=True)
deepspeed/ops/op_builder/cpu/no_impl.py:20
Methodload
(self, path: str, map_location=None)
deepspeed/runtime/checkpoint_engine/nebula_checkpoint_engine.py:55
Methodload
(self, path: str, map_location=None)
deepspeed/runtime/checkpoint_engine/torch_checkpoint_engine.py:26
Methodload_config
(self, filename)
deepspeed/runtime/config.py:671
Functionload_hp_checkpoint_state
(self, folder, tp_rank, tp_world_size)
deepspeed/checkpoint/universal_checkpoint.py:12
Methodload_module_recursive
(module, prefix='', level=0)
deepspeed/inference/engine.py:388
Methodload_module_state_dict
Override hack to instead use a directory path. This is important because pipeline models checkpoint by layer instead of rank. If ``s
deepspeed/runtime/pipe/engine.py:1257
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptneo.py:45
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/bloom.py:49
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/llama.py:73
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptneox.py:53
Methodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/gptj.py:56
Methodload_params
Load all the transformer parameter from the checkpoint file (sd). In addition to the parameter names, we require two more par
deepspeed/module_inject/containers/features/meta_tensor.py:51
Functionload_scaled_masked_softmax_fusion_kernel
()
DeepSpeedExample/megatron/fused_kernels/__init__.py:74
Functionload_scaled_upper_triang_masked_softmax_fusion_kernel
()
DeepSpeedExample/megatron/fused_kernels/__init__.py:46
Methodload_state_dict
(self, sd)
DeepSpeedExample/megatron/learning_rates.py:134
Methodload_state_dict
(self, state_dict, strict=True)
DeepSpeedExample/megatron/core/models/gpt/gpt_model.py:213
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/core/models/gpt/gpt_embedding.py:91
Methodload_state_dict
(self, state_dict, strict=True)
DeepSpeedExample/megatron/core/transformer/module.py:117
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/classification.py:87
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/realm_model.py:197
Methodload_state_dict
(self, state_dict, strict=True)
DeepSpeedExample/megatron/model/distributed.py:92
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/language_model.py:360
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/gpt2_model.py:120
Methodload_state_dict
(self, state_dict, strict=True)
DeepSpeedExample/megatron/model/module.py:191
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/bert_model.py:191
Methodload_state_dict
Customized load.
DeepSpeedExample/megatron/model/multiple_choice.py:99
Methodload_state_dict
Loads a state_dict created by an earlier call to state_dict(). If ``fp16_optimizer_instance`` was constructed from some ``init_optimi
DeepSpeedExample/megatron/fp16/fp16.py:377
Methodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:357
Methodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:695
← previousnext →4,201–4,300 of 4,989, ranked by callers