MCPcopy Create free account

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

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

Methodcls
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:173
Functioncombine_dict
(d, u)
deepspeed/autotuning/utils.py:81
Methodcommand_token_vocab
dictionary mapping command tokens to ids for tokenizer
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:305
Methodcommand_tokens
list (or iterable) of all command tokens for tokenizer
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:300
Methodcommit
(self, tag)
deepspeed/runtime/checkpoint_engine/nebula_checkpoint_engine.py:100
Methodcommit
(self, tag)
deepspeed/runtime/checkpoint_engine/torch_checkpoint_engine.py:32
Methodcommunication_backend_name
(self)
deepspeed/accelerator/npu_accelerator.py:160
Methodcommunication_backend_name
(self)
deepspeed/accelerator/cuda_accelerator.py:170
Methodcommunication_backend_name
(self)
deepspeed/accelerator/abstract_accelerator.py:181
Methodcommunication_data_type
(self)
deepspeed/runtime/engine.py:787
Methodcompressed_allreduce
(self, buffer_m: torch.tensor, worker_error, server_error, local_rank)
deepspeed/runtime/comm/nccl.py:54
Methodcompute_attention
(self, qkv_out, input_mask, layer_past, alibi)
deepspeed/ops/transformer/inference/ds_attention.py:211
Functionconfigure
Configure DeepSpeed Activation Checkpointing. Arguments: mpu_: Optional: An object that implements the following methods get_
deepspeed/runtime/activation_checkpointing/checkpointing.py:789
Functionconfigure_data
add cmdline flags for configuring datasets
DeepSpeedExample/megatron/deprecated_data_utils/configure_data.py:235
Functionconvert_conv1d_to_linear
This is a help function to convert conv1d to linear (e.g., convert GPT2 from HF)
deepspeed/compression/helper.py:233
Functionconvert_ids_to_tokens
(inv_vocab, ids)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:148
Methodconvert_ids_to_tokens
Converts a sequence of ids in BPE tokens using the vocab.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization_gpt2.py:267
Methodconvert_ids_to_tokens
(self, ids)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:181
Methodconvert_to_linear_transposed
(self, model)
deepspeed/runtime/hybrid_engine.py:71
Functionconvert_to_random_ltd
(model, convert_type)
deepspeed/runtime/data_pipeline/data_routing/helper.py:11
Functionconvert_tokens_to_ids
(vocab, tokens)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:144
Methodconvert_tokens_to_ids
(self, tokens)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:178
Methodcopy_data_to_new_module
(self)
deepspeed/module_inject/containers/base_moe.py:118
Methodcopy_data_to_new_module
(self)
deepspeed/module_inject/containers/features/meta_tensor.py:38
Methodcopy_gradients_to_cpu
()
deepspeed/runtime/zero/stage_1_and_2.py:1065
Functioncopy_tensor_model_parallel_attributes
(destination_tensor, source_tensor)
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:80
Functioncore_transformer_config_from_args
(args)
DeepSpeedExample/megatron/arguments.py:30
Methodcreate
(self, tag)
deepspeed/runtime/checkpoint_engine/nebula_checkpoint_engine.py:38
Methodcreate
(self, tag)
deepspeed/runtime/checkpoint_engine/torch_checkpoint_engine.py:17
Functioncreate_adagrad_optimizer
deepspeed/ops/csrc/adagrad/cpu_adagrad.cpp:167
Functioncreate_adam_optimizer
deepspeed/ops/csrc/adam/cpu_adam.cpp:1840
Functioncreate_cl_buffer
deepspeed/ops/csrc/adam/cpu_adam.cpp:2232
Functioncreate_doc_idx
(sizes)
DeepSpeedExample/megatron/data/indexed_dataset.py:119
Functioncreate_doc_idx
(sizes)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:130
Methodcreate_ds_model_config
(self)
deepspeed/module_inject/containers/base_moe.py:38
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/distil_bert.py:22
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/gptneo.py:27
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/clip.py:20
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/gpt2.py:18
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/bert.py:22
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/bloom.py:27
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/llama.py:30
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/megatron_gpt.py:21
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/gptneox.py:26
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/megatron_gpt_moe.py:22
Methodcreate_module
(self, config=None)
deepspeed/module_inject/containers/gptj.py:27
Methodcreate_op_builder
(self, class_name)
deepspeed/accelerator/npu_accelerator.py:224
Methodcreate_op_builder
(self, class_name)
deepspeed/accelerator/cuda_accelerator.py:249
Methodcreate_op_builder
(self, class_name)
deepspeed/accelerator/abstract_accelerator.py:234
Functioncreate_transformer_layer
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:596
Methodcummulative_sizes
(self)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:117
Methodcurrent_device
(self)
deepspeed/accelerator/abstract_accelerator.py:34
Methodcurrent_device_name
(self)
deepspeed/accelerator/npu_accelerator.py:39
Methodcurrent_device_name
(self)
deepspeed/accelerator/cuda_accelerator.py:43
Methodcurrent_device_name
(self)
deepspeed/accelerator/abstract_accelerator.py:38
Methodcurrent_stream
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:84
Methodcurrent_stream
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:88
Methodcurrent_stream
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:89
Methodcurriculum_learning_config
(self)
deepspeed/runtime/engine.py:538
Methodcustom
(start, end)
DeepSpeedExample/megatron/core/transformer/transformer_block.py:129
Methodcustom
(start, end)
DeepSpeedExample/megatron/model/transformer.py:950
Methodcustom_forward
(*inputs)
DeepSpeedExample/megatron/core/transformer/attention.py:65
Methodcustom_forward
(*args, **kwargs)
DeepSpeedExample/megatron/core/transformer/transformer_block.py:130
Methodcustom_forward
(*inputs)
DeepSpeedExample/megatron/model/transformer.py:951
Methodcxx_args
(self)
deepspeed/ops/op_builder/sparse_attn.py:27
Methodcxx_args
(self)
deepspeed/ops/op_builder/async_io.py:34
Methodcxx_args
(self)
deepspeed/ops/op_builder/fused_lamb.py:27
Methodcxx_args
(self)
deepspeed/ops/op_builder/builder.py:708
Methodcxx_args
(self)
deepspeed/ops/op_builder/fused_adam.py:27
Methoddata_efficiency_enabled
(self)
deepspeed/runtime/engine.py:523
Methoddata_sampling_enabled
(self)
deepspeed/runtime/engine.py:529
Functiondataset_exists
(path, impl)
DeepSpeedExample/megatron/data/indexed_dataset.py:75
Functiondataset_exists
(path, impl)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:84
Methoddeallocate
hls_smartInfinity/src/host/g16_host_step_adam.cpp:65
Methoddeallocate
hls_smartInfinity/src/host/host_step_adam.cpp:65
Methoddeallocate
hls_smartInfinity/src/host/host_step_adam_topk.cpp:71
Methoddeallocate
hls_smartInfinity/src/host/host_step_sgd.cpp:62
Methoddeallocate
hls_smartInfinity/src/host/host_step_adagrad_topk.cpp:70
Methoddeallocate
hls_smartInfinity/src/host/host_step_adagrad.cpp:63
Methoddeallocate
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:67
Methoddeallocate
hls_smartInfinity/src/host/g16_host_step_adam_topk.cpp:71
Methoddeallocate
deepspeed/ops/csrc/adam/cpu_adam.cpp:68
Functiondebug_module2name_class
(module)
deepspeed/utils/debug.py:34
Functiondebug_param2name_id_numel
(param)
deepspeed/utils/debug.py:57
Methoddecode_token_ids
(self, token_ids)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:158
Methoddeepspeed_aio_config_t
deepspeed/ops/csrc/aio/common/deepspeed_aio_types.cpp:19
Methoddeepspeed_aio_handle_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:19
Methoddeepspeed_aio_thread_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_aio_thread.cpp:38
Methoddeepspeed_pin_tensor_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_pin_tensor.h:20
Functiondeepspeed_py_aio_read
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio.cpp:81
Functiondeepspeed_py_aio_write
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio.cpp:42
Functiondeepspeed_py_memcpy
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_copy.cpp:124
Methoddefault_generator
(self, device_index)
deepspeed/accelerator/npu_accelerator.py:73
Methoddefault_generator
(self, device_index)
deepspeed/accelerator/cuda_accelerator.py:77
Methoddefault_generator
(self, device_index)
deepspeed/accelerator/abstract_accelerator.py:75
Functiondefault_inference_config
Return a default DeepSpeed inference configuration dictionary.
deepspeed/__init__.py:253
Methoddefault_stream
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:87
Methoddefault_stream
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:91
Methoddefault_stream
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:93
Methoddel_extra_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:350
← previousnext →3,601–3,700 of 4,989, ranked by callers