-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage AML environments from conda YAML files (#168)
* PR review fixes * Update Dockerfile * . * Update deploy_web_service.py * Update deploy_web_service.py * PR review fixes * PR review fixes * PR review fixes * Update training_dependencies.yml * Linting fixes * Fixed merge * Update code_test.py * Simplified environment management, restored deploy task * Simplified environment management, restored deploy task * Fixed doc for new file path * Added comments Co-authored-by: Sushant Divate <sudivate@microsoft.com>
- Loading branch information
Showing
11 changed files
with
110 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "diabetes_regression_sklearn", | ||
"version": null, | ||
"environmentVariables": { | ||
"EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" | ||
}, | ||
"python": { | ||
"userManagedDependencies": false, | ||
"interpreterPath": "python", | ||
"condaDependenciesFile": null, | ||
"baseCondaEnvironment": null | ||
}, | ||
"docker": { | ||
"enabled": true, | ||
"baseImage": "mcr.microsoft.com/azureml/base:intelmpi2018.3-ubuntu16.04", | ||
"baseDockerfile": null, | ||
"sharedVolumes": true, | ||
"shmSize": "2g", | ||
"arguments": [], | ||
"baseImageRegistry": { | ||
"address": null, | ||
"username": null, | ||
"password": null | ||
} | ||
}, | ||
"spark": { | ||
"repositories": [], | ||
"packages": [], | ||
"precachePackages": true | ||
}, | ||
"databricks": { | ||
"mavenLibraries": [], | ||
"pypiLibraries": [], | ||
"rcranLibraries": [], | ||
"jarLibraries": [], | ||
"eggLibraries": [] | ||
}, | ||
"inferencingStackVersion": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Details about the Conda environment file format: | ||
# https://conda.io/docs/using/envs.html#create-environment-file-by-hand | ||
|
||
name: diabetes_regression_sklearn | ||
|
||
dependencies: | ||
|
||
# The python interpreter version. | ||
- python=3.7.5 | ||
|
||
# Required by azureml-defaults, installed separately through Conda to | ||
# get a prebuilt version and not require build tools for the install. | ||
- psutil=5.6 #latest | ||
|
||
- numpy=1.18.1 | ||
- pandas=1.0.0 | ||
- scikit-learn=0.22.1 | ||
#- r-essentials | ||
#- tensorflow | ||
#- keras | ||
|
||
- pip=20.0.2 | ||
- pip: | ||
|
||
# Dependencies for training environment. | ||
|
||
- azureml-core==1.0.79 | ||
|
||
# Dependencies for scoring environment. | ||
|
||
# You must list azureml-defaults as a pip dependency | ||
- azureml-defaults==1.0.79 | ||
- inference-schema[numpy-support]==1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--- | ||
computeType: ACI | ||
containerResourceRequirements: | ||
cpu: 1 | ||
memoryInGB: 4 | ||
computeType: ACI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters