MCPcopy Create free account

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

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

Methodload_state_dict
(self, state_dict)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:316
Methodload_state_dict
(self, state_dict)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:102
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
deepspeed/runtime/fp16/fused_optimizer.py:427
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
deepspeed/runtime/fp16/unfused_optimizer.py:360
Methodload_state_dict
Overrides load_state_dict() to add special handling when loading checkpoints
deepspeed/runtime/fp16/onebit/lamb.py:385
Methodload_state_dict
Overrides load_state_dict() to add special handling when loading checkpoints
deepspeed/runtime/fp16/onebit/zoadam.py:319
Methodload_state_dict
Overrides load_state_dict() to add special handling when loading checkpoints
deepspeed/runtime/fp16/onebit/adam.py:258
Functionload_state_dict_from_zero_checkpoint
1. Put the provided model to cpu 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` 3. Load it into the pro
deepspeed/utils/zero_to_fp32.py:524
Functionload_transformer_layer
(module, prefix)
deepspeed/module_inject/load_checkpoint.py:62
Functionlocal_array
deepspeed/ops/csrc/includes/quantization_utils.h:381
Methodlocal_size
(self)
deepspeed/runtime/utils.py:714
Methodlog_for_device
(self, *msg)
deepspeed/runtime/pipe/engine.py:571
Functionlog_rank_file
Print to a log file of the given rank This is useful for debugging hanging in sync processes. Here is a possible workflow: 1. Enable th
deepspeed/utils/debug.py:100
Functionlog_summary
()
deepspeed/comm/comm.py:408
Methodlog_timers
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:205
Functionlog_wrapper
(*args, **kwargs)
deepspeed/comm/comm.py:102
Methodloss_scale
(self)
DeepSpeedExample/megatron/fp16/loss_scaler.py:60
Methodloss_scale
(self)
DeepSpeedExample/megatron/fp16/loss_scaler.py:188
Methodloss_scale
(self)
deepspeed/runtime/fp16/loss_scaler.py:52
Functionlru_cache
()
DeepSpeedExample/megatron/deprecated_data_utils/tokenization_gpt2.py:32
Functionlru_cache
()
DeepSpeedExample/megatron/tokenizer/gpt2_tokenization.py:34
Functionmain
()
DeepSpeedExample/tasks/race/finetune.py:60
Functionmain
()
DeepSpeedExample/tasks/glue/finetune.py:65
Functionmain
hls_smartInfinity/src/host/g16_host_step_adam.cpp:368
Functionmain
hls_smartInfinity/src/host/host_step_adam.cpp:373
Functionmain
hls_smartInfinity/src/host/host_step_adam_topk.cpp:398
Functionmain
hls_smartInfinity/src/host/host_step_sgd.cpp:331
Functionmain
hls_smartInfinity/src/host/host_step_adagrad_topk.cpp:369
Functionmain
hls_smartInfinity/src/host/host_step_adagrad.cpp:332
Functionmain
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:359
Functionmain
hls_smartInfinity/src/host/g16_host_step_adam_topk.cpp:398
Functionmain
deepspeed/ops/csrc/adam/opencl/adam/main.cpp:74
Functionmake_builder
(out_file, impl, vocab_size=None)
DeepSpeedExample/megatron/data/indexed_dataset.py:51
Functionmake_builder
(out_file, impl, vocab_size=None)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:60
Functionmake_dataset
(path, impl, skip_warmup=False)
DeepSpeedExample/megatron/data/indexed_dataset.py:58
Functionmake_dataset
function to create datasets+tokenizers for common options
DeepSpeedExample/megatron/deprecated_data_utils/__init__.py:68
Functionmake_dataset
(path, impl, skip_warmup=False)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:67
Methodmake_layout
Generates `Fixed` sparsity layout used by each head in the sparse attention. Arguments: seq_len: required: an integer determinin
deepspeed/ops/sparse_attention/sparsity_config.py:220
Methodmake_layout
Generates `Variable` sparsity layout used by each head in the sparse attention. Arguments: seq_len: required: an integer determi
deepspeed/ops/sparse_attention/sparsity_config.py:391
Methodmake_layout
Generates `BigBird` sparsity layout used by each head in the sparse attention. Arguments: seq_len: required: an integer determin
deepspeed/ops/sparse_attention/sparsity_config.py:526
Methodmake_layout
Generates edited `Longformer` sparsity layout used by each head in the sparse attention. Arguments: seq_len: required: an intege
deepspeed/ops/sparse_attention/sparsity_config.py:655
Methodmake_layout
Generates `Local Sliding Window` sparsity layout used by each head in the sparse attention. Arguments: seq_len: required: an inte
deepspeed/ops/sparse_attention/sparsity_config.py:715
Methodmake_lut
(layout, block, device)
deepspeed/ops/sparse_attention/softmax.py:128
Methodmanual_seed
(self, seed)
deepspeed/accelerator/npu_accelerator.py:64
Methodmanual_seed
(self, seed)
deepspeed/accelerator/cuda_accelerator.py:68
Methodmanual_seed
(self, seed)
deepspeed/accelerator/abstract_accelerator.py:63
Methodmanual_seed_all
(self, seed)
deepspeed/accelerator/cpu_accelerator.py:74
Methodmanual_seed_all
(self, seed)
deepspeed/accelerator/npu_accelerator.py:67
Methodmanual_seed_all
(self, seed)
deepspeed/accelerator/cuda_accelerator.py:71
Methodmanual_seed_all
(self, seed)
deepspeed/accelerator/abstract_accelerator.py:67
Methodmask
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:122
Methodmask
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:185
Functionmask_gather_bert
deepspeed/ops/csrc/random_ltd/pt_binding.cpp:141
Functionmask_gather_gpt
deepspeed/ops/csrc/random_ltd/pt_binding.cpp:180
Methodmatch
(self, module)
deepspeed/module_inject/containers/unet.py:23
Methodmatch_replaced
(self, module)
deepspeed/module_inject/containers/unet.py:26
Methodmax_allocated
(self)
deepspeed/runtime/zero/contiguous_memory_allocator.py:133
Methodmax_memory_allocated
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:101
Methodmax_memory_allocated
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:105
Methodmax_memory_allocated
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:111
Methodmax_memory_cached
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:110
Methodmax_memory_cached
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:114
Methodmax_memory_cached
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:123
Methodmax_memory_reserved
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:128
Methodmax_memory_reserved
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:132
Methodmax_memory_reserved
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:143
Functionmemcpy_async
deepspeed/ops/csrc/includes/memory_access_utils.h:923
Functionmemcpy_async_cg
Cache global variants. Separate interface to require deliberate use of them.
deepspeed/ops/csrc/includes/memory_access_utils.h:982
Functionmemcpy_async_fence
deepspeed/ops/csrc/includes/memory_access_utils.h:1031
Functionmemcpy_async_nop
deepspeed/ops/csrc/includes/memory_access_utils.h:934
Functionmemcpy_async_nop_cg
deepspeed/ops/csrc/includes/memory_access_utils.h:989
Functionmemcpy_async_wait
deepspeed/ops/csrc/includes/memory_access_utils.h:1034
Functionmemcpy_async_zero
deepspeed/ops/csrc/includes/memory_access_utils.h:950
Functionmemcpy_async_zero_cg
deepspeed/ops/csrc/includes/memory_access_utils.h:1003
Functionmemcpy_async_zero_nop
deepspeed/ops/csrc/includes/memory_access_utils.h:962
Functionmemcpy_async_zero_nop_cg
deepspeed/ops/csrc/includes/memory_access_utils.h:1013
Methodmemory_allocated
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:98
Methodmemory_allocated
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:102
Methodmemory_allocated
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:107
Methodmemory_cached
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:107
Methodmemory_cached
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:111
Methodmemory_cached
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:119
Methodmemory_reserved
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:124
Methodmemory_reserved
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:128
Methodmemory_reserved
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:139
Methodmemory_stats
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:116
Methodmemory_stats
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:120
Methodmemory_stats
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:131
Functionmemory_status
(msg, print_rank=-1, reset_max=False)
deepspeed/runtime/utils.py:725
Methodmemory_usage
()
deepspeed/utils/timer.py:122
Methodmerge_file_
(self, another_file)
DeepSpeedExample/megatron/data/indexed_dataset.py:294
Methodmerge_file_
(self, another_file)
DeepSpeedExample/megatron/data/indexed_dataset.py:554
Methodmerge_file_
(self, another_file)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:597
Methodmerge_gather_map_stats
(self, num_workers, num_threads, num_threads_reduce, t_idx_reduce, metric_save_path,
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:209
Methodmerge_metric_to_sample
(self, t_idx_reduce, metric_save_path, metric_name, sample_idx_dtype, metric_value_dtype,
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:237
Methodmerge_sample_to_metric
(self, t_idx_reduce, metric_save_path, metric_name, metric_value_dtype, map_wor
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:224
Methodmerge_state_dict
(self, mp_world_size, mp_rank, quan
deepspeed/runtime/state_dict_factory.py:301
Functionmetrics_func
(model, epoch, output_predictions=False)
DeepSpeedExample/tasks/eval_utils.py:44
Functionmetrics_func_provider
Privde metrics callback function.
DeepSpeedExample/tasks/race/finetune.py:48
Functionmetrics_func_provider
Privde metrics callback function.
DeepSpeedExample/tasks/glue/finetune.py:50
← previousnext →4,301–4,400 of 4,989, ranked by callers