Skip to content

Commit

Permalink
run isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorrent authored and mryab committed Jul 13, 2024
1 parent 4ebc04f commit c6ef1f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchmarks/benchmark_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import torch
import torchvision
from packaging import version
from torch import nn as nn
from torch.nn import functional as F
from torch.utils.data import Dataset
Expand All @@ -16,8 +17,6 @@
from hivemind.optim.optimizer import Optimizer
from hivemind.utils.crypto import RSAPrivateKey

from packaging import version

torch_version = torch.__version__.split("+")[0]

if version.parse(torch_version) >= version.parse("2.3.0"):
Expand Down

0 comments on commit c6ef1f7

Please sign in to comment.