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

Slows Jupyter Notebook start #52

Open
djherbis opened this issue Aug 17, 2019 · 3 comments
Open

Slows Jupyter Notebook start #52

djherbis opened this issue Aug 17, 2019 · 3 comments

Comments

@djherbis
Copy link

Hi when I enable the tensorboard extension in my Jupyter Notebook server it adds an extra 4s for the server to become reachable.

I filed this bug jupyter/notebook#4818 to see if Juptyer extensions in general could be loaded lazily, but I'm curious if this problem could be solved on the tensorboard side?

Any idea why it adds this much time to the server startup and if it could be made faster?

@djherbis
Copy link
Author

Looks like it's loading the manager that is the 'slow' part:

from .tensorboard_manager import manager

Looks like even in a 'warmed' env (jupyter notebook run a few times), this adds ~2s.

Wonder if we could make loading it lazy.

@djherbis
Copy link
Author

And from there the slowdown is caused by:

from tensorboard import default

Source:
https://github.com/tensorflow/tensorboard/blob/master/tensorboard/default.py

@Jason-Khan
Copy link

can someone provide some insights to how we can solve this slowdown? its been more than 2 years and this issue is still single-handedly blocking all kaggle notebook users from using tensorboard in kaggle notebook

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

2 participants