Skip to content

Commit

Permalink
"fix" weird pre-commit issue?
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Nov 19, 2024
1 parent a9a8de7 commit daab5ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
import omegaconf
import rich
import wandb
from hydra_plugins.auto_schema import auto_schema_plugin
from omegaconf import DictConfig

from hydra_plugins.auto_schema import auto_schema_plugin
from project.algorithms.jax_ppo import EvalMetrics
from project.configs import add_configs_to_hydra_store
from project.configs.config import Config
Expand Down
3 changes: 1 addition & 2 deletions project/utils/remote_launcher_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
from hydra.plugins.plugin import Plugin
from hydra.types import HydraContext, TaskFunction
from hydra.utils import instantiate
from hydra_plugins.hydra_submitit_launcher.submitit_launcher import BaseSubmititLauncher
from omegaconf import DictConfig
from remote_slurm_executor.slurm_remote import RemoteSlurmExecutor
from remote_slurm_executor.utils import LoginNode

from hydra_plugins.hydra_submitit_launcher.submitit_launcher import BaseSubmititLauncher

logger = logging.getLogger(__name__)


Expand Down
4 changes: 2 additions & 2 deletions project/utils/remote_launcher_plugin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
import omegaconf
import pytest
from hydra import initialize_config_module
from hydra_plugins.hydra_submitit_launcher.config import SlurmQueueConf
from hydra_plugins.hydra_submitit_launcher.submitit_launcher import SlurmLauncher
from milatools.utils.remote_v2 import is_already_logged_in

import project.main
import project.utils.remote_launcher_plugin
from hydra_plugins.hydra_submitit_launcher.config import SlurmQueueConf
from hydra_plugins.hydra_submitit_launcher.submitit_launcher import SlurmLauncher
from project.main import PROJECT_NAME, main
from project.main_test import CONFIG_DIR
from project.utils import remote_launcher_plugin
Expand Down

0 comments on commit daab5ac

Please sign in to comment.