mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 03:20:52 +00:00
[legacy] move builder and registry to legacy (#4603)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from torch.optim.lr_scheduler import OneCycleLR as _OneCycleLR
|
||||
|
||||
from colossalai.registry import LR_SCHEDULERS
|
||||
from colossalai.legacy.registry import LR_SCHEDULERS
|
||||
|
||||
|
||||
@LR_SCHEDULERS.register_module
|
||||
|
Reference in New Issue
Block a user