mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-16 06:30:41 +00:00
close mem and code print
This commit is contained in:
@@ -64,7 +64,7 @@ def _build_autochunk(model, max_memory, node, pair):
|
||||
)
|
||||
|
||||
# set code_gen
|
||||
codegen = AutoChunkCodeGen(gm_prop, max_memory)
|
||||
codegen = AutoChunkCodeGen(gm_prop, max_memory, print_mem=False)
|
||||
graph.set_codegen(codegen)
|
||||
gm = ColoGraphModule(model, graph)
|
||||
gm.recompile()
|
||||
|
Reference in New Issue
Block a user