Skip to content

Add documentation about running notebooks in Google Colab. #443

@ileasile

Description

@ileasile
Collaborator

Now it's not clear (and not tested well yet) how to run Kotlin Notebooks in Google Colab. Document it. Use this notebook as a reference:
#440 (comment)

Activity

ileasile

ileasile commented on Jan 5, 2024

@ileasile
CollaboratorAuthor

@maxandersen Some users in our public Slack complain there is a problem connecting to the runtime (it's connecting infinitely)
image-37.png

Don't you know what could be a reason and how to diagnose it?

maxandersen

maxandersen commented on Jan 5, 2024

@maxandersen

works for me but let me re-test on fresh notebook.

To debug use Runtime > View runtime logs and look for suspicious log entries.

maxandersen

maxandersen commented on Jan 5, 2024

@maxandersen

Can confirm that it is not working at the moment - not sure what goes wrong as the runtime log shows the runtime being executed. Something is broken ;/

maxandersen

maxandersen commented on Jan 5, 2024

@maxandersen

other java jupyter kernels are working for me. weird.

michalharakal

michalharakal commented on Dec 5, 2024

@michalharakal

Following the comments, I wasn't able to stat Kotlin Kernel on Colab, still getting the connection issues.
Any idea to get it running? Folks at deepjavalibrary have an shell script for bootstraping java kernel https://raw.githubusercontent.com/deepjavalibrary/d2l-java/master/tools/colab_build.sh ...

maxandersen

maxandersen commented on Dec 10, 2024

@maxandersen

@michalharakal yes, what deepjavalibrary does is what I've implemented (just without requiring multiple steps) for java kernels - and works.

For some reason that "trick" does not work for kotlin kernel anymore despite they should be very similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @maxandersen@michalharakal@ileasile

        Issue actions

          Add documentation about running notebooks in Google Colab. · Issue #443 · Kotlin/kotlin-jupyter