Skip to content

Feat/ram efficient xdmf archiving - #75

Merged
vincentlannelongue merged 6 commits into
mainfrom
feat/RAM-efficient-xdmf-archiving
Mar 27, 2026
Merged

Feat/ram efficient xdmf archiving#75
vincentlannelongue merged 6 commits into
mainfrom
feat/RAM-efficient-xdmf-archiving

Conversation

@vincentlannelongue

Copy link
Copy Markdown
Collaborator

Validation and prediction in LightningModule was done by generating all predictions to save the XDMF/HDF5 archive at the end. When working with large simulations, memory can become a limitation.

The prediction and validation batches are now added to the archive files on the go and there is no need to store the whole predicted simulation in the memory. This also comes with a faster compressing time for same compression level. When lowering compression settings in HDF5 data, speed can be further increased.

@vincentlannelongue vincentlannelongue self-assigned this Mar 24, 2026
@vincentlannelongue vincentlannelongue added the enhancement New feature or request label Mar 24, 2026
@vincentlannelongue
vincentlannelongue merged commit 0a5d0f5 into main Mar 27, 2026
1 check passed
@vincentlannelongue
vincentlannelongue deleted the feat/RAM-efficient-xdmf-archiving branch April 23, 2026 17:38
vincentlannelongue added a commit that referenced this pull request Apr 23, 2026
* Add xdmf append function and update lightning module

* Add tests for lightining module and meshiomesh and remove compress parameter

* Add lxml requirement to CI/CD

* Add compression parameter in lightning module

* Rename compression parameter

* Update readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants