-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MLflow Experiments with Merlin containers[QST] #1073
Comments
@rnyak could you comment on this issue, please, or could you recommend a solution? |
Hi @hkristof03 , unfortunately we don't have the bandwidth right now to support dependency interactions. Is the reason it's trying to uninstall because there's a conflict with the version of blinker? Are you able to update it manually to a newer version that's compatible with what MLflow requires? |
Try doing a (slightly unsafe) forced upgrade of blinker without first uninstalling it: FROM nvcr.io/nvidia/merlin/merlin-tensorflow:23.09
WORKDIR /workspace
RUN pip install --ignore-installed blinker
RUN pip install mlflow
CMD ["jupyter-lab", "--allow-root", "--ip='0.0.0.0'", "--NotebookApp.token=''", "--no-browser"] I was able to build this container and launch jupyterlab. Inside jupyterlab I opened a terminal and started mlflow
Then create an experiment/run and log params successfully: import mlflow
mlflow.set_tracking_uri("http://localhost:5000")
mlflow.create_experiment("my experiment")
with mlflow.start_run() as run:
mlflow.log_param("log_paramsey", "value") |
@hkristof03 I am closing this issue. Please see the solution idea from @nv-alaiacano above. if you need to reopen this ticket, pls do so. |
This solution doesn't work as soon as you start using Tensorflow, because installation of that kind breaks pandas. |
❓ Questions & Help
Hi everyone,
I am using the Tensorflow pre-built container to train Ranking models. I am trying to use MLflow to properly log the hyperparameters, results and artifacts but I am not able to install it. I saw it appearing for example here, but I haven't found an example and I could not install it in the container.
Details
Dockerfile:
Error:
I tried to install older MLflow versions but all attempts resulted in the error above. Is there a way to install MLflow in these pre-built containers and use it with Merlin? If it is already supported in a way, could you link the code / documentation / notebook?
The text was updated successfully, but these errors were encountered: