Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for active ssh connections #2

Open
albanie opened this issue Apr 6, 2020 · 2 comments
Open

Support for active ssh connections #2

albanie opened this issue Apr 6, 2020 · 2 comments

Comments

@albanie
Copy link

albanie commented Apr 6, 2020

Do you think it would be possible to support the use-case where the user logs in to a "login node" (with no GPUs) and then connects from there to a compute node (which contains the GPUs) via ssh using the integrated terminal? Would it be feasible to view the GPU usage of a currently active ssh connection, using the same visualisation (e.g. by making repeated remote calls to nvidia-smi)?

@innerlee
Copy link
Owner

innerlee commented Apr 6, 2020

If you remotely connected to the login node, surely it is possible to implement.

Step 1: write a script that queries gpu usage (not related to extension)
Step 2: add an extension config to parse the output of user provided script (pr welcome)

@mingjun97
Copy link

You may ues the remote-ssh plugin to attach current workspace to the remote machine via ssh, then install nvidia-smi as you did in local machine. The remote-ssh also enables you to edit files directly on the remote machine.

This works pertty cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants