Follow these steps to start working with Jupyter Notebooks:

  1. Activate the framework(s) you want to use

    source /opt/DL/caffe-ibm/bin/caffe-activate				# Caffe
    source /opt/DL/tensorflow/bin/tensorflow-activate		# Tensorflow
    source /opt/DL/theano/bin/theano-activate				# Theano
    source /opt/DL/torch/bin/torch-activate					# Torch
    source /opt/DL/digits/bin/digits-activate				# DIGITS
    source /opt/DL/nccl/bin/nccl-activate					# For multi-GPU applications
  2. Start a Jupyter Notebook server

    jupyter-notebook --ip= --no-browser
  3. You will see an output like this:

    [I 11:31:58.994 NotebookApp] The Jupyter Notebook is running at:
    [I 11:31:58.994 NotebookApp]
    [I 11:31:58.994 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [C 11:31:58.995 NotebookApp] 
        Copy/paste this URL into your browser when you connect for the first time,
        to login with a token:
  4. Copy the address into your browser, but change to the address of the server you are using. For example:

    # If you are using the Power 8 server
    # If you are using the Power 9 server
  5. You can now start working. If you want to put the Jupyter Notebook server in the background and regain control of the shell, do the following:
    1. Press Ctrl+Z in the terminal;
    2. Type bg and press enter to execute.
    Always remember to shutdown the background Jupyter Notebook server after use. To do so, do the following:
    1. Type fg in the terminal and execute. This will bring the server back to the foreground;
    2. Press Ctrl+C to shutdown the server;
    3. Answer y to the confirmation prompt.

Important Notes

  • The Power 8 server currently only has Tensorflow 1.1.0. This is a limit of the current version of PowerAI, and may change in the future.


  • No labels