Skip to content

Commit

Permalink
rm unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed Dec 5, 2022
1 parent 25a654f commit 162249f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion hydra/plugins/sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Sweeper plugin interface
"""
from abc import abstractmethod
from typing import Any, List, Sequence, Optional, Dict, Tuple
from typing import Any, List, Sequence, Optional

from hydra.types import TaskFunction
from omegaconf import DictConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import logging
from pathlib import Path
from typing import Any, Dict, Union, List, Sequence
from itertools import repeat
from concurrent.futures import wait, FIRST_COMPLETED, ALL_COMPLETED

from hydra.core.hydra_config import HydraConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@

# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import logging
from multiprocessing import context
from pathlib import Path
from typing import Any, Dict, Union, List, Sequence
from itertools import repeat
from enum import Enum

import cloudpickle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,6 @@ def sweep(self, arguments: List[str]) -> None:
log.info(f"Directions: {directions}")

n_trials_to_go = self.n_trials
from copy import deepcopy as copy

experiment_sequence = instantiate(
{
"_target_": self.experiment_sequence_inst,
Expand Down

0 comments on commit 162249f

Please sign in to comment.