Skip to content

Commit

Permalink
pushing make style
Browse files Browse the repository at this point in the history
  • Loading branch information
amandarichardsonn committed Mar 6, 2024
1 parent b3ce5b5 commit e00b5d0
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion smartsim/_core/_cli/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
from types import TracebackType

import numpy as np
from smartredis import Client

from smartredis import Client
from smartsim import Experiment
from smartsim._core._cli.utils import SMART_LOGGER_FORMAT
from smartsim._core.utils.helpers import installed_redisai_backends
Expand Down
1 change: 0 additions & 1 deletion smartsim/_core/control/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
from os import environ

from smartredis import Client, ConfigOptions

from smartsim._core.utils.network import get_ip_from_host

from ..._core.launcher.step import Step
Expand Down
2 changes: 1 addition & 1 deletion smartsim/_core/entrypoints/colocated.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

import filelock
import psutil

from smartredis import Client, ConfigOptions
from smartredis.error import RedisConnectionError, RedisReplyError

from smartsim._core.utils.network import current_ip
from smartsim.error import SSInternalError
from smartsim.log import get_logger
Expand Down
1 change: 1 addition & 0 deletions smartsim/_core/utils/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import redis
from redis.cluster import ClusterNode, RedisCluster
from redis.exceptions import ClusterDownError, RedisClusterException

from smartredis import Client
from smartredis.error import RedisReplyError

Expand Down
1 change: 1 addition & 0 deletions smartsim/database/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from shlex import split as sh_split

import psutil

from smartredis import Client, ConfigOptions
from smartredis.error import RedisReplyError

Expand Down
1 change: 1 addition & 0 deletions smartsim/ml/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from os import environ

import numpy as np

from smartredis import Client, Dataset
from smartredis.error import RedisReplyError

Expand Down
2 changes: 1 addition & 1 deletion smartsim/ml/torch/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

import numpy as np
import torch
from smartredis import Client, Dataset

from smartredis import Client, Dataset
from smartsim.ml.data import DataDownloader


Expand Down
1 change: 1 addition & 0 deletions tests/backends/run_sklearn_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from sklearn.ensemble import RandomForestRegressor
from sklearn.linear_model import LinearRegression
from sklearn.model_selection import train_test_split

from smartredis import Client


Expand Down
2 changes: 1 addition & 1 deletion tests/backends/run_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
import os

import numpy as np
from smartredis import Client
from tensorflow import keras

from smartredis import Client
from smartsim.ml.tf import freeze_model, serialize_model


Expand Down
1 change: 1 addition & 0 deletions tests/backends/run_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import torch
import torch.nn as nn
import torch.nn.functional as F

from smartredis import Client


Expand Down
2 changes: 1 addition & 1 deletion tests/backends/test_cli_mini_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
from contextlib import contextmanager

import pytest
import smartredis

import smartredis
import smartsim._core._cli.validate
from smartsim._core.utils.helpers import installed_redisai_backends

Expand Down
2 changes: 1 addition & 1 deletion tests/backends/test_dbscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
import sys

import pytest
from smartredis import *

from smartredis import *
from smartsim import Experiment, status
from smartsim._core.utils import installed_redisai_backends
from smartsim.entity.dbobject import DBScript
Expand Down
1 change: 1 addition & 0 deletions tests/test_configs/run_dbscript_smartredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

import numpy as np
from pytest import approx

from smartredis import Client


Expand Down
1 change: 1 addition & 0 deletions tests/test_configs/run_pt_dbmodel_smartredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@


import numpy as np

from smartredis import Client


Expand Down
1 change: 1 addition & 0 deletions tests/test_configs/run_tf_dbmodel_smartredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@


import numpy as np

from smartredis import Client


Expand Down
1 change: 1 addition & 0 deletions tests/test_configs/send_data_local_smartredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import numpy as np

from smartredis import Client


Expand Down

0 comments on commit e00b5d0

Please sign in to comment.