mirror of
https://github.com/clearml/clearml-session
synced 2025-01-30 18:36:54 +00:00
Small edits
This commit is contained in:
parent
19f1f2c04f
commit
c17ff38cd5
12
README.md
12
README.md
@ -150,7 +150,7 @@ Checking previous session
|
||||
Connect to active session id=3d38e738c5ff458a9ec465e77e19da23 [Y]/n?
|
||||
```
|
||||
|
||||
### ⏻ Shutting down a remote session
|
||||
### Shutting down a remote session
|
||||
|
||||
On the `clearml-session` CLI terminal, enter 'shutdown' (case-insensitive).
|
||||
It will shut down the remote session, free the resource and close the CLI:
|
||||
@ -337,19 +337,19 @@ optional arguments:
|
||||
--attach [ATTACH] Attach to running interactive session (default: previous session)
|
||||
--shutdown [SHUTDOWN], -S [SHUTDOWN]
|
||||
Shut down an active session (default: previous session)
|
||||
--shell Open the SSH shell session directly, notice quiting the SSH session will Not shutdown the
|
||||
--shell Open the SSH shell session directly, notice quitting the SSH session will Not shut down the
|
||||
remote session
|
||||
--debugging-session DEBUGGING_SESSION
|
||||
Pass existing Task id (experiment), create a copy of the experiment on a remote machine,
|
||||
and launch jupyter/ssh for interactive access. Example --debugging-session <task_id>
|
||||
--queue QUEUE Select the queue to launch the interactive session on (default: previously used queue)
|
||||
--docker DOCKER Select the docker image to use in the interactive session on (default: previously used
|
||||
--docker DOCKER Select the docker image to use in the interactive session (default: previously used
|
||||
docker image or `nvidia/cuda:11.6.2-runtime-ubuntu20.04`)
|
||||
--docker-args DOCKER_ARGS
|
||||
Add additional arguments for the docker image to use in the interactive session on
|
||||
(default: previously used docker-args)
|
||||
--public-ip [true/false]
|
||||
If True register the public IP of the remote machine. Set if running on the cloud.
|
||||
If True, register the public IP of the remote machine. Set if running on the cloud.
|
||||
Default: false (use for local / on-premises)
|
||||
--remote-ssh-port REMOTE_SSH_PORT
|
||||
Set the remote ssh server port, running on the agent`s machine. (default: 10022)
|
||||
@ -370,7 +370,7 @@ optional arguments:
|
||||
Continue previous session (ID provided) restoring your workspace (see --store-workspace)
|
||||
--store-workspace STORE_WORKSPACE
|
||||
Upload/Restore remote workspace folder. Example: `~/workspace/` will automatically
|
||||
restore/store the *containers* folder and extract it into next the session. Use with
|
||||
restore/store the *containers* folder and extract it into the next session. Use with
|
||||
--continue-session to continue your previous work from your exact container state
|
||||
--git-credentials [true/false]
|
||||
If true, local .git-credentials file is sent to the interactive session. (default: false)
|
||||
@ -405,7 +405,7 @@ optional arguments:
|
||||
Advanced: If set, previous interactive sessions are not deleted
|
||||
--keepalive [true/false]
|
||||
Advanced: If set, enables the transparent proxy always keeping the sockets alive. Default:
|
||||
False, do not use transparent socket for mitigating connection drops.
|
||||
False, do not use transparent sockets for mitigating connection drops.
|
||||
--queue-excluded-tag [QUEUE_EXCLUDED_TAG [QUEUE_EXCLUDED_TAG ...]]
|
||||
Advanced: Excluded queues with this specific tag from the selection
|
||||
--queue-include-tag [QUEUE_INCLUDE_TAG [QUEUE_INCLUDE_TAG ...]]
|
||||
|
@ -1212,22 +1212,22 @@ def setup_parser(parser):
|
||||
parser.add_argument("--shutdown", "-S", default=None, const="", nargs="?",
|
||||
help="Shut down an active session (default: previous session)")
|
||||
parser.add_argument("--shell", action='store_true', default=None,
|
||||
help="Open the SSH shell session directly, notice quiting the SSH session "
|
||||
"will Not shutdown the remote session")
|
||||
help="Open the SSH shell session directly, notice quitting the SSH session "
|
||||
"will Not shut down the remote session")
|
||||
parser.add_argument('--debugging-session', type=str, default=None,
|
||||
help='Pass existing Task id (experiment), create a copy of the experiment on a remote machine, '
|
||||
'and launch jupyter/ssh for interactive access. Example --debugging-session <task_id>')
|
||||
parser.add_argument('--queue', type=str, default=None,
|
||||
help='Select the queue to launch the interactive session on (default: previously used queue)')
|
||||
parser.add_argument('--docker', type=str, default=None,
|
||||
help='Select the docker image to use in the interactive session on '
|
||||
help='Select the docker image to use in the interactive session '
|
||||
'(default: previously used docker image or `{}`)'.format(default_docker_image))
|
||||
parser.add_argument('--docker-args', type=str, default=None,
|
||||
help='Add additional arguments for the docker image to use in the interactive session on '
|
||||
'(default: previously used docker-args)')
|
||||
parser.add_argument('--public-ip', default=None, nargs='?', const='true', metavar='true/false',
|
||||
type=lambda x: (str(x).strip().lower() in ('true', 'yes')),
|
||||
help='If True register the public IP of the remote machine. Set if running on the cloud. '
|
||||
help='If True, register the public IP of the remote machine. Set if running on the cloud. '
|
||||
'Default: false (use for local / on-premises)')
|
||||
parser.add_argument('--remote-ssh-port', type=str, default=None,
|
||||
help='Set the remote ssh server port, running on the agent`s machine. (default: 10022)')
|
||||
@ -1254,7 +1254,7 @@ def setup_parser(parser):
|
||||
parser.add_argument('--store-workspace', type=str, default=None,
|
||||
help='Upload/Restore remote workspace folder. '
|
||||
'Example: `~/workspace/` will automatically restore/store the *containers* folder '
|
||||
'and extract it into next the session. '
|
||||
'and extract it into the next session. '
|
||||
'Use with --continue-session to continue your '
|
||||
'previous work from your exact container state')
|
||||
parser.add_argument('--git-credentials', default=False, nargs='?', const='true', metavar='true/false',
|
||||
@ -1296,7 +1296,7 @@ def setup_parser(parser):
|
||||
parser.add_argument('--keepalive', default=False, nargs='?', const='true', metavar='true/false',
|
||||
type=lambda x: (str(x).strip().lower() in ('true', 'yes')),
|
||||
help='Advanced: If set, enables the transparent proxy always keeping the sockets alive. '
|
||||
'Default: False, do not use transparent socket for mitigating connection drops.')
|
||||
'Default: False, do not use transparent sockets for mitigating connection drops.')
|
||||
parser.add_argument('--queue-excluded-tag', default=None, nargs='*',
|
||||
help='Advanced: Excluded queues with this specific tag from the selection')
|
||||
parser.add_argument('--queue-include-tag', default=None, nargs='*',
|
||||
|
Loading…
Reference in New Issue
Block a user