# Illegal instruction(core dumped) Tensorflow

**URL:** <https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579>\
**Category:** Rasa Open Source\
**Created:** [August 14, 2020, 11:51am UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579 "2020-08-14T11:51:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![boutaina](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@boutaina](https://forum.rasa.com/u/boutaina)\
**Post date:** [August 14, 2020, 11:51am UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/1 "2020-08-14T11:51:30Z")

</div>

Hello guys , can someone plz help me I just installed rasa from source on UBUNTU and everything went fine but when I wanted to train the model it gives me this error : ILLEGAL INSTRUCTION (CORE DUMPED) and apparently it’s because my CPU doesn’t support AVX so the solution I have is to build it from the source but I’m afraid that the same problem remains can someone please help

---

<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:** [August 18, 2020, 1:46pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/2 "2020-08-18T13:46:27Z")

</div>

Can you share your log with the full error message? Thanks.

---

<div class="post-metadata">

**Author:** ![boutaina](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@boutaina](https://forum.rasa.com/u/boutaina)\
**Post date:** [August 18, 2020, 2:06pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/3 "2020-08-18T14:06:15Z")

</div>

There it is , whenever I run a rasa command it throws this error ![error](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/bda47de28aa1b2331ad7501e75dd4abe0e8fcb16.jpeg)

Pleease can u check this and tell me what’s wrong , if it’s really the AVX problem ?

---

<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:** [August 18, 2020, 2:24pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/4 "2020-08-18T14:24:10Z")

</div>

Might be related to tensorflow. What version of python and tensorflow are you using?

---

<div class="post-metadata">

**Author:** ![boutaina](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@boutaina](https://forum.rasa.com/u/boutaina)\
**Post date:** [August 18, 2020, 2:24pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/5 "2020-08-18T14:24:42Z")

</div>

Python 3.7.5 and tensorflow 2.1.0

---

<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:** [August 18, 2020, 2:26pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/6 "2020-08-18T14:26:40Z")

</div>

As per [https://github.com/tensorflow/tensorflow/issues/17411](https://github.com/tensorflow/tensorflow/issues/17411) it seems to be related to AVX support.

> Yes, if your CPU does not support AVX (the likely cause for `Illegal instruction (core dumped)` error) then you need to compile from source. This causes the code to be generated without AVX instructions and then you can use it.

Guess you just need to try to install from source. But not sure about it.

---

<div class="post-metadata">

**Author:** ![boutaina](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@boutaina](https://forum.rasa.com/u/boutaina)\
**Post date:** [August 18, 2020, 2:29pm UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/7 "2020-08-18T14:29:40Z")

</div>

I actually tried to build it from source but it’s quite difficult is there any tutorial that can help me do it ?

---

<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:** [August 19, 2020, 6:42am UTC](https://forum.rasa.com/t/illegal-instruction-core-dumped-tensorflow/32579/8 "2020-08-19T06:42:41Z")

</div>

You should be able to clone the repo, [install poetry](https://github.com/RasaHQ/rasa#installing-poetry), and then execute `make install-full`.That should install dependencies and the current rasa version.
