Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions batch_inference/batch_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@
import json
from datetime import datetime
from typing import Any, Dict, List, Tuple, Union
import semver

import mlrun
if semver.compare(mlrun.__version__, "1.5.0") >= 0:
raise mlrun.errors.MLRunNotFoundError(
f"When using `mlrun` version >=1.5.0, please use "
f"batch inference `v2` function ('hub://batch_inference_v2')."
)

import mlrun.datastore
import mlrun.utils
import numpy as np
Expand Down
Loading