You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reqs= {"scikit-learn==1.0.2", "pandas==1.5.2"}
mlflow.pyfunc.log_model(artifact_path="artifacts", python_model=TestWrap(), registered_model_name="wrapperForENV7", await_registration_for=0, pip_requirements=reqs)
model=mlflow.pyfunc.spark_udf(spark, model_uri="models:/wrapperForENV7/latest", env_manager="virtualenv", result_type="double")
# So this one works and gives me this:2023/11/0618:42:03INFOmlflow.pyfunc: ThisUDFwillusevirtualenvtorecreatethemodel'ssoftwareenvironmentforinference. Thismaytakeextratimeduringexecution.
2023/11/0618:42:03INFOmlflow.models.flavor_backend_registry: Selectedbackendforflavor'python_function'2023/11/0618:42:03INFOmlflow.utils.virtualenv: Installingpython3.10.12ifitdoesnotexist2023/11/0618:42:03INFOmlflow.utils.virtualenv: Creatinganewenvironmentin/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-5a181-004b6-6844f-f/mlflow/envs/virtualenv_envs/mlflow-2b3c092ae9a19d62d8311bd12fd4451d8c54ff5bwith/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-5a181-004b6-6844f-f/mlflow/envs/pyenv_root/versions/3.10.12/bin/python2023/11/0618:42:04INFOmlflow.utils.virtualenv: Installingdependencies2023/11/0618:42:49INFOmlflow.utils.environment: ===Runningcommand'['bash', '-c', 'source/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-5a181-004b6-6844f-f/mlflow/envs/virtualenv_envs/mlflow-2b3c092ae9a19d62d8311bd12fd4451d8c54ff5b/bin/activate&&python-c""']'
Describe the problem
How can i specify python_version within requirements.txt so pyenv can install it? Or how is it even possible to specify python_version at all if its not conda.yaml? Since i am using virutalenv as env manager? How to pass there python_version?
Other info / logs
No response
The text was updated successfully, but these errors were encountered:
System information
DBR 13.3 LTS ML
Code to reproduce issue
Describe the problem
How can i specify python_version within requirements.txt so pyenv can install it? Or how is it even possible to specify python_version at all if its not conda.yaml? Since i am using virutalenv as env manager? How to pass there python_version?
Other info / logs
No response
The text was updated successfully, but these errors were encountered: