Skip to content

Commit

Permalink
remove jobgroup, basejobgroup, colocatedjobgroup and related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaputko committed Oct 22, 2024
1 parent a39246e commit 10a3e6f
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 475 deletions.
3 changes: 0 additions & 3 deletions smartsim/entity/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import abc
import typing as t

from smartsim.launchable.job_group import JobGroup

if t.TYPE_CHECKING:
from smartsim.launchable.job import Job
Expand Down Expand Up @@ -136,5 +135,3 @@ class CompoundEntity(abc.ABC):

@abc.abstractmethod
def build_jobs(self, settings: LaunchSettings) -> t.Collection[Job]: ...
def as_job_group(self, settings: LaunchSettings) -> JobGroup:
return JobGroup(list(self.build_jobs(settings)))
4 changes: 2 additions & 2 deletions smartsim/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ def _on_disable(self) -> None:
# pylint: disable=no-self-use
class Experiment:
"""The Experiment class is used to schedule, launch, track, and manage
jobs and job groups. Also, it is the SmartSim class that manages
jobs. Also, it is the SmartSim class that manages
internal data structures, processes, and infrastructure for interactive
capabilities such as the SmartSim dashboard and historical lookback on
launched jobs and job groups. The Experiment class is designed to be
launched jobs. The Experiment class is designed to be
initialized once and utilized throughout the entirety of a workflow.
"""

Expand Down
3 changes: 0 additions & 3 deletions smartsim/launchable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from .base_job import BaseJob
from .base_job_group import BaseJobGroup
from .colocated_job_group import ColocatedJobGroup
from .job import Job
from .job_group import JobGroup
from .launchable import Launchable
from .mpmd_job import MPMDJob
from .mpmd_pair import MPMDPair
91 changes: 0 additions & 91 deletions smartsim/launchable/base_job_group.py

This file was deleted.

75 changes: 0 additions & 75 deletions smartsim/launchable/colocated_job_group.py

This file was deleted.

96 changes: 0 additions & 96 deletions smartsim/launchable/job_group.py

This file was deleted.

95 changes: 0 additions & 95 deletions tests/temp_tests/test_colocatedJobGroup.py

This file was deleted.

Loading

0 comments on commit 10a3e6f

Please sign in to comment.