Skip to content

Commit

Permalink
[docs] docs for running Tensorboard without sudo (#5015)
Browse files Browse the repository at this point in the history
* Instructions for running Tensorboard without sudo

When we run Tensorboard to visualize the results of Ray outputs on multi-user clusters where we don't have sudo access, such as RISE clusters, a few commands need to first be run to make sure tensorboard can edit the tmp directory. This is a pretty common usecase so I figured we may as well put it in the documentation for Tune.

* Update tune-usage.rst
  • Loading branch information
kiddyboots216 authored and richardliaw committed Jun 24, 2019
1 parent e33d0ea commit 11ccf66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/source/tune-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@ Then, after you run a experiment, you can visualize your experiment with TensorB
$ tensorboard --logdir=~/ray_results/my_experiment
If you are running Ray on a remote multi-user cluster where you do not have sudo access, you can run the following commands to make sure tensorboard is able to write to the tmp directory:

.. code-block:: bash
$ export TMPDIR=/tmp/$USER; mkdir -p $TMPDIR; tensorboard --logdir=~/ray_results
.. image:: ray-tune-tensorboard.png

To use rllab's VisKit (you may have to install some dependencies), run:
Expand Down

0 comments on commit 11ccf66

Please sign in to comment.