Skip to content

add gc method to dimwit package - #22

Merged
benikm91 merged 1 commit into
dimwit-dev:mainfrom
marcelluethi:gc
Jan 2, 2026
Merged

add gc method to dimwit package#22
benikm91 merged 1 commit into
dimwit-dev:mainfrom
marcelluethi:gc

Conversation

@marcelluethi

Copy link
Copy Markdown
Contributor

When running longer training loops, dimwit tends to run out of memory. A solution is to call both the Jax garbage collector and the JVM garbage collector.

The added method combines the calls and also hides them in the dimwit package, such that the user is not exposed to Jax methods.

@marcelluethi
marcelluethi requested a review from benikm91 January 2, 2026 12:34
@benikm91
benikm91 merged commit da6df67 into dimwit-dev:main Jan 2, 2026
1 check passed
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.

2 participants