mlrun 1.6.4rc7__py3-none-any.whl → 1.7.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mlrun might be problematic. Click here for more details.

Files changed (305) hide show
  1. mlrun/__init__.py +11 -1
  2. mlrun/__main__.py +40 -122
  3. mlrun/alerts/__init__.py +15 -0
  4. mlrun/alerts/alert.py +248 -0
  5. mlrun/api/schemas/__init__.py +5 -4
  6. mlrun/artifacts/__init__.py +8 -3
  7. mlrun/artifacts/base.py +47 -257
  8. mlrun/artifacts/dataset.py +11 -192
  9. mlrun/artifacts/manager.py +79 -47
  10. mlrun/artifacts/model.py +31 -159
  11. mlrun/artifacts/plots.py +23 -380
  12. mlrun/common/constants.py +74 -1
  13. mlrun/common/db/sql_session.py +5 -5
  14. mlrun/common/formatters/__init__.py +21 -0
  15. mlrun/common/formatters/artifact.py +45 -0
  16. mlrun/common/formatters/base.py +113 -0
  17. mlrun/common/formatters/feature_set.py +33 -0
  18. mlrun/common/formatters/function.py +46 -0
  19. mlrun/common/formatters/pipeline.py +53 -0
  20. mlrun/common/formatters/project.py +51 -0
  21. mlrun/common/formatters/run.py +29 -0
  22. mlrun/common/helpers.py +12 -3
  23. mlrun/common/model_monitoring/helpers.py +9 -5
  24. mlrun/{runtimes → common/runtimes}/constants.py +37 -9
  25. mlrun/common/schemas/__init__.py +31 -5
  26. mlrun/common/schemas/alert.py +202 -0
  27. mlrun/common/schemas/api_gateway.py +196 -0
  28. mlrun/common/schemas/artifact.py +25 -4
  29. mlrun/common/schemas/auth.py +16 -5
  30. mlrun/common/schemas/background_task.py +1 -1
  31. mlrun/common/schemas/client_spec.py +4 -2
  32. mlrun/common/schemas/common.py +7 -4
  33. mlrun/common/schemas/constants.py +3 -0
  34. mlrun/common/schemas/feature_store.py +74 -44
  35. mlrun/common/schemas/frontend_spec.py +15 -7
  36. mlrun/common/schemas/function.py +12 -1
  37. mlrun/common/schemas/hub.py +11 -18
  38. mlrun/common/schemas/memory_reports.py +2 -2
  39. mlrun/common/schemas/model_monitoring/__init__.py +20 -4
  40. mlrun/common/schemas/model_monitoring/constants.py +123 -42
  41. mlrun/common/schemas/model_monitoring/grafana.py +13 -9
  42. mlrun/common/schemas/model_monitoring/model_endpoints.py +101 -54
  43. mlrun/common/schemas/notification.py +71 -14
  44. mlrun/common/schemas/object.py +2 -2
  45. mlrun/{model_monitoring/controller_handler.py → common/schemas/pagination.py} +9 -12
  46. mlrun/common/schemas/pipeline.py +8 -1
  47. mlrun/common/schemas/project.py +69 -18
  48. mlrun/common/schemas/runs.py +7 -1
  49. mlrun/common/schemas/runtime_resource.py +8 -12
  50. mlrun/common/schemas/schedule.py +4 -4
  51. mlrun/common/schemas/tag.py +1 -2
  52. mlrun/common/schemas/workflow.py +12 -4
  53. mlrun/common/types.py +14 -1
  54. mlrun/config.py +154 -69
  55. mlrun/data_types/data_types.py +6 -1
  56. mlrun/data_types/spark.py +2 -2
  57. mlrun/data_types/to_pandas.py +67 -37
  58. mlrun/datastore/__init__.py +6 -8
  59. mlrun/datastore/alibaba_oss.py +131 -0
  60. mlrun/datastore/azure_blob.py +143 -42
  61. mlrun/datastore/base.py +102 -58
  62. mlrun/datastore/datastore.py +34 -13
  63. mlrun/datastore/datastore_profile.py +146 -20
  64. mlrun/datastore/dbfs_store.py +3 -7
  65. mlrun/datastore/filestore.py +1 -4
  66. mlrun/datastore/google_cloud_storage.py +97 -33
  67. mlrun/datastore/hdfs.py +56 -0
  68. mlrun/datastore/inmem.py +6 -3
  69. mlrun/datastore/redis.py +7 -2
  70. mlrun/datastore/s3.py +34 -12
  71. mlrun/datastore/snowflake_utils.py +45 -0
  72. mlrun/datastore/sources.py +303 -111
  73. mlrun/datastore/spark_utils.py +31 -2
  74. mlrun/datastore/store_resources.py +9 -7
  75. mlrun/datastore/storeytargets.py +151 -0
  76. mlrun/datastore/targets.py +453 -176
  77. mlrun/datastore/utils.py +72 -58
  78. mlrun/datastore/v3io.py +6 -1
  79. mlrun/db/base.py +274 -41
  80. mlrun/db/factory.py +1 -1
  81. mlrun/db/httpdb.py +893 -225
  82. mlrun/db/nopdb.py +291 -33
  83. mlrun/errors.py +36 -6
  84. mlrun/execution.py +115 -42
  85. mlrun/feature_store/__init__.py +0 -2
  86. mlrun/feature_store/api.py +65 -73
  87. mlrun/feature_store/common.py +7 -12
  88. mlrun/feature_store/feature_set.py +76 -55
  89. mlrun/feature_store/feature_vector.py +39 -31
  90. mlrun/feature_store/ingestion.py +7 -6
  91. mlrun/feature_store/retrieval/base.py +16 -11
  92. mlrun/feature_store/retrieval/dask_merger.py +2 -0
  93. mlrun/feature_store/retrieval/job.py +13 -4
  94. mlrun/feature_store/retrieval/local_merger.py +2 -0
  95. mlrun/feature_store/retrieval/spark_merger.py +24 -32
  96. mlrun/feature_store/steps.py +45 -34
  97. mlrun/features.py +11 -21
  98. mlrun/frameworks/_common/artifacts_library.py +9 -9
  99. mlrun/frameworks/_common/mlrun_interface.py +5 -5
  100. mlrun/frameworks/_common/model_handler.py +48 -48
  101. mlrun/frameworks/_common/plan.py +5 -6
  102. mlrun/frameworks/_common/producer.py +3 -4
  103. mlrun/frameworks/_common/utils.py +5 -5
  104. mlrun/frameworks/_dl_common/loggers/logger.py +6 -7
  105. mlrun/frameworks/_dl_common/loggers/mlrun_logger.py +9 -9
  106. mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py +23 -47
  107. mlrun/frameworks/_ml_common/artifacts_library.py +1 -2
  108. mlrun/frameworks/_ml_common/loggers/logger.py +3 -4
  109. mlrun/frameworks/_ml_common/loggers/mlrun_logger.py +4 -5
  110. mlrun/frameworks/_ml_common/model_handler.py +24 -24
  111. mlrun/frameworks/_ml_common/pkl_model_server.py +2 -2
  112. mlrun/frameworks/_ml_common/plan.py +2 -2
  113. mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py +2 -3
  114. mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py +2 -3
  115. mlrun/frameworks/_ml_common/plans/dataset_plan.py +3 -3
  116. mlrun/frameworks/_ml_common/plans/feature_importance_plan.py +3 -3
  117. mlrun/frameworks/_ml_common/plans/roc_curve_plan.py +4 -4
  118. mlrun/frameworks/_ml_common/utils.py +4 -4
  119. mlrun/frameworks/auto_mlrun/auto_mlrun.py +9 -9
  120. mlrun/frameworks/huggingface/model_server.py +4 -4
  121. mlrun/frameworks/lgbm/__init__.py +33 -33
  122. mlrun/frameworks/lgbm/callbacks/callback.py +2 -4
  123. mlrun/frameworks/lgbm/callbacks/logging_callback.py +4 -5
  124. mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py +4 -5
  125. mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py +1 -3
  126. mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py +6 -6
  127. mlrun/frameworks/lgbm/model_handler.py +10 -10
  128. mlrun/frameworks/lgbm/model_server.py +6 -6
  129. mlrun/frameworks/lgbm/utils.py +5 -5
  130. mlrun/frameworks/onnx/dataset.py +8 -8
  131. mlrun/frameworks/onnx/mlrun_interface.py +3 -3
  132. mlrun/frameworks/onnx/model_handler.py +6 -6
  133. mlrun/frameworks/onnx/model_server.py +7 -7
  134. mlrun/frameworks/parallel_coordinates.py +6 -6
  135. mlrun/frameworks/pytorch/__init__.py +18 -18
  136. mlrun/frameworks/pytorch/callbacks/callback.py +4 -5
  137. mlrun/frameworks/pytorch/callbacks/logging_callback.py +17 -17
  138. mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py +11 -11
  139. mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py +23 -29
  140. mlrun/frameworks/pytorch/callbacks_handler.py +38 -38
  141. mlrun/frameworks/pytorch/mlrun_interface.py +20 -20
  142. mlrun/frameworks/pytorch/model_handler.py +17 -17
  143. mlrun/frameworks/pytorch/model_server.py +7 -7
  144. mlrun/frameworks/sklearn/__init__.py +13 -13
  145. mlrun/frameworks/sklearn/estimator.py +4 -4
  146. mlrun/frameworks/sklearn/metrics_library.py +14 -14
  147. mlrun/frameworks/sklearn/mlrun_interface.py +16 -9
  148. mlrun/frameworks/sklearn/model_handler.py +2 -2
  149. mlrun/frameworks/tf_keras/__init__.py +10 -7
  150. mlrun/frameworks/tf_keras/callbacks/logging_callback.py +15 -15
  151. mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py +11 -11
  152. mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py +19 -23
  153. mlrun/frameworks/tf_keras/mlrun_interface.py +9 -11
  154. mlrun/frameworks/tf_keras/model_handler.py +14 -14
  155. mlrun/frameworks/tf_keras/model_server.py +6 -6
  156. mlrun/frameworks/xgboost/__init__.py +13 -13
  157. mlrun/frameworks/xgboost/model_handler.py +6 -6
  158. mlrun/k8s_utils.py +61 -17
  159. mlrun/launcher/__init__.py +1 -1
  160. mlrun/launcher/base.py +16 -15
  161. mlrun/launcher/client.py +13 -11
  162. mlrun/launcher/factory.py +1 -1
  163. mlrun/launcher/local.py +23 -13
  164. mlrun/launcher/remote.py +17 -10
  165. mlrun/lists.py +7 -6
  166. mlrun/model.py +478 -103
  167. mlrun/model_monitoring/__init__.py +1 -1
  168. mlrun/model_monitoring/api.py +163 -371
  169. mlrun/{runtimes/mpijob/v1alpha1.py → model_monitoring/applications/__init__.py} +9 -15
  170. mlrun/model_monitoring/applications/_application_steps.py +188 -0
  171. mlrun/model_monitoring/applications/base.py +108 -0
  172. mlrun/model_monitoring/applications/context.py +341 -0
  173. mlrun/model_monitoring/{evidently_application.py → applications/evidently_base.py} +27 -22
  174. mlrun/model_monitoring/applications/histogram_data_drift.py +354 -0
  175. mlrun/model_monitoring/applications/results.py +99 -0
  176. mlrun/model_monitoring/controller.py +131 -278
  177. mlrun/model_monitoring/db/__init__.py +18 -0
  178. mlrun/model_monitoring/db/stores/__init__.py +136 -0
  179. mlrun/model_monitoring/db/stores/base/__init__.py +15 -0
  180. mlrun/model_monitoring/db/stores/base/store.py +213 -0
  181. mlrun/model_monitoring/db/stores/sqldb/__init__.py +13 -0
  182. mlrun/model_monitoring/db/stores/sqldb/models/__init__.py +71 -0
  183. mlrun/model_monitoring/db/stores/sqldb/models/base.py +190 -0
  184. mlrun/model_monitoring/db/stores/sqldb/models/mysql.py +103 -0
  185. mlrun/model_monitoring/{stores/models/mysql.py → db/stores/sqldb/models/sqlite.py} +19 -13
  186. mlrun/model_monitoring/db/stores/sqldb/sql_store.py +659 -0
  187. mlrun/model_monitoring/db/stores/v3io_kv/__init__.py +13 -0
  188. mlrun/model_monitoring/db/stores/v3io_kv/kv_store.py +726 -0
  189. mlrun/model_monitoring/db/tsdb/__init__.py +105 -0
  190. mlrun/model_monitoring/db/tsdb/base.py +448 -0
  191. mlrun/model_monitoring/db/tsdb/helpers.py +30 -0
  192. mlrun/model_monitoring/db/tsdb/tdengine/__init__.py +15 -0
  193. mlrun/model_monitoring/db/tsdb/tdengine/schemas.py +279 -0
  194. mlrun/model_monitoring/db/tsdb/tdengine/stream_graph_steps.py +42 -0
  195. mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py +507 -0
  196. mlrun/model_monitoring/db/tsdb/v3io/__init__.py +15 -0
  197. mlrun/model_monitoring/db/tsdb/v3io/stream_graph_steps.py +158 -0
  198. mlrun/model_monitoring/db/tsdb/v3io/v3io_connector.py +849 -0
  199. mlrun/model_monitoring/features_drift_table.py +134 -106
  200. mlrun/model_monitoring/helpers.py +199 -55
  201. mlrun/model_monitoring/metrics/__init__.py +13 -0
  202. mlrun/model_monitoring/metrics/histogram_distance.py +127 -0
  203. mlrun/model_monitoring/model_endpoint.py +3 -2
  204. mlrun/model_monitoring/stream_processing.py +131 -398
  205. mlrun/model_monitoring/tracking_policy.py +9 -2
  206. mlrun/model_monitoring/writer.py +161 -125
  207. mlrun/package/__init__.py +6 -6
  208. mlrun/package/context_handler.py +5 -5
  209. mlrun/package/packager.py +7 -7
  210. mlrun/package/packagers/default_packager.py +8 -8
  211. mlrun/package/packagers/numpy_packagers.py +15 -15
  212. mlrun/package/packagers/pandas_packagers.py +5 -5
  213. mlrun/package/packagers/python_standard_library_packagers.py +10 -10
  214. mlrun/package/packagers_manager.py +19 -23
  215. mlrun/package/utils/_formatter.py +6 -6
  216. mlrun/package/utils/_pickler.py +2 -2
  217. mlrun/package/utils/_supported_format.py +4 -4
  218. mlrun/package/utils/log_hint_utils.py +2 -2
  219. mlrun/package/utils/type_hint_utils.py +4 -9
  220. mlrun/platforms/__init__.py +11 -10
  221. mlrun/platforms/iguazio.py +24 -203
  222. mlrun/projects/operations.py +52 -25
  223. mlrun/projects/pipelines.py +191 -197
  224. mlrun/projects/project.py +1227 -400
  225. mlrun/render.py +16 -19
  226. mlrun/run.py +209 -184
  227. mlrun/runtimes/__init__.py +83 -15
  228. mlrun/runtimes/base.py +51 -35
  229. mlrun/runtimes/daskjob.py +17 -10
  230. mlrun/runtimes/databricks_job/databricks_cancel_task.py +1 -1
  231. mlrun/runtimes/databricks_job/databricks_runtime.py +8 -7
  232. mlrun/runtimes/databricks_job/databricks_wrapper.py +1 -1
  233. mlrun/runtimes/funcdoc.py +1 -29
  234. mlrun/runtimes/function_reference.py +1 -1
  235. mlrun/runtimes/kubejob.py +34 -128
  236. mlrun/runtimes/local.py +40 -11
  237. mlrun/runtimes/mpijob/__init__.py +0 -20
  238. mlrun/runtimes/mpijob/abstract.py +9 -10
  239. mlrun/runtimes/mpijob/v1.py +1 -1
  240. mlrun/{model_monitoring/stores/models/sqlite.py → runtimes/nuclio/__init__.py} +7 -9
  241. mlrun/runtimes/nuclio/api_gateway.py +769 -0
  242. mlrun/runtimes/nuclio/application/__init__.py +15 -0
  243. mlrun/runtimes/nuclio/application/application.py +758 -0
  244. mlrun/runtimes/nuclio/application/reverse_proxy.go +95 -0
  245. mlrun/runtimes/{function.py → nuclio/function.py} +200 -83
  246. mlrun/runtimes/{nuclio.py → nuclio/nuclio.py} +6 -6
  247. mlrun/runtimes/{serving.py → nuclio/serving.py} +65 -68
  248. mlrun/runtimes/pod.py +281 -101
  249. mlrun/runtimes/remotesparkjob.py +12 -9
  250. mlrun/runtimes/sparkjob/spark3job.py +67 -51
  251. mlrun/runtimes/utils.py +41 -75
  252. mlrun/secrets.py +9 -5
  253. mlrun/serving/__init__.py +8 -1
  254. mlrun/serving/remote.py +2 -7
  255. mlrun/serving/routers.py +85 -69
  256. mlrun/serving/server.py +69 -44
  257. mlrun/serving/states.py +209 -36
  258. mlrun/serving/utils.py +22 -14
  259. mlrun/serving/v1_serving.py +6 -7
  260. mlrun/serving/v2_serving.py +129 -54
  261. mlrun/track/tracker.py +2 -1
  262. mlrun/track/tracker_manager.py +3 -3
  263. mlrun/track/trackers/mlflow_tracker.py +6 -2
  264. mlrun/utils/async_http.py +6 -8
  265. mlrun/utils/azure_vault.py +1 -1
  266. mlrun/utils/clones.py +1 -2
  267. mlrun/utils/condition_evaluator.py +3 -3
  268. mlrun/utils/db.py +21 -3
  269. mlrun/utils/helpers.py +405 -225
  270. mlrun/utils/http.py +3 -6
  271. mlrun/utils/logger.py +112 -16
  272. mlrun/utils/notifications/notification/__init__.py +17 -13
  273. mlrun/utils/notifications/notification/base.py +50 -2
  274. mlrun/utils/notifications/notification/console.py +2 -0
  275. mlrun/utils/notifications/notification/git.py +24 -1
  276. mlrun/utils/notifications/notification/ipython.py +3 -1
  277. mlrun/utils/notifications/notification/slack.py +96 -21
  278. mlrun/utils/notifications/notification/webhook.py +59 -2
  279. mlrun/utils/notifications/notification_pusher.py +149 -30
  280. mlrun/utils/regex.py +9 -0
  281. mlrun/utils/retryer.py +208 -0
  282. mlrun/utils/singleton.py +1 -1
  283. mlrun/utils/v3io_clients.py +4 -6
  284. mlrun/utils/version/version.json +2 -2
  285. mlrun/utils/version/version.py +2 -6
  286. mlrun-1.7.0.dist-info/METADATA +378 -0
  287. mlrun-1.7.0.dist-info/RECORD +351 -0
  288. {mlrun-1.6.4rc7.dist-info → mlrun-1.7.0.dist-info}/WHEEL +1 -1
  289. mlrun/feature_store/retrieval/conversion.py +0 -273
  290. mlrun/kfpops.py +0 -868
  291. mlrun/model_monitoring/application.py +0 -310
  292. mlrun/model_monitoring/batch.py +0 -1095
  293. mlrun/model_monitoring/prometheus.py +0 -219
  294. mlrun/model_monitoring/stores/__init__.py +0 -111
  295. mlrun/model_monitoring/stores/kv_model_endpoint_store.py +0 -576
  296. mlrun/model_monitoring/stores/model_endpoint_store.py +0 -147
  297. mlrun/model_monitoring/stores/models/__init__.py +0 -27
  298. mlrun/model_monitoring/stores/models/base.py +0 -84
  299. mlrun/model_monitoring/stores/sql_model_endpoint_store.py +0 -384
  300. mlrun/platforms/other.py +0 -306
  301. mlrun-1.6.4rc7.dist-info/METADATA +0 -272
  302. mlrun-1.6.4rc7.dist-info/RECORD +0 -314
  303. {mlrun-1.6.4rc7.dist-info → mlrun-1.7.0.dist-info}/LICENSE +0 -0
  304. {mlrun-1.6.4rc7.dist-info → mlrun-1.7.0.dist-info}/entry_points.txt +0 -0
  305. {mlrun-1.6.4rc7.dist-info → mlrun-1.7.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,378 @@
1
+ Metadata-Version: 2.1
2
+ Name: mlrun
3
+ Version: 1.7.0
4
+ Summary: Tracking and config of machine learning runs
5
+ Home-page: https://github.com/mlrun/mlrun
6
+ Author: Yaron Haviv
7
+ Author-email: yaronh@iguazio.com
8
+ License: Apache License 2.0
9
+ Keywords: mlrun,mlops,data-science,machine-learning,experiment-tracking
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.9, <3.12
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: urllib3 <1.27,>=1.26.9
25
+ Requires-Dist: GitPython >=3.1.41,~=3.1
26
+ Requires-Dist: aiohttp ~=3.9
27
+ Requires-Dist: aiohttp-retry ~=2.8.0
28
+ Requires-Dist: click ~=8.1
29
+ Requires-Dist: nest-asyncio ~=1.0
30
+ Requires-Dist: ipython ~=8.10
31
+ Requires-Dist: nuclio-jupyter ~=0.10.4
32
+ Requires-Dist: numpy <1.27.0,>=1.16.5
33
+ Requires-Dist: pandas <2.2,>=1.2
34
+ Requires-Dist: pyarrow <18,>=10.0
35
+ Requires-Dist: pyyaml <7,>=5.4.1
36
+ Requires-Dist: requests ~=2.32
37
+ Requires-Dist: tabulate ~=0.8.6
38
+ Requires-Dist: v3io ~=0.6.9
39
+ Requires-Dist: pydantic <1.10.15,>=1.10.8
40
+ Requires-Dist: mergedeep ~=1.3
41
+ Requires-Dist: v3io-frames ~=0.10.14
42
+ Requires-Dist: semver ~=3.0
43
+ Requires-Dist: dependency-injector ~=4.41
44
+ Requires-Dist: fsspec <2024.7,>=2023.9.2
45
+ Requires-Dist: v3iofs ~=0.1.17
46
+ Requires-Dist: storey <1.7.50,>1.7.27
47
+ Requires-Dist: inflection ~=0.5.0
48
+ Requires-Dist: python-dotenv ~=0.17.0
49
+ Requires-Dist: setuptools ~=71.0
50
+ Requires-Dist: deprecated ~=1.2
51
+ Requires-Dist: jinja2 >=3.1.3,~=3.1
52
+ Requires-Dist: orjson <4,>=3.9.15
53
+ Requires-Dist: mlrun-pipelines-kfp-common ~=0.1.9
54
+ Requires-Dist: mlrun-pipelines-kfp-v1-8 ~=0.1.6
55
+ Provides-Extra: alibaba-oss
56
+ Requires-Dist: ossfs ==2023.12.0 ; extra == 'alibaba-oss'
57
+ Requires-Dist: oss2 ==2.18.1 ; extra == 'alibaba-oss'
58
+ Provides-Extra: all
59
+ Requires-Dist: adlfs ==2023.9.0 ; extra == 'all'
60
+ Requires-Dist: aiobotocore <2.16,>=2.5.0 ; extra == 'all'
61
+ Requires-Dist: avro ~=1.11 ; extra == 'all'
62
+ Requires-Dist: azure-core ~=1.24 ; extra == 'all'
63
+ Requires-Dist: azure-identity ~=1.5 ; extra == 'all'
64
+ Requires-Dist: azure-keyvault-secrets ~=4.2 ; extra == 'all'
65
+ Requires-Dist: bokeh >=2.4.2,~=2.4 ; extra == 'all'
66
+ Requires-Dist: boto3 <1.36,>=1.28.0 ; extra == 'all'
67
+ Requires-Dist: dask ~=2023.12.1 ; extra == 'all'
68
+ Requires-Dist: databricks-sdk ~=0.13.0 ; extra == 'all'
69
+ Requires-Dist: distributed ~=2023.12.1 ; extra == 'all'
70
+ Requires-Dist: gcsfs <2024.7,>=2023.9.2 ; extra == 'all'
71
+ Requires-Dist: google-cloud-bigquery-storage ~=2.17 ; extra == 'all'
72
+ Requires-Dist: google-cloud-bigquery[bqstorage,pandas] ==3.14.1 ; extra == 'all'
73
+ Requires-Dist: google-cloud-storage ==2.14.0 ; extra == 'all'
74
+ Requires-Dist: google-cloud ==0.34 ; extra == 'all'
75
+ Requires-Dist: graphviz ~=0.20.0 ; extra == 'all'
76
+ Requires-Dist: kafka-python ~=2.0 ; extra == 'all'
77
+ Requires-Dist: mlflow ~=2.8 ; extra == 'all'
78
+ Requires-Dist: msrest ~=0.6.21 ; extra == 'all'
79
+ Requires-Dist: oss2 ==2.18.1 ; extra == 'all'
80
+ Requires-Dist: ossfs ==2023.12.0 ; extra == 'all'
81
+ Requires-Dist: plotly ~=5.23 ; extra == 'all'
82
+ Requires-Dist: pyopenssl >=23 ; extra == 'all'
83
+ Requires-Dist: redis ~=4.3 ; extra == 'all'
84
+ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'all'
85
+ Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'all'
86
+ Requires-Dist: sqlalchemy ~=1.4 ; extra == 'all'
87
+ Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'all'
88
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'all'
89
+ Provides-Extra: api
90
+ Requires-Dist: uvicorn ~=0.27.1 ; extra == 'api'
91
+ Requires-Dist: dask-kubernetes ~=0.11.0 ; extra == 'api'
92
+ Requires-Dist: apscheduler <4,>=3.10.3 ; extra == 'api'
93
+ Requires-Dist: objgraph ~=3.6 ; extra == 'api'
94
+ Requires-Dist: igz-mgmt ~=0.2.0 ; extra == 'api'
95
+ Requires-Dist: humanfriendly ~=10.0 ; extra == 'api'
96
+ Requires-Dist: fastapi ~=0.110.0 ; extra == 'api'
97
+ Requires-Dist: sqlalchemy ~=1.4 ; extra == 'api'
98
+ Requires-Dist: pymysql ~=1.0 ; extra == 'api'
99
+ Requires-Dist: alembic ~=1.9 ; extra == 'api'
100
+ Requires-Dist: timelength ~=1.1 ; extra == 'api'
101
+ Requires-Dist: memray ~=1.12 ; (sys_platform != "win32") and extra == 'api'
102
+ Provides-Extra: azure-blob-storage
103
+ Requires-Dist: msrest ~=0.6.21 ; extra == 'azure-blob-storage'
104
+ Requires-Dist: azure-core ~=1.24 ; extra == 'azure-blob-storage'
105
+ Requires-Dist: adlfs ==2023.9.0 ; extra == 'azure-blob-storage'
106
+ Requires-Dist: pyopenssl >=23 ; extra == 'azure-blob-storage'
107
+ Provides-Extra: azure-key-vault
108
+ Requires-Dist: azure-identity ~=1.5 ; extra == 'azure-key-vault'
109
+ Requires-Dist: azure-keyvault-secrets ~=4.2 ; extra == 'azure-key-vault'
110
+ Requires-Dist: pyopenssl >=23 ; extra == 'azure-key-vault'
111
+ Provides-Extra: bokeh
112
+ Requires-Dist: bokeh >=2.4.2,~=2.4 ; extra == 'bokeh'
113
+ Provides-Extra: complete
114
+ Requires-Dist: adlfs ==2023.9.0 ; extra == 'complete'
115
+ Requires-Dist: aiobotocore <2.16,>=2.5.0 ; extra == 'complete'
116
+ Requires-Dist: avro ~=1.11 ; extra == 'complete'
117
+ Requires-Dist: azure-core ~=1.24 ; extra == 'complete'
118
+ Requires-Dist: azure-identity ~=1.5 ; extra == 'complete'
119
+ Requires-Dist: azure-keyvault-secrets ~=4.2 ; extra == 'complete'
120
+ Requires-Dist: boto3 <1.36,>=1.28.0 ; extra == 'complete'
121
+ Requires-Dist: dask ~=2023.12.1 ; extra == 'complete'
122
+ Requires-Dist: databricks-sdk ~=0.13.0 ; extra == 'complete'
123
+ Requires-Dist: distributed ~=2023.12.1 ; extra == 'complete'
124
+ Requires-Dist: gcsfs <2024.7,>=2023.9.2 ; extra == 'complete'
125
+ Requires-Dist: google-cloud-bigquery-storage ~=2.17 ; extra == 'complete'
126
+ Requires-Dist: google-cloud-bigquery[bqstorage,pandas] ==3.14.1 ; extra == 'complete'
127
+ Requires-Dist: google-cloud-storage ==2.14.0 ; extra == 'complete'
128
+ Requires-Dist: google-cloud ==0.34 ; extra == 'complete'
129
+ Requires-Dist: graphviz ~=0.20.0 ; extra == 'complete'
130
+ Requires-Dist: kafka-python ~=2.0 ; extra == 'complete'
131
+ Requires-Dist: mlflow ~=2.8 ; extra == 'complete'
132
+ Requires-Dist: msrest ~=0.6.21 ; extra == 'complete'
133
+ Requires-Dist: oss2 ==2.18.1 ; extra == 'complete'
134
+ Requires-Dist: ossfs ==2023.12.0 ; extra == 'complete'
135
+ Requires-Dist: plotly ~=5.23 ; extra == 'complete'
136
+ Requires-Dist: pyopenssl >=23 ; extra == 'complete'
137
+ Requires-Dist: redis ~=4.3 ; extra == 'complete'
138
+ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'complete'
139
+ Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'complete'
140
+ Requires-Dist: sqlalchemy ~=1.4 ; extra == 'complete'
141
+ Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'complete'
142
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'complete'
143
+ Provides-Extra: complete-api
144
+ Requires-Dist: adlfs ==2023.9.0 ; extra == 'complete-api'
145
+ Requires-Dist: aiobotocore <2.16,>=2.5.0 ; extra == 'complete-api'
146
+ Requires-Dist: alembic ~=1.9 ; extra == 'complete-api'
147
+ Requires-Dist: apscheduler <4,>=3.10.3 ; extra == 'complete-api'
148
+ Requires-Dist: avro ~=1.11 ; extra == 'complete-api'
149
+ Requires-Dist: azure-core ~=1.24 ; extra == 'complete-api'
150
+ Requires-Dist: azure-identity ~=1.5 ; extra == 'complete-api'
151
+ Requires-Dist: azure-keyvault-secrets ~=4.2 ; extra == 'complete-api'
152
+ Requires-Dist: boto3 <1.36,>=1.28.0 ; extra == 'complete-api'
153
+ Requires-Dist: dask-kubernetes ~=0.11.0 ; extra == 'complete-api'
154
+ Requires-Dist: dask ~=2023.12.1 ; extra == 'complete-api'
155
+ Requires-Dist: databricks-sdk ~=0.13.0 ; extra == 'complete-api'
156
+ Requires-Dist: distributed ~=2023.12.1 ; extra == 'complete-api'
157
+ Requires-Dist: fastapi ~=0.110.0 ; extra == 'complete-api'
158
+ Requires-Dist: gcsfs <2024.7,>=2023.9.2 ; extra == 'complete-api'
159
+ Requires-Dist: google-cloud-bigquery-storage ~=2.17 ; extra == 'complete-api'
160
+ Requires-Dist: google-cloud-bigquery[bqstorage,pandas] ==3.14.1 ; extra == 'complete-api'
161
+ Requires-Dist: google-cloud-storage ==2.14.0 ; extra == 'complete-api'
162
+ Requires-Dist: google-cloud ==0.34 ; extra == 'complete-api'
163
+ Requires-Dist: graphviz ~=0.20.0 ; extra == 'complete-api'
164
+ Requires-Dist: humanfriendly ~=10.0 ; extra == 'complete-api'
165
+ Requires-Dist: igz-mgmt ~=0.2.0 ; extra == 'complete-api'
166
+ Requires-Dist: kafka-python ~=2.0 ; extra == 'complete-api'
167
+ Requires-Dist: mlflow ~=2.8 ; extra == 'complete-api'
168
+ Requires-Dist: msrest ~=0.6.21 ; extra == 'complete-api'
169
+ Requires-Dist: objgraph ~=3.6 ; extra == 'complete-api'
170
+ Requires-Dist: oss2 ==2.18.1 ; extra == 'complete-api'
171
+ Requires-Dist: ossfs ==2023.12.0 ; extra == 'complete-api'
172
+ Requires-Dist: plotly ~=5.23 ; extra == 'complete-api'
173
+ Requires-Dist: pymysql ~=1.0 ; extra == 'complete-api'
174
+ Requires-Dist: pyopenssl >=23 ; extra == 'complete-api'
175
+ Requires-Dist: redis ~=4.3 ; extra == 'complete-api'
176
+ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 'complete-api'
177
+ Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'complete-api'
178
+ Requires-Dist: sqlalchemy ~=1.4 ; extra == 'complete-api'
179
+ Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'complete-api'
180
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'complete-api'
181
+ Requires-Dist: timelength ~=1.1 ; extra == 'complete-api'
182
+ Requires-Dist: uvicorn ~=0.27.1 ; extra == 'complete-api'
183
+ Requires-Dist: memray ~=1.12 ; (sys_platform != "win32") and extra == 'complete-api'
184
+ Provides-Extra: dask
185
+ Requires-Dist: dask ~=2023.12.1 ; extra == 'dask'
186
+ Requires-Dist: distributed ~=2023.12.1 ; extra == 'dask'
187
+ Provides-Extra: databricks-sdk
188
+ Requires-Dist: databricks-sdk ~=0.13.0 ; extra == 'databricks-sdk'
189
+ Provides-Extra: google-cloud
190
+ Requires-Dist: google-cloud-storage ==2.14.0 ; extra == 'google-cloud'
191
+ Requires-Dist: google-cloud-bigquery[bqstorage,pandas] ==3.14.1 ; extra == 'google-cloud'
192
+ Requires-Dist: google-cloud-bigquery-storage ~=2.17 ; extra == 'google-cloud'
193
+ Requires-Dist: google-cloud ==0.34 ; extra == 'google-cloud'
194
+ Requires-Dist: gcsfs <2024.7,>=2023.9.2 ; extra == 'google-cloud'
195
+ Provides-Extra: graphviz
196
+ Requires-Dist: graphviz ~=0.20.0 ; extra == 'graphviz'
197
+ Provides-Extra: kafka
198
+ Requires-Dist: kafka-python ~=2.0 ; extra == 'kafka'
199
+ Requires-Dist: avro ~=1.11 ; extra == 'kafka'
200
+ Provides-Extra: mlflow
201
+ Requires-Dist: mlflow ~=2.8 ; extra == 'mlflow'
202
+ Provides-Extra: plotly
203
+ Requires-Dist: plotly ~=5.23 ; extra == 'plotly'
204
+ Provides-Extra: redis
205
+ Requires-Dist: redis ~=4.3 ; extra == 'redis'
206
+ Provides-Extra: s3
207
+ Requires-Dist: boto3 <1.36,>=1.28.0 ; extra == 's3'
208
+ Requires-Dist: aiobotocore <2.16,>=2.5.0 ; extra == 's3'
209
+ Requires-Dist: s3fs <2024.7,>=2023.9.2 ; extra == 's3'
210
+ Provides-Extra: snowflake
211
+ Requires-Dist: snowflake-connector-python ~=3.7 ; extra == 'snowflake'
212
+ Provides-Extra: sqlalchemy
213
+ Requires-Dist: sqlalchemy ~=1.4 ; extra == 'sqlalchemy'
214
+ Provides-Extra: tdengine
215
+ Requires-Dist: taos-ws-py ==0.3.2 ; extra == 'tdengine'
216
+ Requires-Dist: taoswswrap ~=0.2.0 ; extra == 'tdengine'
217
+
218
+ <a id="top"></a>
219
+ [![Build Status](https://github.com/mlrun/mlrun/actions/workflows/build.yaml/badge.svg?branch=development)](https://github.com/mlrun/mlrun/actions/workflows/build.yaml?query=branch%3Adevelopment)
220
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
221
+ [![PyPI version fury.io](https://badge.fury.io/py/mlrun.svg)](https://pypi.python.org/pypi/mlrun/)
222
+ [![Documentation](https://readthedocs.org/projects/mlrun/badge/?version=latest)](https://mlrun.readthedocs.io/en/latest/?badge=latest)
223
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
224
+ ![GitHub commit activity](https://img.shields.io/github/commit-activity/w/mlrun/mlrun)
225
+ ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mlrun/mlrun?sort=semver)
226
+ [![Join MLOps Live](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://mlopslive.slack.com)
227
+
228
+ <p align="left"><img src="https://github.com/mlrun/mlrun/raw/development/docs/_static/images/MLRun-logo.png" alt="MLRun logo" width="150"/></p>
229
+
230
+ # Using MLRun
231
+
232
+ MLRun is an open source AI orchestration platform for quickly building and managing continuous (gen) AI applications across their lifecycle. MLRun integrates into your development and CI/CD environment and automates the delivery of production data, ML pipelines, and online applications.
233
+ MLRun significantly reduces engineering efforts, time to production, and computation resources.
234
+ With MLRun, you can choose any IDE on your local machine or on the cloud. MLRun breaks the silos between data, ML, software, and DevOps/MLOps teams, enabling collaboration and fast continuous improvements.
235
+
236
+ Get started with the MLRun [**Tutorials and Examples**](https://docs.mlrun.org/en/stable/tutorials/index.html) and the [**Installation and setup guide**](https://docs.mlrun.org/en/stable/install.html), or read about the [**MLRun Architecture**](https://docs.mlrun.org/en/stable/architecture.html).
237
+
238
+ This page explains how MLRun addresses the [**gen AI tasks**](#genai-tasks), [**MLOps tasks**](#mlops-tasks), and presents the [**MLRun core components**](#core-components).
239
+
240
+ See the supported data stores, development tools, services, platforms, etc., supported by MLRun's open architecture in **https://docs.mlrun.org/en/stable/ecosystem.html**.
241
+
242
+ ## Gen AI tasks
243
+
244
+ <p align="center"><img src="https://github.com/mlrun/mlrun/raw/development/docs/_static/images/ai-tasks.png" alt="ai-tasks" width="800"/></p><br>
245
+
246
+ Use MLRun to develop, scale, deploy, and monitor your AI model across your enterprise. The [**gen AI development workflow**](https://docs.mlrun.org/en/stable/genai/genai-flow.html)
247
+ section describes the different tasks and stages in detail.
248
+
249
+ ### Data management
250
+
251
+
252
+ MLRun supports batch or realtime data processing at scale, data lineage and versioning, structured and unstructured data, and more.
253
+ Removing inappropriate data at an early stage saves resources that would otherwise be required later on.
254
+
255
+
256
+ **Docs:**
257
+ [Using LLMs to process unstructured data](https://docs.mlrun.org/en/stable/genai/data-mgmt/unstructured-data.html)
258
+ [Vector databases](https://docs.mlrun.org/en/stable/genai/data-mgmt/vector-databases.html)
259
+ [Guardrails for data management](https://docs.mlrun.org/en/stable/genai/data-mgmt/guardrails-data.html)
260
+ **Demo:**
261
+ [Call center demo](https://github.com/mlrun/demo-call-center>`
262
+ **Video:**
263
+ [Call center](https://youtu.be/YycMbxRgLBA>`
264
+
265
+ ### Development
266
+ Use MLRun to build an automated ML pipeline to: collect data,
267
+ preprocess (prepare) the data, run the training pipeline, and evaluate the model.
268
+
269
+ **Docs:**
270
+ [Working with RAG](https://docs.mlrun.org/en/stable/genai/development/working-with-rag.html), [Evalating LLMs](https://docs.mlrun.org/en/stable/genai/development/evaluating-llms.html), [Fine tuning LLMS](https://docs.mlrun.org/en/stable/genai/development/fine-tuning-llms.html)
271
+ **Demos:**
272
+ [Call center demo](https://github.com/mlrun/demo-call-center), [Build & deploy custom (fine-tuned) LLM models and applications](https://github.com/mlrun/demo-llm-tuning/blob/main), [Interactive bot demo using LLMs](https://github.com/mlrun/demo-llm-bot/blob/main)
273
+ **Video:**
274
+ [Call center](https://youtu.be/YycMbxRgLBA)
275
+
276
+
277
+ ### Deployment
278
+ MLRun serving can productize the newly trained LLM as a serverless function using real-time auto-scaling Nuclio serverless functions.
279
+ The application pipeline includes all the steps from accepting events or data, contextualizing it with a state preparing the required model features,
280
+ inferring results using one or more models, and driving actions.
281
+
282
+
283
+ **Docs:**
284
+ [Serving gen AI models](https://docs.mlrun.org/en/stable/genai/deployment/genai_serving.html), GPU utilization](https://docs.mlrun.org/en/stable/genai/deployment/gpu_utilization.html), [Gen AI realtime serving graph](https://docs.mlrun.org/en/stable/genai/deployment/genai_serving_graph.html)
285
+ **Tutorial:**
286
+ [Deploy LLM using MLRun](https://docs.mlrun.org/en/stable/tutorials/genai_01_basic_tutorial.html)
287
+ **Demos:**
288
+ [Call center demo](https://github.com/mlrun/demo-call-center), [Build & deploy custom(fine-tuned)]LLM models and applications <https://github.com/mlrun/demo-llm-tuning/blob/main), [Interactive bot demo using LLMs]<https://github.com/mlrun/demo-llm-bot/blob/main)
289
+ **Video:**
290
+ [Call center]<https://youtu.be/YycMbxRgLBA)
291
+
292
+
293
+ ### Live Ops
294
+ Monitor all resources, data, model and application metrics to ensure performance. Then identify risks, control costs, and measure business KPIs.
295
+ Collect production data, metadata, and metrics to tune the model and application further, and to enable governance and explainability.
296
+
297
+
298
+ **Docs:**
299
+ [Model monitoring <monitoring](https://docs.mlrun.org/en/stable/concepts/monitoring.html), [Alerts and notifications](https://docs.mlrun.org/en/stable/concepts/alerts-notifications.html)
300
+ **Tutorials:**
301
+ [Deploy LLM using MLRun](https://docs.mlrun.org/en/stable/tutorials/genai_01_basic_tutorial.html), [Model monitoring using LLM](https://docs.mlrun.org/en/stable/tutorials/genai-02-monitoring-llm.html)
302
+ **Demo:**
303
+ [Build & deploy custom (fine-tuned) LLM models and applications](https://github.com/mlrun/demo-llm-tuning/blob/main)
304
+
305
+
306
+ <a id="mlops-tasks"></a>
307
+ ## MLOps tasks
308
+
309
+ <p align="center"><img src="https://github.com/mlrun/mlrun/raw/development/docs/_static/images/mlops-task.png" alt="mlrun-tasks" width="800"/></p><br>
310
+
311
+ The [**MLOps development workflow**](https://docs.mlrun.org/en/stable/mlops-dev-flow.html) section describes the different tasks and stages in detail.
312
+ MLRun can be used to automate and orchestrate all the different tasks or just specific tasks (and integrate them with what you have already deployed).
313
+
314
+ ### Project management and CI/CD automation
315
+
316
+ In MLRun the assets, metadata, and services (data, functions, jobs, artifacts, models, secrets, etc.) are organized into projects.
317
+ Projects can be imported/exported as a whole, mapped to git repositories or IDE projects (in PyCharm, VSCode, etc.), which enables versioning, collaboration, and CI/CD.
318
+ Project access can be restricted to a set of users and roles.
319
+
320
+ **Docs:** [Projects and Automation](https://docs.mlrun.org/en/stable/projects/project.html), [CI/CD Integration](https://docs.mlrun.org/en/stable/projects/ci-integration.html)
321
+ **Tutorials:** [Quick start](https://docs.mlrun.org/en/stable/tutorials/01-mlrun-basics.html), [Automated ML Pipeline](https://docs.mlrun.org/en/stable/tutorials/04-pipeline.html)
322
+ **Video:** [Quick start](https://youtu.be/xI8KVGLlj7Q).
323
+
324
+ ### Ingest and process data
325
+
326
+ MLRun provides abstract interfaces to various offline and online [**data sources**](https://docs.mlrun.org/en/stable/store/datastore.html), supports batch or realtime data processing at scale, data lineage and versioning, structured and unstructured data, and more.
327
+ In addition, the MLRun [**Feature Store**](https://docs.mlrun.org/en/stable/feature-store/feature-store.html) automates the collection, transformation, storage, catalog, serving, and monitoring of data features across the ML lifecycle and enables feature reuse and sharing.
328
+
329
+ See: **Docs:** [Ingest and process data](https://docs.mlrun.org/en/stable/data-prep/index.html), [Feature Store](https://docs.mlrun.org/en/stable/feature-store/feature-store.html), [Data & Artifacts](https://docs.mlrun.org/en/stable/concepts/data.html)
330
+ **Tutorials:** [Quick start](https://docs.mlrun.org/en/stable/tutorials/01-mlrun-basics.html), [Feature Store](https://docs.mlrun.org/en/stable/feature-store/basic-demo.html).
331
+
332
+ ### Develop and train models
333
+
334
+ MLRun allows you to easily build ML pipelines that take data from various sources or the Feature Store and process it, train models at scale with multiple parameters, test models, tracks each experiments, register, version and deploy models, etc. MLRun provides scalable built-in or custom model training services, integrate with any framework and can work with 3rd party training/auto-ML services. You can also bring your own pre-trained model and use it in the pipeline.
335
+
336
+ **Docs:** [Develop and train models](https://docs.mlrun.org/en/stable/development/index.html), [Model Training and Tracking](https://docs.mlrun.org/en/stable/development/model-training-tracking.html), [Batch Runs and Workflows](https://docs.mlrun.org/en/stable/concepts/runs-workflows.html)
337
+ **Tutorials:** [Train, compare, and register models](https://docs.mlrun.org/en/stable/tutorials/02-model-training.html), [Automated ML Pipeline](https://docs.mlrun.org/en/stable/tutorials/04-pipeline.html)
338
+ **Video:** [Train and compare models](https://youtu.be/bZgBsmLMdQo).
339
+
340
+ ### Deploy models and applications
341
+
342
+ MLRun rapidly deploys and manages production-grade real-time or batch application pipelines using elastic and resilient serverless functions. MLRun addresses the entire ML application: intercepting application/user requests, running data processing tasks, inferencing using one or more models, driving actions, and integrating with the application logic.
343
+
344
+ **Docs:** [Deploy models and applications](https://docs.mlrun.org/en/stable/deployment/index.html), [Realtime Pipelines](https://docs.mlrun.org/en/stable/serving/serving-graph.html), [Batch Inference](https://docs.mlrun.org/en/stable/deployment/batch_inference.html)
345
+ **Tutorials:** [Realtime Serving](https://docs.mlrun.org/en/stable/tutorials/03-model-serving.html), [Batch Inference](https://docs.mlrun.org/en/stable/tutorials/07-batch-infer.html), [Advanced Pipeline](https://docs.mlrun.org/en/stable/tutorials/07-batch-infer.html)
346
+ **Video:** [Serving pre-trained models](https://youtu.be/OUjOus4dZfw).
347
+
348
+ ### Model Monitoring
349
+
350
+ Observability is built into the different MLRun objects (data, functions, jobs, models, pipelines, etc.), eliminating the need for complex integrations and code instrumentation. With MLRun, you can observe the application/model resource usage and model behavior (drift, performance, etc.), define custom app metrics, and trigger alerts or retraining jobs.
351
+
352
+ **Docs:** [Model monitoring](https://docs.mlrun.org/en/stable/concepts/model-monitoring.html), [Model Monitoring Overview](https://docs.mlrun.org/en/stable/monitoring/model-monitoring-deployment.html)
353
+ **Tutorials:** [Model Monitoring & Drift Detection](https://docs.mlrun.org/en/stable/tutorials/05-model-monitoring.html).
354
+
355
+
356
+ <a id="core-components"></a>
357
+ ## MLRun core components
358
+
359
+ <p align="center"><img src="https://github.com/mlrun/mlrun/raw/development/docs/_static/images/mlops-core.png" alt="mlrun-core" width="800"/></p><br>
360
+
361
+
362
+ MLRun includes the following major components:
363
+
364
+ [**Project Management:**](https://docs.mlrun.org/en/stable/projects/project.html) A service (API, SDK, DB, UI) that manages the different project assets (data, functions, jobs, workflows, secrets, etc.) and provides central control and metadata layer.
365
+
366
+ [**Functions:**](https://docs.mlrun.org/en/stable/runtimes/functions.html) automatically deployed software package with one or more methods and runtime-specific attributes (such as image, libraries, command, arguments, resources, etc.).
367
+
368
+ [**Data & Artifacts:**](https://docs.mlrun.org/en/stable/concepts/data.html) Glueless connectivity to various data sources, metadata management, catalog, and versioning for structures/unstructured artifacts.
369
+
370
+ [**Batch Runs & Workflows:**](https://docs.mlrun.org/en/stable/concepts/runs-workflows.html) Execute one or more functions with specific parameters and collect, track, and compare all their results and artifacts.
371
+
372
+ [**Real-Time Serving Pipeline:**](https://docs.mlrun.org/en/stable/serving/serving-graph.html) Rapid deployment of scalable data and ML pipelines using real-time serverless technology, including API handling, data preparation/enrichment, model serving, ensembles, driving and measuring actions, etc.
373
+
374
+ [**Model monitoring:**](https://docs.mlrun.org/en/stable/monitoring/index.html) monitors data, models, resources, and production components and provides a feedback loop for exploring production data, identifying drift, alerting on anomalies or data quality issues, triggering retraining jobs, measuring business impact, etc.
375
+
376
+ [**Alerts and notifications:**](https://docs.mlrun.org/en/stable/concepts/model-monitoring.html) Use alerts to identify and inform you of possible problem situations. Use notifications to report status on runs and pipelines.
377
+
378
+ [**Feature Store:**](https://docs.mlrun.org/en/stable/feature-store/feature-store.html) automatically collects, prepares, catalogs, and serves production data features for development (offline) and real-time (online) deployment using minimal engineering effort.