Closed rxm7706 closed 8 months ago
Both have the same files. Should we make mlflow
depend on mlflow-skinny
im general?
Both have the same files. Should we make
mlflow
depend onmlflow-skinny
im general?
That's possible - I didn't think of that
I was thinking of trying
run_constrained:
- mlflow{{ mlflow_other }} <0a0
run_constrained:
- mlflow{{ mlflow_other }} == {version)
Looking at how source is organized ; your suggestion seems to be a cleaner approach. https://github.com/mlflow/mlflow/tree/master/requirements https://github.com/mlflow/mlflow/blob/master/setup.py
LMK which approach - you'd like me to try -- or if we should try both
I would prefer the one where mlflow
depends on mlflow-skinny
. This doesn't match the pip
based approach but is cleaner and something we can do in conda here which is probably not that simple with pip
.
@xhochy - thank you, understood, I can take a shot at it next week.
Solution to issue cannot be found in the documentation.
Issue
I was not expecting that ML-FLOW skinny & ML-FLOW could not be installed together using conda.
My assumption was that most packages that inherited mlflow as a dependency; would move to changing their dependency to mlfow-skinny (similar to matplotlib vs matplotlib-base) to avoid package bloat.
Using PiP & Poetry I was able to install mlflow & mlflow-skinny in the same environment - using conda I received this error
Could not solve for environment specs The following packages are incompatible ├─ mlflow 2.8.1 would require │ └─ mlflow-skinny <0a0 ,
It probably comes down to how we have defined run constraints in the conda recipe
stack-trace
Installed packages
Environment info