Christo S. Christov
Christo S. Christov

Reputation: 2309

Do Google Colab notebooks share resources?

I've been hunting for this for a while now but can't seem to find this info anywhere else? I'm running multiple Jupiter notebooks on Google Colab.

Do they share resources?

Upvotes: 0

Views: 494

Answers (1)

Bob Smith
Bob Smith

Reputation: 38619

No, each notebook uses a distinct, ephemeral backend for code execution.

You can observe this by, say, creating a file on the local filesystem in one notebook and observing its absence in another. Or, vice versa.

To share files among backends, you can mount Google Drive and access shared files there.

Upvotes: 1

Related Questions