Skip to content

Commit

Permalink
refactor(runtime): Integrate metahyper closely
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Apr 25, 2024
1 parent cf34bdc commit cc124c1
Show file tree
Hide file tree
Showing 35 changed files with 1,396 additions and 1,077 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:

- name: Run pytest
timeout-minutes: 15
run: poetry run pytest -m "all_examples or metahyper or neps_api or summary_csv"
run: poetry run pytest -m "all_examples or runtime or neps_api or summary_csv"
6 changes: 3 additions & 3 deletions neps/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""API for the neps package.
"""

from __future__ import annotations

import logging
Expand All @@ -10,7 +9,8 @@

import ConfigSpace as CS

from .metahyper import instance_from_map, metahyper_run
from neps.utils.common import instance_from_map
from neps.runtime import launch_runtime
from .optimizers import BaseOptimizer, SearcherMapping
from .plot.tensorboard_eval import tblogger
from .search_spaces.parameter import Parameter
Expand Down Expand Up @@ -271,7 +271,7 @@ def run(
if development_stage_id is not None:
root_directory = Path(root_directory) / f"dev_{development_stage_id}"

metahyper_run(
launch_runtime(
run_pipeline,
searcher_instance,
searcher_info,
Expand Down
2 changes: 0 additions & 2 deletions neps/metahyper/__init__.py

This file was deleted.

36 changes: 0 additions & 36 deletions neps/metahyper/_locker.py

This file was deleted.

Loading

0 comments on commit cc124c1

Please sign in to comment.