mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 11:32:10 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -26,28 +26,28 @@ from .memory import (
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
'DataParallelSampler',
|
||||
'get_dataloader',
|
||||
'save_checkpoint',
|
||||
'load_checkpoint',
|
||||
'colo_device_memory_capacity',
|
||||
'colo_device_memory_used',
|
||||
'colo_get_cpu_memory_capacity',
|
||||
'colo_set_cpu_memory_capacity',
|
||||
'colo_set_process_memory_fraction',
|
||||
'report_memory_usage',
|
||||
'clip_grad_norm_fp32',
|
||||
'copy_tensor_parallel_attributes',
|
||||
'count_zeros_fp32',
|
||||
'is_dp_rank_0',
|
||||
'is_model_parallel_parameter',
|
||||
'is_no_pp_or_last_stage',
|
||||
'is_tp_rank_0',
|
||||
'is_using_ddp',
|
||||
'is_using_pp',
|
||||
'is_using_sequence',
|
||||
'param_is_not_tensor_parallel_duplicate',
|
||||
'print_rank_0',
|
||||
'switch_virtual_pipeline_parallel_rank',
|
||||
'sync_model_param',
|
||||
"DataParallelSampler",
|
||||
"get_dataloader",
|
||||
"save_checkpoint",
|
||||
"load_checkpoint",
|
||||
"colo_device_memory_capacity",
|
||||
"colo_device_memory_used",
|
||||
"colo_get_cpu_memory_capacity",
|
||||
"colo_set_cpu_memory_capacity",
|
||||
"colo_set_process_memory_fraction",
|
||||
"report_memory_usage",
|
||||
"clip_grad_norm_fp32",
|
||||
"copy_tensor_parallel_attributes",
|
||||
"count_zeros_fp32",
|
||||
"is_dp_rank_0",
|
||||
"is_model_parallel_parameter",
|
||||
"is_no_pp_or_last_stage",
|
||||
"is_tp_rank_0",
|
||||
"is_using_ddp",
|
||||
"is_using_pp",
|
||||
"is_using_sequence",
|
||||
"param_is_not_tensor_parallel_duplicate",
|
||||
"print_rank_0",
|
||||
"switch_virtual_pipeline_parallel_rank",
|
||||
"sync_model_param",
|
||||
]
|
||||
|
Reference in New Issue
Block a user