Skip to content

Commit

Permalink
step.py + pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Aug 2, 2023
1 parent 8ce3c1d commit 5543980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module = [
"redis.cluster",
"keras",
"torch",
"smartsim._core.launcher.step.*", # hints incomplete
"smartsim.ml.torch.*", # must solve/ignore inheritance issues
]
ignore_missing_imports = true
Expand Down
2 changes: 1 addition & 1 deletion smartsim/_core/launcher/step/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_colocated_launch_script(self) -> str:

db_settings: t.Dict[str, str] = {}
if isinstance(self.step_settings, RunSettings):
db_settings = self.step_settings.colocated_db_settings
db_settings = self.step_settings.colocated_db_settings or {}

# db log file causes write contention and kills performance so by
# default we turn off logging unless user specified debug=True
Expand Down

0 comments on commit 5543980

Please sign in to comment.