-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[UI] TFMA visualization loads slowly #3114
Comments
I'm found root cause for the infinite redirection is:
However, ... all of these shouldn't happen in the first place, because the js files should be loaded from external cdn directly. |
A second problem is that, this
|
The unnecessary html-manager comes from
The full template looks like it should be able to let users skip the step of calling @ajchili Can you confirm if this is true? This issue itself is kind of hard to fix, but if we remove usage in the full template, we can already save half of the time wasted on infinite redirection. |
I'm going to verify if removing the addWidgetsRenderer can still allow current supported visualizations for TFDV and TFMA. We can add better support for this later. |
Verified tfma and tfdv visualization still works without addWidgetsRenderer, and saves about 2 seconds from loading. |
Filed an upstream feature request for @jupyter/html-manager to fix this issue: jupyter-widgets/ipywidgets#2786 |
My upstream PR is merged, I will wait for ipywidgets 8.0 release to switch to use my new feature |
#3712 is pretty much all we can do now, integrating with new (not yet released) ipywidgets 8.0 can be post 1.0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/lifecycle frozen |
Closing this issue. No activity for more than a year. |
/close |
@rimolive: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Part of #2283
What steps did you take:
What happened:
visualization loads slowly with some too many redirect errors like the following:
What did you expect to happen:
There shouldn't be too many redirect errors, but scripts should be loaded from cdn directly.
Environment:
How did you deploy Kubeflow Pipelines (KFP)?
hosted
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
/kind bug
/area frontend
The text was updated successfully, but these errors were encountered: