Skip to content

Commit

Permalink
cleaned up not used imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloLurati committed Jul 1, 2024
1 parent 4df1b0d commit 29a507c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
3 changes: 0 additions & 3 deletions kernel_tuner/runners/parallel.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import logging
import ray
import sys
import os
from ray.util.actor_pool import ActorPool
from time import perf_counter
from collections import deque
import copy

from kernel_tuner.core import DeviceInterface
from kernel_tuner.runners.runner import Runner
from kernel_tuner.runners.ray.remote_actor import RemoteActor
from kernel_tuner.util import get_num_devices, GPUTypeMismatchError
from kernel_tuner.runners.ray.cache_manager import CacheManager
from kernel_tuner.strategies.common import create_actor_on_device, initialize_ray
Expand Down
2 changes: 0 additions & 2 deletions kernel_tuner/runners/ray/remote_actor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import ray
import sys
import copy

from kernel_tuner.runners.sequential import SequentialRunner
from kernel_tuner.runners.simulation import SimulationRunner
Expand Down
15 changes: 1 addition & 14 deletions kernel_tuner/strategies/ensemble.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
import random
import sys
import os
import ray
import copy
import logging
import warnings
from collections import deque

import numpy as np

from kernel_tuner import util
from kernel_tuner.searchspace import Searchspace
from kernel_tuner.strategies import common
from kernel_tuner.strategies.common import CostFunc, scale_from_params, check_num_devices, create_actor_on_device, initialize_ray
from kernel_tuner.strategies.common import initialize_ray
from kernel_tuner.runners.simulation import SimulationRunner
from kernel_tuner.runners.ray.remote_actor import RemoteActor
from kernel_tuner.util import get_num_devices
from kernel_tuner.runners.ray.cache_manager import CacheManager
from kernel_tuner.runners.parallel import ParallelRunner

from kernel_tuner.strategies import (
Expand Down

0 comments on commit 29a507c

Please sign in to comment.