Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 96c9f03 commit 7bf77cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/utils/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def construct_dataset(system):
with Pool(os.cpu_count()) as pool:
self.systems = pool.map(construct_dataset, systems)
else:
self.systems = [None] * len(systems) # type: ignore
self.systems = [None] * len(systems) # type: ignore
if dist.is_initialized():
dist.broadcast_object_list(self.systems)
assert self.systems[-1] is not None
Expand Down

0 comments on commit 7bf77cb

Please sign in to comment.