mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-20 09:37:04 -05:00
Merge pull request #70 from wchill/fix_macos_sigsegv
Fix segfault under certain conditions when running AutoML pipelines on MacOS
This commit is contained in:
17
automl/automl_env_mac.yml
Normal file
17
automl/automl_env_mac.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: azure_automl
|
||||||
|
dependencies:
|
||||||
|
# The python interpreter version.
|
||||||
|
# Currently Azure ML only supports 3.5.2 and later.
|
||||||
|
- python=3.6
|
||||||
|
- nb_conda
|
||||||
|
- matplotlib
|
||||||
|
- numpy>=1.15.3
|
||||||
|
- cython
|
||||||
|
- urllib3<1.24
|
||||||
|
- scipy>=0.19.0,<0.20.0
|
||||||
|
- scikit-learn>=0.18.0,<=0.19.1
|
||||||
|
- pandas>=0.22.0,<0.23.0
|
||||||
|
- pip:
|
||||||
|
# Required packages for AzureML execution, history, and data preparation.
|
||||||
|
- azureml-sdk[automl,notebooks]
|
||||||
|
- pandas_ml
|
||||||
@@ -11,7 +11,7 @@ fi
|
|||||||
|
|
||||||
if [ "$AUTOML_ENV_FILE" == "" ]
|
if [ "$AUTOML_ENV_FILE" == "" ]
|
||||||
then
|
then
|
||||||
AUTOML_ENV_FILE="automl_env.yml"
|
AUTOML_ENV_FILE="automl_env_mac.yml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $AUTOML_ENV_FILE ]; then
|
if [ ! -f $AUTOML_ENV_FILE ]; then
|
||||||
@@ -29,6 +29,7 @@ else
|
|||||||
conda install lightgbm -c conda-forge -y &&
|
conda install lightgbm -c conda-forge -y &&
|
||||||
jupyter nbextension install --py azureml.train.widgets --user &&
|
jupyter nbextension install --py azureml.train.widgets --user &&
|
||||||
jupyter nbextension enable --py azureml.train.widgets --user &&
|
jupyter nbextension enable --py azureml.train.widgets --user &&
|
||||||
|
pip install numpy==1.15.3
|
||||||
echo "" &&
|
echo "" &&
|
||||||
echo "" &&
|
echo "" &&
|
||||||
echo "***************************************" &&
|
echo "***************************************" &&
|
||||||
@@ -44,5 +45,3 @@ if [ $? -gt 0 ]
|
|||||||
then
|
then
|
||||||
echo "Installation failed"
|
echo "Installation failed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user