rapidsai / jupyterlab-nvdashboard

A JupyterLab extension for displaying dashboards of GPU usage.
BSD 3-Clause "New" or "Revised" License
611 stars 78 forks source link

Clipped title/legend text on dashboards #57

Open dataframing opened 4 years ago

dataframing commented 4 years ago

Hi,

First of all, thank you all for your work on this project — it's proven fantastic for understanding memory pressure and experimenting with training!

I noticed, however, that the title and legend text on each of the dashboards have been "clipped" from above, making it difficult to read. I've checked the browser's console and everything appears to have loaded successfully. Attached is a (somewhat redacted) visual of what I see:

nvdashboard-clipped-text

A few more details:

Below is the output of poetry run jupyter labextension list:

JupyterLab v1.2.11
Known labextensions:
   app dir: /root/.cache/pypoetry/virtualenvs/POETRY_VENV_NAME/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v1.1.0  enabled  OK
        @jupyterlab/toc v2.0.0  enabled  OK
        jupyterlab-nvdashboard v0.2.1  enabled  OK

Below is the output of poetry export --format=requirements.txt --without-hashes --dev:

absl-py==0.9.0
aiohttp==3.6.2
altair==4.1.0
appdirs==1.4.3
appnope==0.1.0; sys_platform == "darwin" or platform_system == "Darwin" or python_version >= "3.3" and sys_platform == "darwin" or python_version >= "3.4" and sys_platform == "darwin" or python_version >= "3.4" and platform_system == "Darwin"
asgiref==3.2.7
aspy.refactor-imports==2.1.0
astor==0.8.1
asttokens==2.0.4
async-timeout==3.0.1
atomicwrites==1.3.0; sys_platform == "win32"
attrs==19.3.0
backcall==0.1.0
bandit==1.6.2
base58==2.0.0
beautifulsoup4==4.9.0
black==19.10b0
bleach==3.1.4
blinker==1.4
blis==0.4.1
bokeh==1.4.0
boto3==1.12.44
botocore==1.15.44
bottleneck==1.3.2
cached-property==1.5.1
cachetools==4.1.0
catalogue==1.0.0
certifi==2020.4.5.1
cfgv==3.1.0
chardet==3.0.4
clean-text==0.1.1
click==7.1.1
cloudpickle==1.3.0
colorama==0.4.3; python_version >= "3.3" and sys_platform == "win32" or sys_platform == "win32" or python_version >= "3.4" and sys_platform == "win32" or platform_system == "Windows"
cycler==0.10.0
cymem==2.0.3
dask==2.14.0
dataclasses-json==0.3.8
decorator==4.4.2
defusedxml==0.6.0
distlib==0.3.0
distributed==2.10.0
distributed==2.14.0
dj-database-url==0.5.0
django==3.0.5
django-extensions==2.2.9
django-log-request-id==1.5.0
djangorestframework==3.11.0
docutils==0.15.2
emoji==0.5.4
entrypoints==0.3
enum-compat==0.0.3
fastai==1.0.60
fastprogress==0.2.3
filelock==3.0.12
flake8==3.7.9
flake8-aaa==0.7.2
fsspec==0.7.3
ftfy==5.7
future==0.18.2
fuzzywuzzy==0.18.0
gitdb==4.0.4
gitpython==3.1.1
google-auth==1.14.1
google-auth-oauthlib==0.4.1
grpcio==1.28.1
gunicorn==20.0.4
heapdict==1.0.1
humanize==2.3.0
hypothesis==5.10.3
hypothesis-auto==1.1.4
identify==1.4.14
idna==2.9
importlib-metadata==1.6.0; python_version < "3.8"
ipykernel==5.2.1
ipython==7.13.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.17.0
jinja2==2.11.2
jmespath==0.9.5
joblib==0.14.1
json5==0.9.4
jsonschema==3.2.0
jupyter-client==6.1.3
jupyter-core==4.6.3
jupyter-server-proxy==1.3.2
jupyterlab==1.2.11
jupyterlab-nvdashboard==0.2.1
jupyterlab-server==1.1.1
kiwisolver==1.2.0
line-profiler==3.0.2
llvmlite==0.32.0
locket==0.2.0
markdown==3.2.1
markupsafe==1.1.1
marshmallow==3.5.1
marshmallow-enum==1.5.1
matplotlib==3.2.1
mccabe==0.6.1
mistune==0.8.4
more-itertools==8.2.0
msgpack==1.0.0
multidict==4.7.5
murmurhash==1.0.2
mypy==0.761
mypy-extensions==0.4.3
nbconvert==5.6.1
nbformat==5.0.6
newrelic==5.12.0.140
nlpaug==0.0.12
nodeenv==1.3.5
notebook==6.0.3
numba==0.49.0
numexpr==2.7.1
numpy==1.18.3
nvidia-ml-py3==7.352.0
oauthlib==3.1.0
packaging==20.3
pandas==1.0.3
pandocfilters==1.4.2
parso==0.7.0
partd==1.1.0
pathspec==0.8.0
pathtools==0.1.2
patsy==0.5.1
pbr==5.4.5
pendulum==2.1.0
pexpect==4.8.0; python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32" or python_version >= "3.4" and sys_platform != "win32"
pickleshare==0.7.5
pillow==7.1.1
plac==1.1.3
pluggy==0.13.1
pre-commit==2.3.0
preshed==3.0.2
prometheus-client==0.7.1
prompt-toolkit==3.0.5
protobuf==3.11.3
psutil==5.7.0
psycopg2-binary==2.8.5
ptyprocess==0.6.0; sys_platform != "win32" or os_name != "nt" or python_version >= "3.3" and sys_platform != "win32" or python_version >= "3.4" and sys_platform != "win32"
py==1.8.1
py-cpuinfo==5.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pydantic==1.5
pydeck==0.3.1
pydocstyle==5.0.2
pyflakes==2.1.1
pygments==2.6.1
pynvml==8.0.4
pynvx==1.0.0; platform_system == "Darwin"
pyparsing==2.4.7
pyrsistent==0.16.0
pytest==5.4.1
pytest-benchmark==3.2.3
pytest-lazy-fixture==0.6.3
pytest-randomly==3.3.1
python-dateutil==2.8.0
python-levenshtein==0.12.0
pytorch-lightning==0.6.0
pytz==2019.3
pytzdata==2019.3
pywin32==227; python_version >= "3.4" and sys_platform == "win32" or sys_platform == "win32"
pywinpty==0.5.7; os_name == "nt"
pyyaml==5.3.1
pyzmq==19.0.0
regex==2020.4.4
reorder-python-imports==2.2.0
requests==2.23.0
requests-oauthlib==1.3.0
rsa==4.0
s3transfer==0.3.3
sacremoses==0.0.41
scikit-learn==0.22.2.post1
scikit-multilearn==0.2.0
scipy==1.4.1
seaborn==0.10.0
send2trash==1.5.0
sentencepiece==0.1.85
simpervisor==0.3
six==1.14.0
smmap==3.0.2
snowballstemmer==2.0.0
sortedcontainers==2.1.0
soupsieve==1.9.5
spacy==2.2.4
sqlparse==0.3.1
srsly==1.0.2
statsmodels==0.11.1
stevedore==1.32.0
streamlit==0.56.0
stringcase==1.2.0
swifter==0.301
tblib==1.6.0
tensorboard==2.2.1
tensorboard-plugin-wit==1.6.0.post3
terminado==0.8.3
testpath==0.4.4
thinc==7.4.0
tokenizers==0.5.2
toml==0.10.0
toolz==0.10.0
torch==1.3.1
torchvision==0.4.2
tornado==5.1.1
tqdm==4.45.0
traitlets==4.3.3
transformers==2.8.0
transitions==0.7.2
typed-ast==1.4.1
typing-extensions==3.7.4.2
typing-inspect==0.5.0
tzlocal==2.0.0
unidecode==1.1.1
urllib3==1.25.9
validators==0.14.3
virtualenv==20.0.18
wasabi==0.6.0
watchdog==0.10.2
wcwidth==0.1.9
webencodings==0.5.1
werkzeug==1.0.1
wheel==0.34.2; python_version >= "3"
widgetsnbextension==3.5.1
yarl==1.4.2
zict==2.0.0
zipp==3.1.0; python_version < "3.8"

...and below is the output of running from fastai.utils.show_install import *; show_install():

=== Software === 
python        : 3.7.5
fastai        : 1.0.60
fastprogress  : 0.2.3
torch         : 1.3.1
nvidia driver : 418.87
torch cuda    : 10.1.243 / is available
torch cudnn   : 7603 / is enabled

=== Hardware === 
nvidia gpus   : 1
torch devices : 1
  - gpu0      : 16130MB | Tesla V100-SXM2-16GB

=== Environment === 
platform      : Linux-4.4.0-1098-aws-x86_64-with-Ubuntu-18.04-bionic
distro        : #109-Ubuntu SMP Fri Nov 8 09:30:18 UTC 2019
conda env     : Unknown
python        : /root/.cache/pypoetry/virtualenvs/REDACTED/bin/python
sys.path      : /REDACTED/notebooks/core
/usr/lib/python37.zip
/usr/lib/python3.7
/usr/lib/python3.7/lib-dynload

/root/.cache/pypoetry/virtualenvs/POETRY_VENV_NAME/lib/python3.7/site-packages
/root/.cache/pypoetry/virtualenvs/POETRY_VENV_NAME/src/PRIVATE_PROJECT_1
/root/.cache/pypoetry/virtualenvs/POETRY_VENV_NAME/src/PRIVATE_PROJECT_2
/root/.cache/pypoetry/virtualenvs/POETRY_VENV_NAME/python3.7/site-packages/IPython/extensions
/root/.ipython

Please let me know if there's anything else I can do to help diagnose this issue. Thanks again!

jacobtomlinson commented 4 years ago

Sorry for the delayed response. Which browser are you using?

dataframing commented 4 years ago

I'm using Brave.

jacobtomlinson commented 4 years ago

I thought so, I've seen display issues like this in Brave before. Have you tried another browser? We generally test the extension in the more popular browsers and cannot necessarily support niche browsers like Brave (even if I'm fully on board with their mission).

I would also propose that this is likely a Bokeh bug in Brave as this dashboard is just Bokeh plots displayed in an iframe.