Skip to content

Commit

Permalink
Update daft/runners/pyrunner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jaychia authored and Jay Chia committed Jul 30, 2024
1 parent 50cc5e2 commit 5051980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daft/runners/pyrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def build_partitions(
for part, partial in zip(partitions, final_metadata)
]

# Release CPU and GPU resources, but not memory since the future has not been consumed yet
# Release CPU, GPU and memory resources
with self._resource_accounting_lock:
self._available_bytes_memory += resource_request.memory_bytes or 0
self._available_cpus += resource_request.num_cpus or 0.0
Expand Down

0 comments on commit 5051980

Please sign in to comment.