# \#colab

**URL:** https://discourse.julialang.org/tag/colab/1424.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Lux & Reactant on Colab TPUs](https://discourse.julialang.org/t/lux-reactant-on-colab-tpus/126926)

<div class="topic-metadata">

**Author:** [@avikpal](https://discourse.julialang.org/u/avikpal)\
**Replies:** 5\
**Last updated:** [May 21, 2026, 5:30pm UTC](https://discourse.julialang.org/t/lux-reactant-on-colab-tpus/126926 "2026-05-21T17:30:22Z")

</div>

Colab now has Lux and Reactant pre-installed. Here’s a starter script for TPUs (change the runtime, and it will automatically work on CPU or GPU)

---

## [Issues with Reactant unable to find GPU on Colab, but CUDA.jl can](https://discourse.julialang.org/t/issues-with-reactant-unable-to-find-gpu-on-colab-but-cuda-jl-can/129360)

<div class="topic-metadata">

**Author:** [@arrowmancer](https://discourse.julialang.org/u/arrowmancer)\
**Replies:** 7\
**Last updated:** [May 21, 2026, 5:30pm UTC](https://discourse.julialang.org/t/issues-with-reactant-unable-to-find-gpu-on-colab-but-cuda-jl-can/129360 "2026-05-21T17:30:09Z")

</div>

Hi guys, currently when using the Julia backend on Google Colab, I haven’t been able to get Reactant to find any Nvidia GPUs when I select a GPU runtime on Colab. E.g. when I select A100 or the L4 GPU, and then try to r…

---

## [\`using Pycall\` on Google Colab makes Julia runtime crash](https://discourse.julialang.org/t/using-pycall-on-google-colab-makes-julia-runtime-crash/136718)

<div class="topic-metadata">

**Author:** [@funatsufumiya](https://discourse.julialang.org/u/funatsufumiya)\
**Replies:** 3\
**Last updated:** [April 15, 2026, 4:51am UTC](https://discourse.julialang.org/t/using-pycall-on-google-colab-makes-julia-runtime-crash/136718 "2026-04-15T04:51:22Z")

</div>

I’d like to use PyCall on Google Colab Julia runtime, but not succeeded. import Pkg; Pkg.add("PyCall") works, however, using PyCall would crash. run(which python) shows /usr/local/bin/python, run(which pip) shows /usr/…

---

## [Julia in Colab](https://discourse.julialang.org/t/julia-in-colab/126600)

<div class="topic-metadata">

**Author:** [@metrizable](https://discourse.julialang.org/u/metrizable)\
**Replies:** 57\
**Last updated:** [January 29, 2026, 2:22pm UTC](https://discourse.julialang.org/t/julia-in-colab/126600 "2026-01-29T14:22:58Z")

</div>

Hi Julia community! I’m new to posting here (this is my first one :-)) and wasn’t sure the right place to post, but I’d like to share that Colab now provides the Julia language in our runtimes (Julia as a language in ru…

---

## [How to manage environments in Colab?](https://discourse.julialang.org/t/how-to-manage-environments-in-colab/132435)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 2:06pm UTC](https://discourse.julialang.org/t/how-to-manage-environments-in-colab/132435 "2026-01-29T14:06:46Z")

</div>

Newby of colab here.. how do environments, that in local installations are directory-based, are managed in colab notebooks? How do I “save” one environment between multiple runs of the notebook (so not to precompile ever…

---

## [Pluto notebooks on Colab's kernel proxy port](https://discourse.julialang.org/t/pluto-notebooks-on-colabs-kernel-proxy-port/127576)

<div class="topic-metadata">

**Author:** [@metrizable](https://discourse.julialang.org/u/metrizable)\
**Replies:** 4\
**Last updated:** [December 1, 2025, 2:29pm UTC](https://discourse.julialang.org/t/pluto-notebooks-on-colabs-kernel-proxy-port/127576 "2025-12-01T14:29:13Z")

</div>

There has been some interest in using Pluto notebooks in Colab, and although I realize it’s not quite the fully supported experience that’s requested, I thought I’d share one approach to get going: using Pkg Pkg.add("P…

---

## [(very) Long compilation time when adding packages to Google Colab](https://discourse.julialang.org/t/very-long-compilation-time-when-adding-packages-to-google-colab/134166)

<div class="topic-metadata">

**Author:** [@SGSGSG](https://discourse.julialang.org/u/SGSGSG)\
**Replies:** 3\
**Last updated:** [December 1, 2025, 10:39am UTC](https://discourse.julialang.org/t/very-long-compilation-time-when-adding-packages-to-google-colab/134166 "2025-12-01T10:39:16Z")

</div>

I really enjoy Julia’s support on Google Colab! One annoying issue is that adding packages (even simple ones) leads to an endless (pre (?)-)compilation process. For instance: import Pkg; Pkg.add(\["Bootstrap"\]); still…

---

## [UndefVarError: cuda\_version in Google Colab with CUDA.jl](https://discourse.julialang.org/t/undefvarerror-cuda-version-in-google-colab-with-cuda-jl/131557)

<div class="topic-metadata">

**Author:** [@rrabadan](https://discourse.julialang.org/u/rrabadan)\
**Replies:** 2\
**Last updated:** [August 12, 2025, 11:57am UTC](https://discourse.julialang.org/t/undefvarerror-cuda-version-in-google-colab-with-cuda-jl/131557 "2025-08-12T11:57:03Z")

</div>

Hello, I’m working in a Google Colab notebook with a GPU runtime and am running into UndefVarError when trying to use CUDA.jl. For instance when I run CUDA.versioninfo(): using CUDA CUDA.versioninfo() I get the follow…

---

## [Reactant + Lux LLama on TPUs](https://discourse.julialang.org/t/reactant-lux-llama-on-tpus/131492)

<div class="topic-metadata">

**Author:** [@yolhan\_mannes](https://discourse.julialang.org/u/yolhan_mannes)\
**Replies:** 0\
**Last updated:** [August 9, 2025, 3:03pm UTC](https://discourse.julialang.org/t/reactant-lux-llama-on-tpus/131492 "2025-08-09T15:03:53Z")

</div>

Just wanted to share how to use Reactant+Lux on TPUs for a LLama like transformer model, it seems really nice to write even though its hard to adapt to the compact way of writting it does feel a lot better after. Still c…

---

## [Using Plots in Google Colab gives error](https://discourse.julialang.org/t/using-plots-in-google-colab-gives-error/129933)

<div class="topic-metadata">

**Author:** [@AI\_hayasaka](https://discourse.julialang.org/u/AI_hayasaka)\
**Replies:** 0\
**Last updated:** [June 16, 2025, 2:22pm UTC](https://discourse.julialang.org/t/using-plots-in-google-colab-gives-error/129933 "2025-06-16T14:22:56Z")

</div>

I did using Plots in Google Colab. Got this error: Julia Colab Error - Pastebin.com (I couldn’t paste the whole error here) Is this error because Colab doesn’t have Qt components and that’s why?

---

## [Slow package precompilation of Julia packages in Colab due to filesystem](https://discourse.julialang.org/t/slow-package-precompilation-of-julia-packages-in-colab-due-to-filesystem/128956)

<div class="topic-metadata">

**Author:** [@Tato\_Khundadze](https://discourse.julialang.org/u/Tato_Khundadze)\
**Replies:** 5\
**Last updated:** [May 14, 2025, 12:49am UTC](https://discourse.julialang.org/t/slow-package-precompilation-of-julia-packages-in-colab-due-to-filesystem/128956 "2025-05-14T00:49:33Z")

</div>

Hi everyone, I’m new to Julia and currently using it in Google Colab for some modeling work. I’ve noticed that package installation is quite slow — it takes several minutes. Is this expected behavior, or am I missing so…

---

## [Google Colab support for Julia 🎉](https://discourse.julialang.org/t/google-colab-support-for-julia/126598)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 2\
**Last updated:** [March 10, 2025, 10:49am UTC](https://discourse.julialang.org/t/google-colab-support-for-julia/126598 "2025-03-10T10:49:15Z")

</div>

Edit: @Metrizable himself started a thread here: Julia in Colab :slight\_smile: Just saw this amazing news. Google Colab now supports Julia out-of-the-box!!

---

## [Download images from GitHub from Colab](https://discourse.julialang.org/t/download-images-from-github-from-colab/103280)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 0\
**Last updated:** [August 28, 2023, 9:16am UTC](https://discourse.julialang.org/t/download-images-from-github-from-colab/103280 "2023-08-28T09:16:34Z")

</div>

Hi all, I have a number of jpegs in a GitHub repository that I would like to download in a notebook on Colab, using Julia. I know how to do this using Python but cannot find the Julia equivalent (if it exists). Does anyo…
