diff --git a/doc/examples/plot_example-lm.rst b/doc/examples/plot_example-lm.rst index f7b4d4101..28bcf2aff 100644 --- a/doc/examples/plot_example-lm.rst +++ b/doc/examples/plot_example-lm.rst @@ -42,7 +42,7 @@ Run the following command on your local machine to start the Ray cluster: You can move these files manually, or use the following command to upload files from a local path: -.. code-block:: +.. code-block:: bash ray rsync-up lm-cluster.yaml PATH/TO/LM '~/efs/lm' diff --git a/doc/source/using-ray-with-tensorflow.rst b/doc/source/using-ray-with-tensorflow.rst index e755c91cc..683fc1038 100644 --- a/doc/source/using-ray-with-tensorflow.rst +++ b/doc/source/using-ray-with-tensorflow.rst @@ -15,7 +15,7 @@ Common Issues: Pickling One common issue with TensorFlow2.0 is a pickling error like the following: -.. code-block:: +.. code-block:: none File "/home/***/venv/lib/python3.6/site-packages/ray/actor.py", line 322, in remote return self._remote(args=args, kwargs=kwargs) @@ -41,7 +41,7 @@ One common issue with TensorFlow2.0 is a pickling error like the following: To resolve this, you should move all instances of ``import tensorflow`` into the Ray actor or function, as follows: -.. code-block:: +.. code-block:: python def create_model(): import tensorflow as tf