-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added unit tests for mlflow py312 environment #3607
base: main
Are you sure you want to change the base?
Conversation
Test Results for assets-test2 tests 0 ✅ 4s ⏱️ For more details on these failures, see this check. Results for commit 287ca07. ♻️ This comment has been updated with latest results. |
...nference/environments/mlflow-ubuntu22.04-py312-cpu-inference/context/conda_dependencies.yaml
Outdated
Show resolved
Hide resolved
...nference/environments/mlflow-ubuntu22.04-py312-cpu-inference/context/conda_dependencies.yaml
Outdated
Show resolved
Hide resolved
|
||
env_docker_context = Environment( | ||
build=BuildContext(path=this_dir / BUILD_CONTEXT), | ||
name="minimal_cpu_inference", | ||
description="minimal 22.04 py312 cpu inference environment created from a Docker context.", | ||
name="mlflow_py312_inference", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably should be name=env_name
score="valid_score.py", | ||
score="/var/mlflow_resources/mlflow_score_script.py", | ||
score_input="sample_2_0_input.txt", | ||
model_dir="mlflow_2_0_model_folder" | ||
), | ||
environment=f"{env_name}@latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ml_client.Environment.create_or_update returns an instance of environment. Please pass it to the common job instead of trying resolve the latest label based on the assumption it was created above.
Added unit tests for mlflow py312 environment