# Error while training an initial model: Illegal instruction (core dumped)

**URL:** <https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632>\
**Category:** Rasa Open Source\
**Created:** [May 16, 2021, 6:32pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632 "2021-05-16T18:32:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![katkova](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/katkova/32/17671_2.png) [@katkova](https://forum.rasa.com/u/katkova)\
**Post date:** [May 16, 2021, 6:32pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/1 "2021-05-16T18:32:46Z")

</div>

Hello Rasa community,

after a fresh installation I get an error while trying to train the model `Illegal instruction (core dumped)`. Here’re the infos:

- OS: Ubuntu 18.04
- Rasa Version: 2.6.1
- Python Version: 3.8.5
- Tensorflow: 2.5.0

I read it might be tensorflow’s issue and I should downgrade it, but then I receive a conflict with Rasa. What should I do next in this case? Install old versions of all the components? Where can I find a correct compatibility table if such exists? Is there someone who has installed Rasa recently and could share experience?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [May 19, 2021, 9:50am UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/2 "2021-05-19T09:50:57Z")

</div>

Just to confirm, are you running on a new M1 mac?

---

<div class="post-metadata">

**Author:** ![katkova](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/katkova/32/17671_2.png) [@katkova](https://forum.rasa.com/u/katkova)\
**Post date:** [May 19, 2021, 11:18am UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/3 "2021-05-19T11:18:16Z")

</div>

No, for Rasa I have created an Ubuntu 18.04 Live Server(amd64) using Proxmox. The `lscpu` command outputs the following:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/1/178eecdf384cc4037b78200cbda546fee5c6d001.png)

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [May 19, 2021, 11:59am UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/4 "2021-05-19T11:59:30Z")

</div>

What conflict with Rasa do you see? Could you share the output when you try to install tensorflow==2.3?

---

<div class="post-metadata">

**Author:** ![katkova](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/katkova/32/17671_2.png) [@katkova](https://forum.rasa.com/u/katkova)\
**Post date:** [May 19, 2021, 12:27pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/5 "2021-05-19T12:27:01Z")

</div>

I haven’t installed this specific version of tensorflow, neither I have built it from source. Obviously 2.3 is automatically installed with the newest rasa releases.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/2d8fdf351895403c9c99acabbaeae3a143792aa9.jpeg)

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [May 19, 2021, 1:12pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/6 "2021-05-19T13:12:00Z")

</div>

I see. In the original post you had said you were on `tensorflow==2.5.0`, which is why I was confused.

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [May 19, 2021, 1:21pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/7 "2021-05-19T13:21:45Z")

</div>

Looks like an issue with the CPU. See [here](https://www.tensorflow.org/install/pip#hardware-requirements) for the hardware requirements of tensorflow 1.6 and above.

---

<div class="post-metadata">

**Author:** ![katkova](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/katkova/32/17671_2.png) [@katkova](https://forum.rasa.com/u/katkova)\
**Post date:** [May 19, 2021, 1:51pm UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/8 "2021-05-19T13:51:54Z")

</div>

Yes, sorry. I have tried several tensorflow versions and received these errors:

- tf v2.5.0 + rasa v2.6.1 - `Illegal instruction (core dumped)`
- tf v2.3.2 + rasa v2.6.1 - `Illegal instruction (core dumped)`
- tf v1.15 + rasa v1.7.4 - `pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 2000000` (when running `pip install rasa==1.7.4`)

Thank you for the link. If you’re mentioning tensorflow v1.6: What version of rasa is required? There is unfortunately no information on that.

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [May 20, 2021, 8:50am UTC](https://forum.rasa.com/t/error-while-training-an-initial-model-illegal-instruction-core-dumped/43632/9 "2021-05-20T08:50:33Z")

</div>

No worries! I checked and it looks like `rasa==1.7.4` is the last version compatible with your hardware.
