Skip to content

Conversation

@den-sq
Copy link
Collaborator

@den-sq den-sq commented Oct 17, 2025

Intermediates have been rescoped to be single-file-per-z, stored sparsely, read out sequentially.

Simpler and more compact than managing #28.

Memory intermediates are trickier to handle due to memory resizing; Ramdrive may be best option but this is efficient enough that the additional complexity is not necessary, so closing #41.

den-sq and others added 3 commits October 16, 2025 21:18
Merge in Color Channel changes to intermediates branch.
- Switched to raw byte saving rather than TiffFiles (smaller, faster).
- Appending to single-Z as each entry can be written (and read) sequentially, with file locking.
- Temp Files now cleaned up as they are no longer needed.
- Indicies now written as squeeze type, and types are passed in the intermediate.
- Intermediate folders now PID-tagged and cleaned up when done, to avoid issues with consecutive runs.
@den-sq den-sq linked an issue Oct 17, 2025 that may be closed by this pull request
@den-sq den-sq merged commit 12b1ef0 into main Oct 17, 2025
2 checks passed
@den-sq den-sq deleted the 41-code-limited-memory-intermediates branch October 17, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code: (Limited) Memory Intermediates

2 participants