jupyter / jupyter/notebook

how to change the process name showing on nvidia-smi

Open
#4,602 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Hi,

When running `.ipynb` files, `nvidia-smi` will show the full process name (i.e., python path) (see the below image with the PID=32452), whereas other files running from `.py` won't show any specific name. Is that possible to change this behavior to let it only show **python**?
![image](https://user-images.githubusercontent.com/39670256/57102912-62772c80-6d1c-11e9-9219-b4c31b947c7d.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the different nvidia-smi process names for .ipynb and .py execution using the example in the issue. Trace how each process is launched and identify whether the displayed name can be changed; done means notebook-launched processes show only python, or the limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.