Created
June 3, 2021 02:58
-
-
Save Nanthini10/87e4d80eacd44d20fcadc56d87c89303 to your computer and use it in GitHub Desktop.
RAPIDS env using custom Docker Image on Azure ML
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
from azureml.core import Environment | |
environment_name = "rapids" | |
env = Environment(environment_name) | |
env.docker.enabled = True | |
env.docker.base_image = None | |
env.docker.base_dockerfile = """ | |
FROM rapidsai/rapidsai:0.19-cuda11.0-runtime-ubuntu18.04-py3.8 | |
RUN apt-get update && \ | |
apt-get install -y fuse && \ | |
apt-get install -y build-essential && \ | |
apt-get install -y python3-dev && \ | |
source activate rapids && \ | |
pip install azureml-defaults && \ | |
pip install azureml-interpret && \ | |
pip install interpret-community==0.18 && \ | |
pip install azureml-telemetry | |
""" | |
env.python.user_managed_dependencies = True | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment