Skip to content

Commit

Permalink
fix(cpu-offload): fix import order
Browse files Browse the repository at this point in the history
Signed-off-by: dbyoung18 <[email protected]>
  • Loading branch information
dbyoung18 committed Nov 24, 2024
1 parent caf8e20 commit d9cce7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchao/prototype/low_bit_optim/cpu_offload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch
from torch.optim.optimizer import Optimizer, ParamsT

from torchao.utils import get_available_devices, TORCH_VERSION_AT_LEAST_2_4
from torchao.utils import TORCH_VERSION_AT_LEAST_2_4, get_available_devices


class CPUOffloadOptimizer:
Expand Down

0 comments on commit d9cce7b

Please sign in to comment.