Skip to content

Commit

Permalink
add prints
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Chan <jesse.chan@databricks.com>
  • Loading branch information
jessechancy committed May 6, 2024
1 parent 4dbd76b commit 0d116f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlflow/models/evaluation/default_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,7 @@ def _evaluate(
else:
# model is constructed from a user specified function or not provided
self.model_loader_module, self.raw_model = None, None
print("EXTRACTING PREDICTION FUNCTION")

Check failure on line 1869 in mlflow/models/evaluation/default_evaluator.py

View workflow job for this annotation

GitHub Actions / lint

`print` found. See https://docs.astral.sh/ruff/rules/T201 for how to fix this error.
self.predict_fn, self.predict_proba_fn = _extract_predict_fn(model, self.raw_model)

self.artifacts = {}
Expand Down Expand Up @@ -1919,6 +1920,7 @@ def evaluate(
predictions=None,
**kwargs,
):
print("USING DEFAULT EVALUTOR")

Check failure on line 1923 in mlflow/models/evaluation/default_evaluator.py

View workflow job for this annotation

GitHub Actions / lint

`print` found. See https://docs.astral.sh/ruff/rules/T201 for how to fix this error.
if model is None and predictions is None and dataset.predictions_data is None:
raise MlflowException(
message=(
Expand Down

0 comments on commit 0d116f6

Please sign in to comment.