ea53fa81bc05955d04890641bf22626d26756401,tests/sagemaker/test_deployment.py,,test_get_preferred_deployment_flavor_obtains_valid_flavor_from_model,#Any#,148
Before Change
@pytest.mark.large
def test_get_preferred_deployment_flavor_obtains_valid_flavor_from_model(pretrained_model):
model_config_path = os.path.join(_get_model_log_dir(
pretrained_model.model_path, pretrained_model.run_id), "MLmodel")
model_config = Model.load(model_config_path)
selected_flavor = mfs._get_preferred_deployment_flavor(model_config=model_config)
After Change
@pytest.mark.large
def test_get_preferred_deployment_flavor_obtains_valid_flavor_from_model(pretrained_model):
model_config_path = os.path.join(
_download_artifact_from_uri(pretrained_model.model_uri), "MLmodel")
model_config = Model.load(model_config_path)
selected_flavor = mfs._get_preferred_deployment_flavor(model_config=model_config)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: mlflow/mlflow
Commit Name: ea53fa81bc05955d04890641bf22626d26756401
Time: 2019-05-02
Author: sueann@databricks.com
File Name: tests/sagemaker/test_deployment.py
Class Name:
Method Name: test_get_preferred_deployment_flavor_obtains_valid_flavor_from_model
Project Name: mlflow/mlflow
Commit Name: ea53fa81bc05955d04890641bf22626d26756401
Time: 2019-05-02
Author: sueann@databricks.com
File Name: tests/sagemaker/test_deployment.py
Class Name:
Method Name: test_validate_deployment_flavor_validates_python_function_flavor_successfully
Project Name: mlflow/mlflow
Commit Name: ea53fa81bc05955d04890641bf22626d26756401
Time: 2019-05-02
Author: sueann@databricks.com
File Name: tests/sagemaker/test_deployment.py
Class Name:
Method Name: test_get_preferred_deployment_flavor_obtains_valid_flavor_from_model
Project Name: mlflow/mlflow
Commit Name: ea53fa81bc05955d04890641bf22626d26756401
Time: 2019-05-02
Author: sueann@databricks.com
File Name: tests/sagemaker/test_deployment.py
Class Name:
Method Name: test_deployment_of_model_with_no_supported_flavors_raises_exception