cancel
Showing results for 
Search instead for 
Did you mean: 
Support FAQs
Find answers to common questions and troubleshoot issues with Databricks support FAQs. Access helpful resources, tips, and solutions to resolve technical challenges and enhance your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 
Adam_Pavlacka
Databricks Employee
Databricks Employee

When using MLflow to log a model, be aware of warnings like the one below:

WARNING mlflow.utils.requirements_utils: The following packages were not found in the public PyPI package index as of 2022-12-21; if these packages are not present in the public PyPI index, you must install them manually before loading your model: {'spark-xgboost'}

This warning indicates that if certain package artifacts, such as spark-xgboost, are not available in PyPI, they won't be logged in the requirements.txt file. To recreate the model environment, these dependencies must be installed explicitly.

Here's an example:

%sh
git clone https://github.com/sllynn/spark-xgboost.git;
cd spark-xgboost;
pip install -e .
Version history
Last update:
‎01-10-2024 05:00 PM
Updated by:
Contributors