Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Fix for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
krshrimali committed Jun 15, 2022
1 parent 1ba45af commit 051f67b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hp_space_generator/component.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from lightning import LightningFlow
import lightning as L


class HPSpaceGenerator(LightningFlow):
class HPSpaceGenerator(L.LightningFlow):
"""
The HP Engine Component is used to suggest a list of configurations (hyper-parameters) to run with some config
from the user for any task.
Expand Down
4 changes: 2 additions & 2 deletions hp_space_generator/search_strategy.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from typing import Dict, Any

from lightning import LightningWork
import lightning as L


# TODO: Maybe create a method which makes sure that the given format for the hpe Config Dictionary is correct
class SearchStrategy(LightningWork):
class SearchStrategy(L.LightningWork):
def __init__(self, should_preprocess=True, *args, **kwargs):
super().__init__(run_once=True, parallel=True, *args, **kwargs)
self.should_preprocess = should_preprocess
Expand Down

0 comments on commit 051f67b

Please sign in to comment.