MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Conda dependency yml

Open zackdrescher opened this issue 7 years ago • 3 comments

what is the best way to configure an estimator environment from a conda dependency yml? Looks like you need to parse the file yourself and feed it to conda_packages and pip_packages.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

zackdrescher avatar Feb 07 '19 14:02 zackdrescher

Tagging @hning86 to help

aashishb avatar Feb 07 '19 21:02 aashishb

See my comment on #202

dataders avatar Feb 08 '19 19:02 dataders

you can load an existing conda.yml file and rehydrate it into a conda dependency object:

cd = CondaDependencies(conda_dependencies_file_path='env.yml')

you can create a run configuration object with this cd object. you can then pass the environment property of the run config object to the estimator constructor's environment definition parameter.

hning86 avatar Feb 12 '19 19:02 hning86