mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-03 02:26:26 +00:00
[hotfix] pass a parameter. (#2288)
* [autockpt] make it work. * [autockpt] linearize / merge shape-consistency nodes. * [autockpt] considering parameter and optimizer weights. * [hotfix] pass a parameter.
This commit is contained in:
parent
22e947f982
commit
8ea50d999e
@ -50,7 +50,7 @@ class CheckpointSolverRotor(CheckpointSolverBase):
|
||||
optim_multiplier (float, optional): The multiplier of extra weight storage for the
|
||||
``torch.optim.Optimizer``. Default to 1.0.
|
||||
"""
|
||||
super().__init__(graph, free_memory, True, cnode)
|
||||
super().__init__(graph, free_memory, True, cnode, optim_multiplier)
|
||||
self.memory_slots = memory_slots
|
||||
|
||||
# construct chain
|
||||
|
Loading…
Reference in New Issue
Block a user