Skip to content

Commit

Permalink
Merge pull request #571 from scipion-em/jj_fix_runSteps_executor
Browse files Browse the repository at this point in the history
V3.10.2
  • Loading branch information
pconesa authored Oct 14, 2024
2 parents 3919ee2 + e2fef0f commit b8d48c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
V3.10.2: hotfix: Executor frees the GPU/s used via step id instead of node.
V3.10.1: hotfix: Avoid double Gpu assignment in scipion parallelize protocols with concurrent GPU steps
V3.10.0
developers:
Expand Down
2 changes: 1 addition & 1 deletion pyworkflow/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
VERSION_1_1 = '1.1.0'
VERSION_1_2 = '1.2.0'
VERSION_2_0 = '2.0.0'
VERSION_3_0 = '3.10.1'
VERSION_3_0 = '3.10.2'

# For a new release, define a new constant and assign it to LAST_VERSION
# The existing one has to be added to OLD_VERSIONS list.
Expand Down
2 changes: 1 addition & 1 deletion pyworkflow/protocol/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def runSteps(self, steps,
for node in nodesFinished:
step = runningSteps.pop(node) # remove entry from runningSteps
freeNodes.append(node) # the node is available now
self.freeGpusSlot(node)
self.freeGpusSlot(step.getObjId())
# Notify steps termination and check if we should continue
doContinue = stepFinishedCallback(step)
if not doContinue:
Expand Down

0 comments on commit b8d48c0

Please sign in to comment.