# Rasa without a GPU

**URL:** <https://forum.rasa.com/t/rasa-without-a-gpu/21842>\
**Category:** Getting Started with Rasa\
**Created:** [November 28, 2019, 3:48pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842 "2019-11-28T15:48:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Val](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/val/32/10393_2.png) [@Val](https://forum.rasa.com/u/Val)\
**Post date:** [November 28, 2019, 3:48pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/1 "2019-11-28T15:48:21Z")

</div>

Hello,

I am trying to make Rasa work with a 2.1 capacty GPU (outside of the tensorflow\_gpu minimum requierment.) Is it possible to use Rasa only with tensorflow CPU?

The error log that blocked me all day is the following :

```auto
$ rasa init
Welcome to Rasa! 🤖

To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Now let's start! 👇🏽

? Please enter a path where the project will be created [default: current director
y] ./rasa_projects                                                                
? Directory '/home/XXX/rasa_projects' is not empty. Continue? Yes          
Created project directory at '/home/XXX/rasa_projects'.
Finished creating project structure.
Training an initial model...
Training Core model...
2019-11-28 16:47:12 INFO numexpr.utils - NumExpr defaulting to 4 threads.
2019-11-28 16:47:21 INFO absl - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0]
Processed Story Blocks: 100%|███████| 5/5 [00:00<00:00, 2925.71it/s, # trackers=1]
Processed Story Blocks: 100%|████████| 5/5 [00:00<00:00, 753.88it/s, # trackers=5]
Processed Story Blocks: 100%|███████| 5/5 [00:00<00:00, 251.17it/s, # trackers=20]
Processed Story Blocks: 100%|███████| 5/5 [00:00<00:00, 168.49it/s, # trackers=24]
Processed trackers: 100%|███████████| 5/5 [00:00<00:00, 2252.10it/s, # actions=16]
Processed actions: 16it [00:00, 7839.82it/s, # examples=16]
Processed trackers: 100%|███████| 231/231 [00:00<00:00, 869.31it/s, # actions=126]
2019-11-28 16:47:23.292187: F tensorflow/stream_executor/lib/statusor.cc:34] Attempting to fetch value instead of handling error Internal: no supported devices found for platform CUDA
Abandon (core dumped)

```

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [December 2, 2019, 8:47am UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/2 "2019-12-02T08:47:43Z")

</div>

We are training our models on GPUs from time to time without any problems. What Rasa version are you using?

---

<div class="post-metadata">

**Author:** ![Val](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/val/32/10393_2.png) [@Val](https://forum.rasa.com/u/Val)\
**Post date:** [December 3, 2019, 2:35pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/3 "2019-12-03T14:35:59Z")

</div>

I’m using the most recent version, the error occured just after my rasa download with the $rasa init. 🙂

My question is : is it possible to use rasa without a GPU in your machine? Or in this case a GPU that doesnt support Tensorflow?

The error message i got :

“no supported devices found for platform CUDA Abandon (core dumped)”

Tells me it can’t and i tried using manual instalation and other guide accessible on your documentation. Is there a way to use RASA using only tensorflow-CPU?

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [December 4, 2019, 2:55pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/4 "2019-12-04T14:55:28Z")

</div>

@Val Have you installed `tensorflow-gpu` on your machine? If you wish to use CPU only, just install `tensorflow==1.15.0`, that should work. In case you have both `tensorflow` and `tensorflow-gpu` installed and you know that your GPU is incompatible with `tensorflow-gpu` please uninstall `tensorflow-gpu`. Let us know if you face any further problem.

---

<div class="post-metadata">

**Author:** ![Val](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/val/32/10393_2.png) [@Val](https://forum.rasa.com/u/Val)\
**Post date:** [December 4, 2019, 3:07pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/5 "2019-12-04T15:07:52Z")

</div>

Problem solved! thanks a lot 🙂

---

<div class="post-metadata">

**Author:** ![olegtropinin](https://avatars.discourse-cdn.com/v4/letter/o/22d042/32.png) [@olegtropinin](https://forum.rasa.com/u/olegtropinin)\
**Post date:** [January 26, 2020, 2:58pm UTC](https://forum.rasa.com/t/rasa-without-a-gpu/21842/6 "2020-01-26T14:58:02Z")

</div>

It’s another way to solve it. Need to remove **tensorflow** and install **tensorflow-cpu**.

```auto
pip uninstall tensorflow
pip install tensorflow-cpu

```
