...
A Docker container is an instance created from a Docker image. We provide RPE as Docker images which you can download from here. Currently, there are four tags (types) available.This is the type available: min: the minimal
...
version for CPU instances
...
.
...
min-cuda9-cudnn7: the minimal version for GPU instances.
...
ds-cuda9-cudnn7: the data science version for GPU instances containing recommended libraries for data science.
Below is the list of Python libraries in the ds and ds-cuda9-cudnn7 tags.
...
Execute the following command to start the RPE container data science version:
Code Block |
---|
sudo docker pull snaplogic/rpe:ds
sudo docker run --memory-swap="-1" --restart=always -dti -p 5301:5301 -e "REMOTE_PYTHON_EXECUTOR_TOKEN=" -v /opt/remote_python_executor_log/:/opt/remote_python_executor_log/ --name=rpe snaplogic/rpe:ds |
Execute the following command to start the RPE container minimal version:
Code Block |
---|
sudo docker pull snaplogic/rpe:min
sudo docker run --memory-swap="-1" --restart=always -dti -p 5301:5301 -e "REMOTE_PYTHON_EXECUTOR_TOKEN=" -v /opt/remote_python_executor_log/:/opt/remote_python_executor_log/ --name=rpe snaplogic/rpe:min |
GPU Instance
Execute the following command to start the RPE container data science version for GPU instance:
Code Block |
---|
sudo docker pull snaplogic/rpe:ds-cuda9-cudnn7
sudo docker run --runtime=nvidia --memory-swap="-1" --restart=always -dti -p 5301:5301 -e "REMOTE_PYTHON_EXECUTOR_TOKEN=" -v /opt/remote_python_executor_log/:/opt/remote_python_executor_log/ --name=rpe snaplogic/rpe:ds-cuda9-cudnn7 |
Execute the following command to start the RPE container minimal version for GPU instance:
...