mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-04 18:40:28 +00:00
[legacy] move builder and registry to legacy (#4603)
This commit is contained in:
@@ -5,7 +5,7 @@ Adapted from the pytorch-lamb library at https://github.com/cybertronai/pytorch-
|
||||
import torch
|
||||
from torch.optim import Optimizer
|
||||
|
||||
from colossalai.registry import OPTIMIZERS
|
||||
from colossalai.legacy.registry import OPTIMIZERS
|
||||
|
||||
|
||||
@OPTIMIZERS.register_module
|
||||
|
Reference in New Issue
Block a user