-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be267bc
commit 50bacfc
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
tags: | ||
- help | ||
--- | ||
# Watch GPU consumption | ||
|
||
In this section, we demonstrate how to watch the GPU consumption of your | ||
jupyter job on the compute node. | ||
|
||
## Check the compute node | ||
|
||
```bash title="" | ||
squeue | grep <your-job-name> | ||
``` | ||
|
||
You should see something like `maestro-####`, write down the `####` numbers. | ||
|
||
## Connect to the compute node | ||
|
||
Open a new terminal and ssh into the compute node | ||
|
||
```bash | ||
ssh m#### | ||
``` | ||
|
||
where `####` are the numbers from the previous section | ||
|
||
## Watch GPU consumption | ||
|
||
```bash | ||
watch nvidia-smi | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters