Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Nov 23, 2024
1 parent 7a603a1 commit 90d43d4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/test_optimizer_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@
import torch
from torch import nn

from pytorch_optimizer.optimizer import (
SAM,
WSAM,
GaLoreProjector,
Lookahead,
PCGrad,
Ranger21,
SafeFP16Optimizer,
load_optimizer,
)
from pytorch_optimizer.optimizer import SAM, WSAM, Lookahead, PCGrad, Ranger21, SafeFP16Optimizer, load_optimizer
from pytorch_optimizer.optimizer.galore import GaLoreProjector
from tests.constants import PULLBACK_MOMENTUM
from tests.utils import Example, simple_parameter, simple_zero_rank_parameter

Expand Down

0 comments on commit 90d43d4

Please sign in to comment.