-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[Datasets] Dataset
representations don't work out-of-the-box on notebooks
#31225
Comments
@peytondmurray do you happen to know how to fix this? |
I'm happy to take a look at this, but I'm not exactly sure what the issue is. It could be a problem displaying ipywidgets in google colab - I'll do some testing and report back. |
Okay, sweet. Thanks! |
So this works just fine in JupyterLab locally with ray @ 6b081e9.
This must be something with colab. Will continue investigating. |
Hmm, it's possible ipywidgets>=8 is unsupported: googlecolab/colabtools#3020 (comment). Sadly we don't support |
Quick update on this: I'm going to try to find a way to detect whether we're running in google colab, and disable the notebook integration if that's the case. Will open a PR in a bit 🦾 |
@peytondmurray does #32841 also fix the issue on Anyscale? |
@bveeramani I'm not sure - I wasn't aware that this was affecting Anyscale as well. Is there a way I can access an environment to test? |
I'm still seeing this issue on Anyscale even with
|
@amogkam @bveeramani So in the process of working on this, I think I came across a separate bug which I've made a PR for in #34339. One question about this issue though - did you restart the jupyter server after installed I'm thinking at the minimum we should make a better error message for the user At the same time, I'll investigate ways we can check if a repr is being correctly displayed. If there's a way to check this at runtime, we might be able to display a more informative error message rather than this |
I've also been seeing this issue locally on my laptop with the latest Ray master and the |
What happened + What you expected to happen
On Google Colab:
At first, you get warning telling you to upgrade the
ipywidgets
version.If you do that and then restart the runtime you get a new problem:
On Anyscale:
Instead of a readable output, you get HTML like
VBox(children=(HTML(value='<h2>Dataset</h2>'), Tab(children=(HTML(value='<div class="scrollableTable jp-Render…
:Versions / Dependencies
Ray: master
Reproduction script
See above.
Issue Severity
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered: