mlrun 1.10.0rc36__tar.gz → 1.10.0rc38__tar.gz
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.
- {mlrun-1.10.0rc36/mlrun.egg-info → mlrun-1.10.0rc38}/PKG-INFO +1 -1
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/config.py +1 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/base.py +3 -1
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/httpdb.py +10 -3
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/nopdb.py +3 -1
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/base.py +85 -47
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py +9 -2
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/run.py +19 -1
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/application/application.py +25 -11
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/function.py +11 -4
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/serving.py +7 -3
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/secrets.py +54 -13
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/server.py +51 -9
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/states.py +30 -5
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/system_steps.py +7 -9
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/helpers.py +9 -8
- mlrun-1.10.0rc38/mlrun/utils/version/version.json +4 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38/mlrun.egg-info}/PKG-INFO +1 -1
- mlrun-1.10.0rc36/mlrun/utils/version/version.json +0 -4
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/LICENSE +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/MANIFEST.in +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/Makefile +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/README.md +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/dependencies.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/dev-requirements.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/dockerfiles/mlrun-api/requirements.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/archive.zip +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/function.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/infile.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/load-project.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_basics.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_dask.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_db.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_export_import.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_jobs.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_sparkk8s.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/mlrun_vault.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/model.bst +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/new-project.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/nulltst.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/params.csv +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/remote-spark.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/secrets.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/spark-function.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/training.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/v2_model_server.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/examples/xgb_serving.ipynb +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/extras-requirements.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/__main__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/alerts/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/alerts/alert.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/dataset.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/document.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/helpers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/llm_prompt.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/manager.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/model.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/artifacts/plots.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/constants.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/db/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/db/dialects.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/artifact.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/feature_set.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/function.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/model_endpoint.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/pipeline.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/project.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/formatters/run.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/helpers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/model_monitoring/helpers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/runtimes/constants.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/alert.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/api_gateway.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/artifact.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/auth.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/background_task.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/client_spec.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/clusterization_spec.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/common.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/constants.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/datastore_profile.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/events.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/feature_store.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/frontend_spec.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/function.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/http.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/hub.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/k8s.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/memory_reports.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/model_monitoring/constants.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/model_monitoring/functions.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/model_monitoring/grafana.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/model_monitoring/model_endpoints.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/notification.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/object.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/pagination.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/partition.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/pipeline.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/project.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/regex.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/runs.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/runtime_resource.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/schedule.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/secret.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/serving.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/tag.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/schemas/workflow.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/secrets.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/common/types.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/data_types/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/data_types/data_types.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/data_types/infer.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/data_types/spark.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/data_types/to_pandas.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/alibaba_oss.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/azure_blob.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/datastore.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/datastore_profile.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/dbfs_store.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/filestore.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/google_cloud_storage.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/hdfs.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/inmem.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/model_provider/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/model_provider/huggingface_provider.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/model_provider/mock_model_provider.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/model_provider/model_provider.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/model_provider/openai_provider.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/redis.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/remote_client.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/s3.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/snowflake_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/sources.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/spark_udf.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/spark_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/store_resources.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/storeytargets.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/targets.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/v3io.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/vectorstore.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/wasbfs/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/datastore/wasbfs/fs.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/auth_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/db/factory.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/errors.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/execution.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/api.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/common.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/feature_set.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/feature_vector.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/feature_vector_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/ingestion.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/dask_merger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/job.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/local_merger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/spark_merger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/retrieval/storey_merger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/feature_store/steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/features.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/artifacts_library.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/producer.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_common/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/loggers/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/loggers/logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_dl_common/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/artifacts_library.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/loggers/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/loggers/logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/pkl_model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/dataset_plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/producer.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/_ml_common/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/auto_mlrun/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/auto_mlrun/auto_mlrun.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/huggingface/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/huggingface/model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/callbacks/callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/lgbm/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/onnx/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/onnx/dataset.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/onnx/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/onnx/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/onnx/model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/parallel_coordinates.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks/callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/callbacks_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/pytorch/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/estimator.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/metric.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/metrics_library.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/sklearn/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/model_server.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/tf_keras/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/xgboost/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/xgboost/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/xgboost/model_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/frameworks/xgboost/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/hub/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/hub/module.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/k8s_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/client.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/factory.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/local.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/launcher/remote.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/lists.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/api.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/_application_steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/context.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/evidently/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/evidently/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/histogram_data_drift.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/applications/results.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/controller.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/_schedules.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/_stats.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/helpers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/schemas.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/stream_graph_steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connection.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/writer_graph_steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/v3io/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/v3io/stream_graph_steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/v3io/v3io_connector.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/features_drift_table.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/helpers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/metrics/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/metrics/histogram_distance.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/stream_processing.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/writer.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/context_handler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/errors.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packager.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers/default_packager.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers/numpy_packagers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers/pandas_packagers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers/python_standard_library_packagers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/packagers_manager.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/_archiver.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/_formatter.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/_pickler.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/_supported_format.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/log_hint_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/package/utils/type_hint_utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/platforms/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/platforms/iguazio.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/projects/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/projects/operations.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/projects/pipelines.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/projects/project.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/render.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/daskjob.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/databricks_job/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/databricks_job/databricks_cancel_task.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/databricks_job/databricks_runtime.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/databricks_job/databricks_wrapper.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/funcdoc.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/function_reference.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/generators.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/kubejob.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/local.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/mounts.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/mpijob/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/mpijob/abstract.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/mpijob/v1.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/api_gateway.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/application/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/application/reverse_proxy.go +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/nuclio/nuclio.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/pod.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/remotesparkjob.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/sparkjob/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/sparkjob/spark3job.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/runtimes/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/merger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/remote.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/routers.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/serving_wrapper.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/steps.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/utils.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/v1_serving.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/serving/v2_serving.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/track/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/track/tracker.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/track/tracker_manager.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/track/trackers/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/track/trackers/mlflow_tracker.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/async_http.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/azure_vault.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/clones.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/condition_evaluator.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/http.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/logger.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/base.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/console.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/git.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/ipython.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/mail.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/slack.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification/webhook.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/notifications/notification_pusher.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/regex.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/retryer.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/singleton.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/v3io_clients.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/vault.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/version/__init__.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/utils/version/version.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/SOURCES.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/dependency_links.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/entry_points.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/not-zip-safe +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/requires.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun.egg-info/top_level.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/packages.py +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/pyproject.toml +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/requirements.txt +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/setup.cfg +0 -0
- {mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/setup.py +0 -0
|
@@ -304,6 +304,7 @@ default_config = {
|
|
|
304
304
|
"application": {
|
|
305
305
|
"default_sidecar_internal_port": 8050,
|
|
306
306
|
"default_authentication_mode": mlrun.common.schemas.APIGatewayAuthenticationMode.none,
|
|
307
|
+
"default_worker_number": 10000,
|
|
307
308
|
},
|
|
308
309
|
},
|
|
309
310
|
# TODO: function defaults should be moved to the function spec config above
|
|
@@ -722,7 +722,9 @@ class RunDBInterface(ABC):
|
|
|
722
722
|
tsdb_metrics: bool = False,
|
|
723
723
|
metric_list: Optional[list[str]] = None,
|
|
724
724
|
top_level: bool = False,
|
|
725
|
-
modes: Optional[
|
|
725
|
+
modes: Optional[
|
|
726
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
727
|
+
] = None,
|
|
726
728
|
uids: Optional[list[str]] = None,
|
|
727
729
|
latest_only: bool = False,
|
|
728
730
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -3771,7 +3771,9 @@ class HTTPRunDB(RunDBInterface):
|
|
|
3771
3771
|
tsdb_metrics: bool = False,
|
|
3772
3772
|
metric_list: Optional[list[str]] = None,
|
|
3773
3773
|
top_level: bool = False,
|
|
3774
|
-
modes: Optional[
|
|
3774
|
+
modes: Optional[
|
|
3775
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
3776
|
+
] = None,
|
|
3775
3777
|
uids: Optional[list[str]] = None,
|
|
3776
3778
|
latest_only: bool = False,
|
|
3777
3779
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -3802,8 +3804,13 @@ class HTTPRunDB(RunDBInterface):
|
|
|
3802
3804
|
labels = self._parse_labels(labels)
|
|
3803
3805
|
if names and isinstance(names, str):
|
|
3804
3806
|
names = [names]
|
|
3805
|
-
if
|
|
3806
|
-
modes
|
|
3807
|
+
if modes:
|
|
3808
|
+
# Ensure backward compatibility with Python 3.9 clients by converting IntEnum modes to integer values
|
|
3809
|
+
modes = (
|
|
3810
|
+
[modes.value]
|
|
3811
|
+
if isinstance(modes, mm_constants.EndpointMode)
|
|
3812
|
+
else [mode.value for mode in modes]
|
|
3813
|
+
)
|
|
3807
3814
|
response = self.api_call(
|
|
3808
3815
|
method=mlrun.common.types.HTTPMethod.GET,
|
|
3809
3816
|
path=path,
|
|
@@ -626,7 +626,9 @@ class NopDB(RunDBInterface):
|
|
|
626
626
|
tsdb_metrics: bool = False,
|
|
627
627
|
metric_list: Optional[list[str]] = None,
|
|
628
628
|
top_level: bool = False,
|
|
629
|
-
modes: Optional[
|
|
629
|
+
modes: Optional[
|
|
630
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
631
|
+
] = None,
|
|
630
632
|
uids: Optional[list[str]] = None,
|
|
631
633
|
latest_only: bool = False,
|
|
632
634
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -233,7 +233,7 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
233
233
|
try:
|
|
234
234
|
yield endpoints_output, application_schedules.__enter__()
|
|
235
235
|
finally:
|
|
236
|
-
if write_output:
|
|
236
|
+
if write_output and any(endpoints_output.values()):
|
|
237
237
|
logger.debug(
|
|
238
238
|
"Pushing model monitoring application job data to the writer stream",
|
|
239
239
|
passed_stream_profile=str(stream_profile),
|
|
@@ -344,7 +344,7 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
344
344
|
return result
|
|
345
345
|
|
|
346
346
|
if endpoints is not None:
|
|
347
|
-
resolved_endpoints = self.
|
|
347
|
+
resolved_endpoints = self._normalize_and_validate_endpoints(
|
|
348
348
|
project=project, endpoints=endpoints
|
|
349
349
|
)
|
|
350
350
|
if (
|
|
@@ -390,6 +390,16 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
390
390
|
context.log_result(
|
|
391
391
|
result_key, self._flatten_data_result(result)
|
|
392
392
|
)
|
|
393
|
+
# Check if no result was produced for any endpoint (e.g., due to no data in all windows)
|
|
394
|
+
if not any(endpoints_output.values()):
|
|
395
|
+
context.logger.warning(
|
|
396
|
+
"No data was found for any of the specified endpoints. "
|
|
397
|
+
"No results were produced",
|
|
398
|
+
application_name=application_name,
|
|
399
|
+
endpoints=endpoints,
|
|
400
|
+
start=start,
|
|
401
|
+
end=end,
|
|
402
|
+
)
|
|
393
403
|
else:
|
|
394
404
|
result = call_do_tracking(
|
|
395
405
|
mm_context.MonitoringApplicationContext._from_ml_ctx(
|
|
@@ -421,69 +431,97 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
421
431
|
)
|
|
422
432
|
|
|
423
433
|
@classmethod
|
|
424
|
-
def
|
|
434
|
+
def _normalize_and_validate_endpoints(
|
|
425
435
|
cls,
|
|
426
436
|
project: "mlrun.MlrunProject",
|
|
427
437
|
endpoints: Union[
|
|
428
438
|
list[tuple[str, str]], list[list[str]], list[str], Literal["all"]
|
|
429
439
|
],
|
|
430
|
-
) ->
|
|
431
|
-
if
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
)
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
440
|
+
) -> list[tuple[str, str]]:
|
|
441
|
+
if isinstance(endpoints, list):
|
|
442
|
+
if all(
|
|
443
|
+
isinstance(endpoint, (tuple, list)) and len(endpoint) == 2
|
|
444
|
+
for endpoint in endpoints
|
|
445
|
+
):
|
|
446
|
+
# A list of [(name, uid), ...] / [[name, uid], ...] tuples/lists
|
|
447
|
+
endpoint_uids_to_names = {
|
|
448
|
+
endpoint[1]: endpoint[0] for endpoint in endpoints
|
|
449
|
+
}
|
|
450
|
+
endpoints_list = project.list_model_endpoints(
|
|
451
|
+
uids=list(endpoint_uids_to_names.keys()), latest_only=True
|
|
452
|
+
).endpoints
|
|
453
|
+
|
|
454
|
+
# Check for missing endpoint uids or name/uid mismatches
|
|
455
|
+
for endpoint in endpoints_list:
|
|
456
|
+
if (
|
|
457
|
+
endpoint_uids_to_names[cast(str, endpoint.metadata.uid)]
|
|
458
|
+
!= endpoint.metadata.name
|
|
459
|
+
):
|
|
460
|
+
raise mlrun.errors.MLRunNotFoundError(
|
|
461
|
+
"Could not find model endpoint with name "
|
|
462
|
+
f"'{endpoint_uids_to_names[cast(str, endpoint.metadata.uid)]}' "
|
|
463
|
+
f"and uid '{endpoint.metadata.uid}'"
|
|
464
|
+
)
|
|
465
|
+
missing = set(endpoint_uids_to_names.keys()) - {
|
|
466
|
+
cast(str, endpoint.metadata.uid) for endpoint in endpoints_list
|
|
467
|
+
}
|
|
468
|
+
if missing:
|
|
469
|
+
raise mlrun.errors.MLRunNotFoundError(
|
|
470
|
+
"Could not find model endpoints with the following uids: "
|
|
471
|
+
f"{missing}"
|
|
447
472
|
)
|
|
448
|
-
else:
|
|
449
|
-
raise mlrun.errors.MLRunValueError(
|
|
450
|
-
f"Could not resolve endpoints as list of [(name, uid)], {endpoints=}"
|
|
451
|
-
)
|
|
452
473
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
names=endpoint_names, latest_only=True
|
|
460
|
-
).endpoints
|
|
474
|
+
elif all(isinstance(endpoint, str) for endpoint in endpoints):
|
|
475
|
+
# A list of [name, ...] strings
|
|
476
|
+
endpoint_names = cast(list[str], endpoints)
|
|
477
|
+
endpoints_list = project.list_model_endpoints(
|
|
478
|
+
names=endpoint_names, latest_only=True
|
|
479
|
+
).endpoints
|
|
461
480
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
if endpoints_list:
|
|
465
|
-
list_endpoints_result = [
|
|
466
|
-
(endpoint.metadata.name, endpoint.metadata.uid)
|
|
467
|
-
for endpoint in endpoints_list
|
|
468
|
-
]
|
|
469
|
-
if endpoints != "all":
|
|
481
|
+
# Check for missing endpoint names
|
|
470
482
|
missing = set(endpoints) - {
|
|
471
|
-
endpoint
|
|
483
|
+
endpoint.metadata.name for endpoint in endpoints_list
|
|
472
484
|
}
|
|
473
485
|
if missing:
|
|
474
486
|
logger.warning(
|
|
475
487
|
"Could not list all the required endpoints",
|
|
476
|
-
|
|
477
|
-
|
|
488
|
+
missing_endpoints=missing,
|
|
489
|
+
endpoints_list=endpoints_list,
|
|
478
490
|
)
|
|
479
|
-
|
|
491
|
+
else:
|
|
492
|
+
raise mlrun.errors.MLRunValueError(
|
|
493
|
+
"Could not resolve the following list as a list of endpoints:\n"
|
|
494
|
+
f"{endpoints}\n"
|
|
495
|
+
"The list must be either a list of (name, uid) tuples/lists or a list of names."
|
|
496
|
+
)
|
|
497
|
+
elif endpoints == "all":
|
|
498
|
+
endpoints_list = project.list_model_endpoints(latest_only=True).endpoints
|
|
499
|
+
elif isinstance(endpoints, str):
|
|
500
|
+
raise mlrun.errors.MLRunValueError(
|
|
501
|
+
'A string input for `endpoints` can only be "all" for all the model endpoints in '
|
|
502
|
+
"the project. If you want to select a single model endpoint with the given name, "
|
|
503
|
+
f'use a list: `endpoints=["{endpoints}"]`.'
|
|
504
|
+
)
|
|
480
505
|
else:
|
|
481
|
-
|
|
482
|
-
|
|
506
|
+
raise mlrun.errors.MLRunValueError(
|
|
507
|
+
"Could not resolve the `endpoints` parameter. The parameter must be either:\n"
|
|
508
|
+
"- a list of (name, uid) tuples/lists\n"
|
|
509
|
+
"- a list of names\n"
|
|
510
|
+
'- the string "all" for all the model endpoints in the project.'
|
|
511
|
+
)
|
|
512
|
+
|
|
513
|
+
if not endpoints_list:
|
|
483
514
|
raise mlrun.errors.MLRunNotFoundError(
|
|
484
|
-
f"Did not find any model endpoints {
|
|
515
|
+
f"Did not find any model endpoints {endpoints=}"
|
|
485
516
|
)
|
|
486
517
|
|
|
518
|
+
cls._check_endpoints_first_request(endpoints_list)
|
|
519
|
+
|
|
520
|
+
return [
|
|
521
|
+
(endpoint.metadata.name, cast(str, endpoint.metadata.uid))
|
|
522
|
+
for endpoint in endpoints_list
|
|
523
|
+
]
|
|
524
|
+
|
|
487
525
|
@staticmethod
|
|
488
526
|
def _validate_and_get_window_length(
|
|
489
527
|
*, base_period: int, start_dt: datetime, end_dt: datetime
|
{mlrun-1.10.0rc36 → mlrun-1.10.0rc38}/mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py
RENAMED
|
@@ -55,14 +55,12 @@ class TDEngineConnector(TSDBConnector):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
type: str = mm_schemas.TSDBTarget.TDEngine
|
|
58
|
-
database = f"{tdengine_schemas._MODEL_MONITORING_DATABASE}_{mlrun.mlconf.system_id}"
|
|
59
58
|
|
|
60
59
|
def __init__(
|
|
61
60
|
self,
|
|
62
61
|
project: str,
|
|
63
62
|
profile: DatastoreProfile,
|
|
64
63
|
timestamp_precision: TDEngineTimestampPrecision = TDEngineTimestampPrecision.MICROSECOND,
|
|
65
|
-
**kwargs,
|
|
66
64
|
):
|
|
67
65
|
super().__init__(project=project)
|
|
68
66
|
|
|
@@ -72,6 +70,15 @@ class TDEngineConnector(TSDBConnector):
|
|
|
72
70
|
timestamp_precision
|
|
73
71
|
)
|
|
74
72
|
|
|
73
|
+
if not mlrun.mlconf.system_id:
|
|
74
|
+
raise mlrun.errors.MLRunInvalidArgumentError(
|
|
75
|
+
"system_id is not set in mlrun.mlconf. "
|
|
76
|
+
"TDEngineConnector requires system_id to be configured for database name construction. "
|
|
77
|
+
"Please ensure MLRun configuration is properly loaded before creating TDEngineConnector."
|
|
78
|
+
)
|
|
79
|
+
self.database = (
|
|
80
|
+
f"{tdengine_schemas._MODEL_MONITORING_DATABASE}_{mlrun.mlconf.system_id}"
|
|
81
|
+
)
|
|
75
82
|
self._init_super_tables()
|
|
76
83
|
|
|
77
84
|
@property
|
|
@@ -118,7 +118,25 @@ def function_to_module(code="", workdir=None, secrets=None, silent=False):
|
|
|
118
118
|
raise ValueError("nothing to run, specify command or function")
|
|
119
119
|
|
|
120
120
|
command = os.path.join(workdir or "", command)
|
|
121
|
-
|
|
121
|
+
|
|
122
|
+
source_file_path_object, working_dir_path_object = (
|
|
123
|
+
mlrun.utils.helpers.get_source_and_working_dir_paths(command)
|
|
124
|
+
)
|
|
125
|
+
if source_file_path_object.is_relative_to(working_dir_path_object):
|
|
126
|
+
mod_name = mlrun.utils.helpers.get_relative_module_name_from_path(
|
|
127
|
+
source_file_path_object, working_dir_path_object
|
|
128
|
+
)
|
|
129
|
+
elif source_file_path_object.is_relative_to(
|
|
130
|
+
pathlib.Path(tempfile.gettempdir()).resolve()
|
|
131
|
+
):
|
|
132
|
+
mod_name = Path(command).stem
|
|
133
|
+
else:
|
|
134
|
+
raise mlrun.errors.MLRunRuntimeError(
|
|
135
|
+
f"Cannot run source file '{command}': it must be located either under the current working "
|
|
136
|
+
f"directory ('{working_dir_path_object}') or the system temporary directory ('{tempfile.gettempdir()}'). "
|
|
137
|
+
f"This is required when running with local=True."
|
|
138
|
+
)
|
|
139
|
+
|
|
122
140
|
spec = imputil.spec_from_file_location(mod_name, command)
|
|
123
141
|
if spec is None:
|
|
124
142
|
raise OSError(f"cannot import from {command!r}")
|
|
@@ -413,8 +413,7 @@ class ApplicationRuntime(RemoteRuntime):
|
|
|
413
413
|
show_on_failure=show_on_failure,
|
|
414
414
|
)
|
|
415
415
|
|
|
416
|
-
|
|
417
|
-
self._ensure_reverse_proxy_configurations(self)
|
|
416
|
+
self._ensure_reverse_proxy_configurations()
|
|
418
417
|
self._configure_application_sidecar()
|
|
419
418
|
|
|
420
419
|
# We only allow accessing the application via the API Gateway
|
|
@@ -799,27 +798,42 @@ class ApplicationRuntime(RemoteRuntime):
|
|
|
799
798
|
with_mlrun=with_mlrun,
|
|
800
799
|
)
|
|
801
800
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
801
|
+
def _ensure_reverse_proxy_configurations(self):
|
|
802
|
+
# If an HTTP trigger already exists in the spec,
|
|
803
|
+
# it means the user explicitly defined a custom configuration,
|
|
804
|
+
# so, skip automatic creation.
|
|
805
|
+
skip_http_trigger_creation = False
|
|
806
|
+
for key, value in self.spec.config.items():
|
|
807
|
+
if key.startswith("spec.triggers"):
|
|
808
|
+
if isinstance(value, dict):
|
|
809
|
+
if value.get("kind") == "http":
|
|
810
|
+
skip_http_trigger_creation = True
|
|
811
|
+
break
|
|
812
|
+
if not skip_http_trigger_creation:
|
|
813
|
+
self.with_http(
|
|
814
|
+
workers=mlrun.mlconf.function.application.default_worker_number,
|
|
815
|
+
trigger_name="application-http",
|
|
816
|
+
)
|
|
817
|
+
|
|
818
|
+
if self.spec.build.functionSourceCode or self.status.container_image:
|
|
805
819
|
return
|
|
806
820
|
|
|
807
821
|
filename, handler = ApplicationRuntime.get_filename_and_handler()
|
|
808
822
|
name, spec, code = nuclio.build_file(
|
|
809
823
|
filename,
|
|
810
|
-
name=
|
|
824
|
+
name=self.metadata.name,
|
|
811
825
|
handler=handler,
|
|
812
826
|
)
|
|
813
|
-
|
|
814
|
-
|
|
827
|
+
self.spec.function_handler = mlrun.utils.get_in(spec, "spec.handler")
|
|
828
|
+
self.spec.build.functionSourceCode = mlrun.utils.get_in(
|
|
815
829
|
spec, "spec.build.functionSourceCode"
|
|
816
830
|
)
|
|
817
|
-
|
|
831
|
+
self.spec.nuclio_runtime = mlrun.utils.get_in(spec, "spec.runtime")
|
|
818
832
|
|
|
819
833
|
# default the reverse proxy logger level to info
|
|
820
834
|
logger_sinks_key = "spec.loggerSinks"
|
|
821
|
-
if not
|
|
822
|
-
|
|
835
|
+
if not self.spec.config.get(logger_sinks_key):
|
|
836
|
+
self.set_config(
|
|
823
837
|
logger_sinks_key, [{"level": "info", "sink": "myStdoutLoggerSink"}]
|
|
824
838
|
)
|
|
825
839
|
|
|
@@ -1224,10 +1224,17 @@ class RemoteRuntime(KubeResource):
|
|
|
1224
1224
|
# try to infer the invocation url from the internal and if not exists, use external.
|
|
1225
1225
|
# $$$$ we do not want to use the external invocation url (e.g.: ingress, nodePort, etc.)
|
|
1226
1226
|
|
|
1227
|
-
#
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1227
|
+
# if none of urls is set, function was deployed with watch=False
|
|
1228
|
+
# and status wasn't fetched with Nuclio
|
|
1229
|
+
# _get_state fetches the state and updates url
|
|
1230
|
+
if (
|
|
1231
|
+
not self.status.address
|
|
1232
|
+
and not self.status.internal_invocation_urls
|
|
1233
|
+
and not self.status.external_invocation_urls
|
|
1234
|
+
):
|
|
1235
|
+
state, _, _ = self._get_state()
|
|
1236
|
+
if state not in ["ready", "scaledToZero"]:
|
|
1237
|
+
logger.warning(f"Function is in the {state} state")
|
|
1231
1238
|
|
|
1232
1239
|
# prefer internal invocation url if running inside k8s cluster
|
|
1233
1240
|
if (
|
|
@@ -679,9 +679,13 @@ class ServingRuntime(RemoteRuntime):
|
|
|
679
679
|
f"function {function} is used in steps and is not defined, "
|
|
680
680
|
"use the .add_child_function() to specify child function attributes"
|
|
681
681
|
)
|
|
682
|
-
if
|
|
683
|
-
isinstance(
|
|
684
|
-
|
|
682
|
+
if (
|
|
683
|
+
isinstance(self.spec.graph, RootFlowStep)
|
|
684
|
+
and any(
|
|
685
|
+
isinstance(step_type, mlrun.serving.states.ModelRunnerStep)
|
|
686
|
+
for step_type in self.spec.graph.steps.values()
|
|
687
|
+
)
|
|
688
|
+
and self.spec.build.functionSourceCode
|
|
685
689
|
):
|
|
686
690
|
# Add import for LLModel
|
|
687
691
|
decoded_code = b64decode(self.spec.build.functionSourceCode).decode("utf-8")
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
|
|
14
|
+
import json
|
|
15
15
|
from ast import literal_eval
|
|
16
|
-
from os import environ
|
|
16
|
+
from os import environ
|
|
17
17
|
from typing import Callable, Optional, Union
|
|
18
18
|
|
|
19
19
|
from .utils import AzureVaultStore, list2dict
|
|
@@ -161,6 +161,9 @@ def get_secret_or_env(
|
|
|
161
161
|
4. An MLRun-generated env. variable, mounted from a project secret (to be used in MLRun runtimes)
|
|
162
162
|
5. The default value
|
|
163
163
|
|
|
164
|
+
Also supports discovering the value inside any environment variable that contains a JSON-encoded list
|
|
165
|
+
of dicts with fields: {'name': 'KEY', 'value': 'VAL', 'value_from': ...}. This fallback is applied
|
|
166
|
+
after checking normal environment variables and before returning the default.
|
|
164
167
|
Example::
|
|
165
168
|
|
|
166
169
|
secrets = {"KEY1": "VALUE1"}
|
|
@@ -187,18 +190,56 @@ def get_secret_or_env(
|
|
|
187
190
|
if prefix:
|
|
188
191
|
key = f"{prefix}_{key}"
|
|
189
192
|
|
|
190
|
-
value = None
|
|
191
193
|
if secret_provider:
|
|
192
194
|
if isinstance(secret_provider, (dict, SecretsStore)):
|
|
193
|
-
|
|
195
|
+
secret_value = secret_provider.get(key)
|
|
194
196
|
else:
|
|
195
|
-
|
|
196
|
-
if
|
|
197
|
-
return
|
|
197
|
+
secret_value = secret_provider(key)
|
|
198
|
+
if secret_value:
|
|
199
|
+
return secret_value
|
|
200
|
+
|
|
201
|
+
direct_environment_value = environ.get(key)
|
|
202
|
+
if direct_environment_value:
|
|
203
|
+
return direct_environment_value
|
|
204
|
+
|
|
205
|
+
json_list_value = _find_value_in_json_env_lists(key)
|
|
206
|
+
if json_list_value is not None:
|
|
207
|
+
return json_list_value
|
|
208
|
+
|
|
209
|
+
mlrun_env_key = SecretsStore.k8s_env_variable_name_for_secret(key)
|
|
210
|
+
mlrun_env_value = environ.get(mlrun_env_key)
|
|
211
|
+
if mlrun_env_value:
|
|
212
|
+
return mlrun_env_value
|
|
198
213
|
|
|
199
|
-
return
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
214
|
+
return default
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def _find_value_in_json_env_lists(
|
|
218
|
+
secret_name: str,
|
|
219
|
+
) -> Optional[str]:
|
|
220
|
+
"""
|
|
221
|
+
Scan all environment variables. If any env var contains a JSON-encoded list
|
|
222
|
+
of dicts shaped like {'name': str, 'value': str|None, 'value_from': ...},
|
|
223
|
+
return the 'value' for the entry whose 'name' matches secret_name.
|
|
224
|
+
"""
|
|
225
|
+
for environment_variable_value in environ.values():
|
|
226
|
+
if not environment_variable_value or not isinstance(
|
|
227
|
+
environment_variable_value, str
|
|
228
|
+
):
|
|
229
|
+
continue
|
|
230
|
+
# Fast precheck to skip obvious non-JSON strings
|
|
231
|
+
first_char = environment_variable_value.lstrip()[:1]
|
|
232
|
+
if first_char not in ("[", "{"):
|
|
233
|
+
continue
|
|
234
|
+
try:
|
|
235
|
+
parsed_value = json.loads(environment_variable_value)
|
|
236
|
+
except ValueError:
|
|
237
|
+
continue
|
|
238
|
+
if isinstance(parsed_value, list):
|
|
239
|
+
for entry in parsed_value:
|
|
240
|
+
if isinstance(entry, dict) and entry.get("name") == secret_name:
|
|
241
|
+
value_in_entry = entry.get("value")
|
|
242
|
+
# Match original semantics: empty string is treated as "not found"
|
|
243
|
+
if value_in_entry:
|
|
244
|
+
return value_in_entry
|
|
245
|
+
return None
|
|
@@ -23,6 +23,7 @@ import os
|
|
|
23
23
|
import socket
|
|
24
24
|
import traceback
|
|
25
25
|
import uuid
|
|
26
|
+
from collections import defaultdict
|
|
26
27
|
from datetime import datetime, timezone
|
|
27
28
|
from typing import Any, Optional, Union
|
|
28
29
|
|
|
@@ -50,7 +51,7 @@ from ..datastore.store_resources import ResourceCache
|
|
|
50
51
|
from ..errors import MLRunInvalidArgumentError
|
|
51
52
|
from ..execution import MLClientCtx
|
|
52
53
|
from ..model import ModelObj
|
|
53
|
-
from ..utils import get_caller_globals,
|
|
54
|
+
from ..utils import get_caller_globals, get_relative_module_name_from_path
|
|
54
55
|
from .states import (
|
|
55
56
|
FlowStep,
|
|
56
57
|
MonitoredStep,
|
|
@@ -522,10 +523,6 @@ def add_system_steps_to_graph(
|
|
|
522
523
|
monitor_flow_step.after = [
|
|
523
524
|
step_name,
|
|
524
525
|
]
|
|
525
|
-
context.logger.info_with(
|
|
526
|
-
"Server graph after adding system steps",
|
|
527
|
-
graph=str(graph.steps),
|
|
528
|
-
)
|
|
529
526
|
return graph
|
|
530
527
|
|
|
531
528
|
|
|
@@ -583,7 +580,17 @@ async def async_execute_graph(
|
|
|
583
580
|
batch_size: Optional[int],
|
|
584
581
|
read_as_lists: bool,
|
|
585
582
|
nest_under_inputs: bool,
|
|
586
|
-
) ->
|
|
583
|
+
) -> None:
|
|
584
|
+
# Validate that data parameter is a DataItem and not passed via params
|
|
585
|
+
if not isinstance(data, DataItem):
|
|
586
|
+
raise MLRunInvalidArgumentError(
|
|
587
|
+
f"Parameter 'data' has type hint 'DataItem' but got {type(data).__name__} instead. "
|
|
588
|
+
f"Data files and artifacts must be passed via the 'inputs' parameter, not 'params'. "
|
|
589
|
+
f"The 'params' parameter is for simple configuration values (strings, numbers, booleans), "
|
|
590
|
+
f"while 'inputs' is for data files that need to be loaded. "
|
|
591
|
+
f"Example: run_function(..., inputs={{'data': 'path/to/data.csv'}}, params={{other_config: value}})"
|
|
592
|
+
)
|
|
593
|
+
run_call_count = 0
|
|
587
594
|
spec = mlrun.utils.get_serving_spec()
|
|
588
595
|
modname = None
|
|
589
596
|
code = os.getenv("MLRUN_EXEC_CODE")
|
|
@@ -597,7 +604,17 @@ async def async_execute_graph(
|
|
|
597
604
|
# gets set in local flow and not just in the remote pod
|
|
598
605
|
source_file_path = spec.get("filename", None)
|
|
599
606
|
if source_file_path:
|
|
600
|
-
|
|
607
|
+
source_file_path_object, working_dir_path_object = (
|
|
608
|
+
mlrun.utils.helpers.get_source_and_working_dir_paths(source_file_path)
|
|
609
|
+
)
|
|
610
|
+
if not source_file_path_object.is_relative_to(working_dir_path_object):
|
|
611
|
+
raise mlrun.errors.MLRunRuntimeError(
|
|
612
|
+
f"Source file path '{source_file_path}' is not under the current working directory "
|
|
613
|
+
f"(which is required when running with local=True)"
|
|
614
|
+
)
|
|
615
|
+
modname = get_relative_module_name_from_path(
|
|
616
|
+
source_file_path_object, working_dir_path_object
|
|
617
|
+
)
|
|
601
618
|
|
|
602
619
|
namespace = {}
|
|
603
620
|
if modname:
|
|
@@ -672,7 +689,6 @@ async def async_execute_graph(
|
|
|
672
689
|
|
|
673
690
|
if config.log_level.lower() == "debug":
|
|
674
691
|
server.verbose = True
|
|
675
|
-
context.logger.info_with("Initializing states", namespace=namespace)
|
|
676
692
|
kwargs = {}
|
|
677
693
|
if hasattr(context, "is_mock"):
|
|
678
694
|
kwargs["is_mock"] = context.is_mock
|
|
@@ -690,6 +706,7 @@ async def async_execute_graph(
|
|
|
690
706
|
context.logger.info(server.to_yaml())
|
|
691
707
|
|
|
692
708
|
async def run(body):
|
|
709
|
+
nonlocal run_call_count
|
|
693
710
|
event = storey.Event(id=index, body=body)
|
|
694
711
|
if timestamp_column:
|
|
695
712
|
if batching:
|
|
@@ -704,6 +721,7 @@ async def async_execute_graph(
|
|
|
704
721
|
f"Event body '{body}' did not contain timestamp column '{timestamp_column}'"
|
|
705
722
|
)
|
|
706
723
|
event._original_timestamp = body[timestamp_column]
|
|
724
|
+
run_call_count += 1
|
|
707
725
|
return await server.run(event, context)
|
|
708
726
|
|
|
709
727
|
if batching and not batch_size:
|
|
@@ -761,7 +779,31 @@ async def async_execute_graph(
|
|
|
761
779
|
model_endpoint_uids=model_endpoint_uids,
|
|
762
780
|
)
|
|
763
781
|
|
|
764
|
-
|
|
782
|
+
# log the results as artifacts
|
|
783
|
+
num_of_meps_in_the_graph = len(server.graph.model_endpoints_names)
|
|
784
|
+
artifact_path = None
|
|
785
|
+
if (
|
|
786
|
+
"{{run.uid}}" not in context.artifact_path
|
|
787
|
+
): # TODO: delete when IG-22841 is resolved
|
|
788
|
+
artifact_path = "+/{{run.uid}}" # will be concatenated to the context's path in extend_artifact_path
|
|
789
|
+
if num_of_meps_in_the_graph <= 1:
|
|
790
|
+
context.log_dataset(
|
|
791
|
+
"prediction", df=pd.DataFrame(responses), artifact_path=artifact_path
|
|
792
|
+
)
|
|
793
|
+
else:
|
|
794
|
+
# turn this list of samples into a dict of lists, one per model endpoint
|
|
795
|
+
grouped = defaultdict(list)
|
|
796
|
+
for sample in responses:
|
|
797
|
+
for model_name, features in sample.items():
|
|
798
|
+
grouped[model_name].append(features)
|
|
799
|
+
# create a dataframe per model endpoint and log it
|
|
800
|
+
for model_name, features in grouped.items():
|
|
801
|
+
context.log_dataset(
|
|
802
|
+
f"prediction_{model_name}",
|
|
803
|
+
df=pd.DataFrame(features),
|
|
804
|
+
artifact_path=artifact_path,
|
|
805
|
+
)
|
|
806
|
+
context.log_result("num_rows", run_call_count)
|
|
765
807
|
|
|
766
808
|
|
|
767
809
|
def _is_inside_asyncio_loop():
|