Skip to content

Commit

Permalink
Fix relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
Edenzzzz committed Nov 13, 2024
1 parent 98fa553 commit 7f744a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_optimizer/test_adam_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

from colossalai.nn.optimizer import CPUAdam, FusedAdam, HybridAdam
from tests.kit.model_zoo import model_zoo

from ._utils import force_assign_grad, setup_param_groups
from tests.test_optimizer._utils import force_assign_grad, setup_param_groups

_ALLOWED_OPTIM_DEVICES = [
(FusedAdam, torch.device("cuda:0")),
Expand Down

0 comments on commit 7f744a0

Please sign in to comment.