You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I've been migrating my demographic inference workflow from momi2 to momi3 (JAX-based) to take advantage of its improved computational capabilities. However, I've noticed a significant increase in memory requirements — several times higher than momi2 — especially when modeling migration events between demes.
My demographic model involves 5 demes (NW, BA, EB, EA, MA) with migration events between them, analyzed across ~216M genetic sites. Under momi2, this model runs successfully with manageable memory usage. Under momi3, the memory footprint grows substantially, making it difficult to run on standard hardware.
I'm raising this issue to ask:
Is the increased memory usage with migration events (particularly continuous migration) expected behavior in momi3 compared to momi2?
Are there recommended strategies or configurations for handling multi-deme models with migration events while keeping memory manageable?
Is there ongoing work on sparse tensor support in JAX that might help optimize memory for continuous migration scenarios?
Thank you!
Hi there!
Recently, I've been migrating my demographic inference workflow from momi2 to momi3 (JAX-based) to take advantage of its improved computational capabilities. However, I've noticed a significant increase in memory requirements — several times higher than momi2 — especially when modeling migration events between demes.
My demographic model involves 5 demes (NW, BA, EB, EA, MA) with migration events between them, analyzed across ~216M genetic sites. Under momi2, this model runs successfully with manageable memory usage. Under momi3, the memory footprint grows substantially, making it difficult to run on standard hardware.
I'm raising this issue to ask:
Is the increased memory usage with migration events (particularly continuous migration) expected behavior in momi3 compared to momi2?
Are there recommended strategies or configurations for handling multi-deme models with migration events while keeping memory manageable?
Is there ongoing work on sparse tensor support in JAX that might help optimize memory for continuous migration scenarios?
Thank you!