-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Bug] Both API example notebooks have stopped working on Colab #234
Comments
IIUC, it should not be necessary to install jax or jaxlib on colab, since it is built in. |
That's true. I was using
|
@nalzok thanks for reporting this! |
Yeah, I am willing to help but I cannot figure out how to install a package from GitHub. I just created a fork at https://github.com/nalzok/elegy and tried to install it on Colab with
Then I got Full error message (click to expand)
|
Looked into this a bit, since I was doing some testings on colab. It seems calling reset_metrics() resulted in a hang for any future calls to any of the JITed model functions. This can be demonstrated by overriding the reset_metrics()
The training will finish after this. |
Describe the bug
Colab runtime freezes during
model.fit
. It has been running for minutes without any process. The progress bar always showsWhen I tried to interrupt the cell execution, Colab promotes The executing code is not responding to interrupts. Would you like to try restarting the runtime? Runtime state including all local variables will be lost.
I then noticed this comment in the High Level API notebook
The runtime still freezes after I uncommented it.
Curiously, the Low Level API contains a different command
After uncommenting it, I got the following error in
model.fit
Click to expand
I have also tried using Elegy in the notebook I have been working on, and got another error
Click to expand
Minimal code to reproduce
https://colab.research.google.com/github/poets-ai/elegy/blob/master/docs/getting-started/high-level-api.ipynb
https://colab.research.google.com/github/poets-ai/elegy/blob/master/docs/getting-started/low-level-api.ipynb
https://colab.research.google.com/drive/1ZGlTknvwMC8nrrPC_rsSBEGpgcFmVicG?usp=sharing
Expected behavior
Training completes successfully.
Library Info
Screenshots
Additional context
I am using a GPU runtime. i.e.
Python 3 Google Compute Engine backend (GPU)
The text was updated successfully, but these errors were encountered: