mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-11-01 14:29:45 +00:00
[hot-fix] Fix memory leakage bug, support TP+PP (#6258)
* update help information * update style * fix * minor fix * support PP training * add pp support * remove unused code * address conversation * fix memory leakage support tp+pp * move empty cache * move empty cache --------- Co-authored-by: Tong Li <tong.li35271158@gmail.com>
This commit is contained in:
@@ -121,7 +121,7 @@ if __name__ == "__main__":
|
||||
# plugin_config={}, # for zero
|
||||
plugin_config={
|
||||
"pp_size": 2,
|
||||
"tp_size": 1,
|
||||
"tp_size": 2,
|
||||
"microbatch_size": args.train_microbatch_size // 2,
|
||||
"zero_stage": 0,
|
||||
"max_norm": 1.0,
|
||||
|
||||
Reference in New Issue
Block a user