Skip to content

Commit

Permalink
Merge pull request #738 from mlrun/development
Browse files Browse the repository at this point in the history
[batch_inference]  add 1.5.0 notice
  • Loading branch information
aviaIguazio authored Nov 15, 2023
2 parents e618822 + 3806da7 commit dbf273b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
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

0 comments on commit dbf273b

Please sign in to comment.