@@ -9,9 +9,9 @@ Compute sessions
99 Please consult the detailed usage in the help of each command.
1010 (use ``-h `` or ``--help `` argument to display the manual)
1111
12- ----------------
12+
1313Listing sessions
14- ----------------
14+ ~~~~~~~~~~~~~~~~
1515
1616List the session owned by you with various status filters.
1717The most recently status-changed sessions are listed first.
@@ -96,9 +96,9 @@ Both commands offer options to specify which fields of sessions should be printe
9696
9797 .. _simple-execution :
9898
99- -----------------------
99+
100100Running simple sessions
101- -----------------------
101+ ~~~~~~~~~~~~~~~~~~~~~~~
102102
103103The following command spawns a Python session and executes
104104the code passed as ``-c `` argument immediately.
@@ -148,9 +148,9 @@ To watch what is happening behind the scene until the session starts,
148148try ``backend.ai events <sessionID> `` to receive the lifecycle events
149149such as its scheduling and preparation steps.
150150
151- ----------------------------------
151+
152152Running sessions with accelerators
153- ----------------------------------
153+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154154
155155Use one or more ``-r `` options to specify resource requirements when
156156using ``backend.ai run `` and ``backend.ai start `` commands.
@@ -165,9 +165,9 @@ memory to execute ``./mygpucode.py`` file inside it.
165165 -r cpu=4 -r mem=8g -r cuda.shares=2 \
166166 python-tensorflow:1.12-py36 ./mygpucode.py
167167
168- ----------------------------------
168+
169169 Terminating or cancelling sessions
170- ----------------------------------
170+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
171171
172172Without ``--rm `` option, your session remains alive for a configured
173173amount of idle timeout (default is 30 minutes).
@@ -290,9 +290,9 @@ Container Applications
290290 Please consult the detailed usage in the help of each command
291291 (use ``-h `` or ``--help `` argument to display the manual).
292292
293- ---------------------------------------------------------
293+
294294Starting a session and connecting to its Jupyter Notebook
295- ---------------------------------------------------------
295+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296296
297297The following command first spawns a Python session named "mysession"
298298without running any code immediately, and then executes a local proxy which
@@ -315,9 +315,9 @@ For the jupyter service, use your favorite web browser just like the
315315way you use Jupyter Notebooks.
316316To stop the ``app `` command, press ``Ctrl+C `` or send the ``SIGINT `` signal.
317317
318- -------------------------------------
318+
319319Accessing sessions via a web terminal
320- -------------------------------------
320+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
321321
322322All Backend.AI sessions expose an intrinsic application named ``"ttyd" ``.
323323It is an web application that embeds xterm.js-based full-screen terminal
@@ -359,9 +359,9 @@ Options for ``app`` commands
359359 * - ``-e, --env "ENVNAME=envvalue" ``
360360 - Add additional environment variable when starting service.
361361
362- --------------------------------------
362+
363363Accessing sessions via native SSH/SFTP
364- --------------------------------------
364+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
365365
366366Backend.AI offers direct access to compute sessions (containers) via SSH
367367and SFTP, by auto-generating host identity and user keypairs for all
@@ -520,9 +520,9 @@ Advanced Code Execution
520520 Please consult the detailed usage in the help of each command
521521 (use ``-h `` or ``--help `` argument to display the manual).
522522
523- --------------------------------------
523+
524524Running concurrent experiment sessions
525- --------------------------------------
525+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
526526
527527In addition to single-shot code execution as described in
528528:ref: `simple-execution `, the ``run `` command offers concurrent execution of
@@ -588,9 +588,9 @@ values specified by each range.
588588Session Templates
589589-----------------
590590
591- --------------------------------------
591+
592592Creating and starting session template
593- --------------------------------------
593+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
594594
595595Users may define commonly used set of session creation parameters as
596596reusable templates.
@@ -679,9 +679,10 @@ Other CRUD command examples are as follows:
679679
680680 * - ``update ``
681681 - Update task template stored in Backend.AI Manager.
682- -----------------------------
682+
683+
683684Full syntax for task template
684- -----------------------------
685+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
685686
686687.. code-block :: text
687688
0 commit comments