Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ Detailed Notes
([SmartSim-PR738](https://github.com/CrayLabs/SmartSim/pull/738))
- Removes an undocumented and unused dependency from the testing suite.
([SmartSim-PR792](https://github.com/CrayLabs/SmartSim/pull/792))
- Address potential type errors in SmartSim.
([SmartSim-PR798](https://github.com/CrayLabs/SmartSim/pull/798))


### 0.8.0
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ module = [
"keras",
"torch",
"smartsim.ml.torch.*", # must solve/ignore inheritance issues
"watchdog",
"dragon.*",
]
ignore_missing_imports = true
Expand Down
4 changes: 2 additions & 2 deletions smartsim/entity/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ def _stringify_id(_id: int) -> str:
return ",".join(_stringify_id(i) for i in range(cpus))
if not pin_ids:
return None
pin_ids = ((x,) if isinstance(x, int) else x for x in pin_ids)
to_fmt = itertools.chain.from_iterable(pin_ids)
pin_ids_ = ((x,) if isinstance(x, int) else x for x in pin_ids)
to_fmt = itertools.chain.from_iterable(pin_ids_)
return ",".join(sorted({_stringify_id(x) for x in to_fmt}))

def params_to_args(self) -> None:
Expand Down
Loading