test-giskard-bot / mlflow_test.py
ZeroCommand's picture
Upload folder using huggingface_hub
6f37815 verified
raw
history blame contribute delete
529 Bytes
from pathlib import Path
from mlflow.utils.environment import _PythonEnv
from mlflow.utils.virtualenv import (
_PYENV_ROOT_DIR,
_VIRTUALENV_ENVS_DIR,
_create_virtualenv,
_get_mlflow_virtualenv_root,
_get_virtualenv_extra_env_vars,
_get_virtualenv_name,
_install_python,
)
_create_virtualenv(
"/Users/inoki/giskard-home/projects/credit/models/2a2b6a9c-4050-4bb6-9024-00bf15651262",
Path("/opt/homebrew/bin/python3.10"),
Path("/Users/inoki/giskard-home/mlflow-venv1"),
_PythonEnv()
)