Skip to content

Commit

Permalink
FuseRunner: increase memory margin
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzamuto committed Feb 18, 2022
1 parent 3c5be87 commit 19b0435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetastitcher/fuse/fuse_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run(self):

# size in bytes of an xy plane (including channels) (float32)
xy_size = (np.prod(self.output_shape[1::]) * 4).item()
n_frames_in_ram = int(ram / xy_size / 1.8)
n_frames_in_ram = int(ram / xy_size / 2.5)

n_loops = self.output_shape[0] // n_frames_in_ram

Expand Down

0 comments on commit 19b0435

Please sign in to comment.