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
When using dask to parallelize model fitting, the generated dask graph may contain dynamically defined functions or that are not picklable. This commit refactors the fit function to a module-level function, ensuring that the results can be pickled.
Using modelfit with progress=True now requires the package to be installed with the progress optional dependency group, like pip install xarray-lmfit[progress]. (d7324c9)
While adding dask support, this release drops support for rudimentary joblib-based parallelization across multiple data variables; this removes the parallel and parallel_kw arguments to modelfit. Use dask arrays as an alternative. (d3f90df)
modelfit: properly support dask and drop support for joblib-based parallelization (d3f90df)
modelfit now supports dask arrays properly with minimal serialization overhead.
♻️ Code Refactor
modelfit: make tqdm an optional dependency (#20) (d7324c9)
The tqdm package which provides the progress bar when progress=True is now an optional dependency. If not installed, passing progress=True to modelfit will now result in an error.