-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Colab integration #133
Comments
Hi, I want to take this up. |
Cool! Here's what I think needs to be done.
Let me know if you need any other pointers 👍 |
Hey, I'm interested in doing this. Can I try to do this? |
Sure! Let me know if you need any other pointers aside from the above |
I could come up with this. But is there any way to speed up the initialization process (The time taken to run the first cell). Running this for every time a notebook that has been opened is kind of inefficient? Or is there a workaround? |
One though I've had is using PackageCompiler.jl to create a sysimage once that is then saved somewhere and loaded into the Colab session which would allow reducing installation time significantly and almost completely removing compilation overhead. However, there are a lot of problems that need to be dealt with, and I'm not sure it's worth the effort:
|
Ok then. I'll add the Launch Colab button to all document pages that are based off a notebook.
Sure! I started working on the first one. |
First part is writing a program that converts a regular Julia notebook to one that can be run on Colab, i.e. has the setup cells and metadata to select the GPU. Should be independent of the buttons. This code should probably live in a separate repo, but the notebook files themselves will be built during the documentation building step in FastAI.jl's CI and stored on the gh-pages branch. |
I'll first try writing that conversion script. Thanks 👍 |
Hey, I made a repo that contains the code for converting a normal ipynb notebook to the one that can run on Colab. Please look at the repo and let me know the next step. |
I have an idea to do this. Is it ok if the configuration cells were hidden from getting displayed on the docs website and reveal when people click |
Sorry for letting this fall through the cracks!
Thanks for starting on this
They should be added to the notebook, and the documentation system will take care of hiding the setup cells as well as the "Open in Colab" button |
So, shall I replace all the current notebooks with the notebooks containing the config cells that can run on Colab? |
Colab.jl is now a registered Julia package. I think this can now be integrated into docs? |
Hey, sorry for letting this sit again, integrating it into the docs is bottlenecked on my time making an integration with Pollen.jl right now. In any case, thanks for getting this running! I'll open an issue on the repo to propose some changes when I get around to it |
Ideally, all the documentation pages based off of Jupyter notebooks should have a button to launch them in Colab.
For example, fastai's documentation has such a button:
First step would be a tutorial on how to set up Colab with Julia and install the dependencies.
See this Discourse post that shows how to get Julia running on Colab.
The text was updated successfully, but these errors were encountered: