slimgroup / WISE.jl

WISE: full-Waveform variational Inference via Subsurface Extensions
https://doi.org/10.1190/geo2023-0744.1
MIT License
2 stars 0 forks source link

WISE packaging in docker #7

Open advaitb opened 1 month ago

advaitb commented 1 month ago

Hi @ziyiyin97 ,

Have you tried packaging WISE scripts (or julia scripts) in docker. Whenever I do that, and instantiate the package it clones and downloads all packages from Manifest while running the script which makes the runtime longer. Is there a way to pre-download all libraries (like in python) and then just activate the package during runtime?

ziyiyin97 commented 1 month ago

Good point! I am recently working with a cluster so a new run does not need to download all the Julia packages, but if you are working with cloud service then there can be a significant overhead for each run. I will find some time this week or next week to push out a docker image. Thanks for your feedback.