# GPU Notebook for CNNs

**URL:** <https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929>\
**Category:** General\
**Created:** [July 10, 2024, 3:29pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929 "2024-07-10T15:29:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Trevisan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/manuel_trevisan/32/801_2.png) [@Manuel\_Trevisan](https://community.firebasestudio.dev/u/Manuel_Trevisan)\
**Post date:** [July 10, 2024, 3:29pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/1 "2024-07-10T15:29:01Z")

</div>

Is there a way to create a Python environment with a GPU aviable? I need to run a neural network on the GPU using the tensorflow package.

---

<div class="post-metadata">

**Author:** ![kirupa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupa/32/4_2.png) [@kirupa](https://community.firebasestudio.dev/u/kirupa)\
**Post date:** [July 10, 2024, 6:54pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/2 "2024-07-10T18:54:42Z")

</div>

Hi @Manuel_Trevisan - that’s a request we hear about frequently. We don’t have a formal plan yet, but we are looking at ways to allow you to change machine configurations more easily.

Have you tried using Colab for this?

> **[Google Colab](https://colab.research.google.com)**

Cheers,  
Kirupa

---

<div class="post-metadata">

**Author:** ![William\_Bailey](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/william_bailey/32/681_2.png) [@William\_Bailey](https://community.firebasestudio.dev/u/William_Bailey)\
**Post date:** [July 10, 2024, 10:28pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/3 "2024-07-10T22:28:07Z")

</div>

Wait, so you’ve figured out how to get tensorflow running? Can you help me with that?

---

<div class="post-metadata">

**Author:** ![Manuel\_Trevisan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/manuel_trevisan/32/801_2.png) [@Manuel\_Trevisan](https://community.firebasestudio.dev/u/Manuel_Trevisan)\
**Post date:** [July 11, 2024, 11:22am UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/4 "2024-07-11T11:22:58Z")

</div>

Yes, but on Colab you have a limited amount of time if you don’t buy a plan. Also, in Project IDX, you can set up your environment in a better way. It would be great if the pioneers of Project IDX could experiment using those resources as well.

---

<div class="post-metadata">

**Author:** ![Manuel\_Trevisan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/manuel_trevisan/32/801_2.png) [@Manuel\_Trevisan](https://community.firebasestudio.dev/u/Manuel_Trevisan)\
**Post date:** [July 11, 2024, 11:27am UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/5 "2024-07-11T11:27:27Z")

</div>

Actually, it’s quite easy. Once you start your Gemini Python notebook environment (which should already have pip installed), just type `pip install tensorflow` in the terminal or `!pip install tensorflow` in a cell, and everything should work. However, I recommend running things on other platforms or on your own machine using the GPU, as it is pretty slow in IDX.

---

<div class="post-metadata">

**Author:** ![William\_Bailey](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/william_bailey/32/681_2.png) [@William\_Bailey](https://community.firebasestudio.dev/u/William_Bailey)\
**Post date:** [July 11, 2024, 4:03pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/6 "2024-07-11T16:03:26Z")

</div>

I’ve tried pip. It says that it isn’t allowed to modify system variables. I tried using pkgs.python311packages.tensorflow in the packages list but that doesn’t work, even if it successfully builds.

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/sunny/32/85_2.png) [@Sunny](https://community.firebasestudio.dev/u/Sunny)\
**Post date:** [July 11, 2024, 9:29pm UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/7 "2024-07-11T21:29:57Z")

</div>

+1 for this idea  
Although tools like colab and Kaggle exist, both of them do not have as much customizability as Project IDX  
(and also, Project IDX’s autocomplete, debugger and other tools will always be superiors as vscode is _arguably_ an IDE)

---

<div class="post-metadata">

**Author:** ![kdb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kdb/32/3723_2.png) [@kdb](https://community.firebasestudio.dev/u/kdb)\
**Post date:** [January 19, 2025, 3:27am UTC](https://community.firebasestudio.dev/t/gpu-notebook-for-cnns/929/8 "2025-01-19T03:27:21Z")

</div>

Please vote for this if you want GPU support in Project IDX: [Support jupyter notebooks and GPU computation – Have an idea? Share it!](https://idx.uservoice.com/forums/953956/suggestions/48663500)
