Azure / Azure/MachineLearningNotebooks

Model with ' ' in `model_path` fails ACI deployment

Open
#1,630 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

To reproduce:
1. rename `tutorials/image-classification-mnist-data/sklearn_mnist_model.pkl` to `sklearn mnist model.pkl`
2. edit `tutorials/image-classification-mnist-data/img-classification-part2-deploy.ipynb` to reflect Step 1 (in model-registration, cell 1, and in `score.py`, cell 3)
3. run `img-classification-part2-deploy.ipynb`- the "Deploy in ACI" step fails:

```
Service deployment polling reached non-successful terminal state, current service state: Transitioning
Operation ID: b8141a0c-55e4-4cd4-b30d-da7d1debd3e1
More information can be found using '.get_logs()'
Error:
{
"code": "DeploymentTimedOut",
"statusCode": 504,
"message": "The deployment operation polling has TimedOut. The service creation is taking longer than our normal time. We are still trying to achieve the desired state for the web service. Please check the webservice state for the current webservice health. You can run print(service.state) from the python SDK to retrieve the current state of the webservice.
Please refer to https://aka.ms/debugimage#dockerlog for more information."
}
```

The ACI deployment also failed when `model_path` specifies a folder with spaces in its name. This did _not_ appear to affect `LocalWebservice` or AKS deployments.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.