Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$ jupyter.ini.sh -R -G         # set up a Dask cluster utilising GPU devices. 
# The Ray cluster contains both CPU and GPU resources allocated within the PBS job.


After it is running, you can connect to this Ray cluster in a python script as below:

import ray 
ray.init(address='auto')