Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Sep 20, 2023
1 parent bdb7fc1 commit 46cdfec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smartsim/telemetrymonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@

@dataclass
class PersistableEntity:
"""Minimal model required for monitoring an entity in the JobManager"""
entity_type: str
name: str
job_id: str
Expand All @@ -94,6 +95,7 @@ def is_managed(self) -> bool:

@dataclass
class Run:
"""Model containing entities of an individual start call for an experiment"""
timestamp: int
models: t.List[PersistableEntity]
orchestrators: t.List[PersistableEntity]
Expand All @@ -111,6 +113,8 @@ def flatten(

@dataclass
class RuntimeManifest:
"""The runtime manifest holds meta information about the experiment entities created
at runtime to satisfy the experiment requirements."""
name: str
path: pathlib.Path
launcher: str
Expand Down

0 comments on commit 46cdfec

Please sign in to comment.