Skip to content

Latest commit

 

History

History
68 lines (33 loc) · 2.39 KB

README.md

File metadata and controls

68 lines (33 loc) · 2.39 KB

jupyter-deepforest

This repository contains information to create a docker image for jupyterlab. The main python library that is installed is DeepForest. It has been created to utilize GPUs in Cyverse Discover Environment. Also added to this docker image is a script in entry.sh that copies your .ssh and .gitconfig files from you personal data store to the working directory of the docker image.

Dockerfile

The docker image is based on the jupyter/minimal-notebook image. It has python 3.11 installed and includes some command line tools like curl, git, and nano.

FROM quay.io/jupyter/minimal-notebook:lab-4.2.1

Build and Run Locally

git clone [email protected]:cyverse-vice/jupyterlab-deepforest.git

cd jupyterlab-deepforest

docker build -t harbor.cyverse.org/vice/jupyter/deepforest:gpu-061424 .

docker run -it --rm --gpus=all -p 8888:8888 harbor.cyverse.org/vice/jupyter/deepforest:gpu-061424

Open your browser and go to https://localhost:8888

Push to Cyverse Harbor

docker push harbor.cyverse.org/vice/jupyter/deepforest:gpu-061424

Create Cyverse DE Tool

Go to the Cyverse DE and go to 'Tools'



Fill out the tool information as such


Go to the 'Tools' under the Admin. You need admin privaledges for this to be visible.

Create a Cyverse App

From the Tool you created, create an interactive Cyverse App

I created an app called 'JupyterLab Minimal GPU'

How do I know if the GPU is Enabled?

After launching the Cyverse App, open a terminal in the jupyterlab and type:

nvidia-smi -L

The output should say the name of the GPU (e.g., NVIDIA GeForce RTX 2080)