jupyter-resource-usage
jupyter-resource-usage copied to clipboard
Jupyter Notebook (Sagemaker Instance) : Not displaying Memory
Installed nbresuse as per following steps ;
pip install nbresuse jupyter serverextension enable --py nbresuse --sys-prefix jupyter nbextension install --py nbresuse --sys-prefix jupyter nbextension enable --py nbresuse --sys-prefix
But When I start the notebook, memory is not displayed on screen. and Yes, I have psutil already installed.
any help is much appreciated.
I'm having the same issue
Does Sagemaker use the standard Jupyer Notebook, or does it have any Amazon customisations?
I am having the same issue and would like to know if there is any solution to it?
Edit: Found a solution to it. We need to activate the correct environment and restart the jupyter server after installing/enabling the extension
source /home/ec2-user/anaconda3/bin/activate JupyterSystemEnv
pip install nbresuse
jupyter serverextension enable --py nbresuse --sys-prefix
jupyter nbextension install --py nbresuse --sys-prefix
jupyter nbextension enable --py nbresuse --sys-prefix
sudo initctl restart jupyter-server --no-wait
Edit: Found a solution to it. We need to activate the correct environment and restart the jupyter server after installing/enabling the extension
source /home/ec2-user/anaconda3/bin/activate JupyterSystemEnv pip install nbresuse jupyter serverextension enable --py nbresuse --sys-prefix jupyter nbextension install --py nbresuse --sys-prefix jupyter nbextension enable --py nbresuse --sys-prefix sudo initctl restart jupyter-server --no-wait
It should be in the installation guide unless nbresuse
is added to dependencies.
It works so good that now I have two estimates (sometimes significantly different, like 4.6 and 1.9 GB):
:rofl: