# Eigen havin a whinge with fluid.umap~

**URL:** https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870
**Category:** Toolbox2 Related Bugs
**Created:** [April 22, 2021, 2:19pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870 "2021-04-22T14:19:45Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [April 22, 2021, 2:19pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/1 "2021-04-22T14:19:45Z")

</div>

Hello,

Trying to use fluid.umap~ which causes a crash whenever I call fittransform or fit. I have a build which doesnt use AVX instructions as I have an ARM chip in my machine. The error is linked below along with the patch.

[error.txt.zip](https://discourse.flucoma.org/uploads/short-url/1cEF4lVSk5PNEiIHoPw1WIIJZBR.zip) (35.2 KB)

[umapping.zip](https://discourse.flucoma.org/uploads/short-url/47bQAFHTDbomTHZe86ApJecf09y.zip) (1.3 MB)

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [April 22, 2021, 2:20pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/2 "2021-04-22T14:20:07Z")

</div>

And for context I am loading only mono files… The data looks sane before it goes in!

---

<div class="post-metadata">

### Author: ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)
#### Post date: [April 22, 2021, 3:17pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/3 "2021-04-22T15:17:01Z")

</div>

```bash
Application Specific Information:
terminating with uncaught exception of type 
std::runtime_error: TridiagEigen: eigen decomposition failed
abort() called

```

I’ll bounce this towards @groma who will know better than I what could cause the decomposition to fail. Doesn’t seem crash-worthy though, sorry about that.

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [April 22, 2021, 3:29pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/4 "2021-04-22T15:29:02Z")

</div>

> [@weefuzzy](#):
>
> `TridiagEigen: eigen decomposition failed`

its so negative about the whole thing too. you didnt fail sweetie you tried your best!

---

<div class="post-metadata">

### Author: ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)
#### Post date: [April 22, 2021, 3:34pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/5 "2021-04-22T15:34:39Z")

</div>

The important thing is the friends we made along the way

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [April 22, 2021, 3:34pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/6 "2021-04-22T15:34:54Z")

</div>

cmake is not my friend.

---

<div class="post-metadata">

### Author: ![spluta](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/spluta/32/21_2.png) [@spluta](https://discourse.flucoma.org/u/spluta)
#### Post date: [April 22, 2021, 3:50pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/7 "2021-04-22T15:50:25Z")

</div>

james, maybe you should install that hacked linux that boots on apple arm on your machine and then build for that. i hear you actually have to build the os with cmake. then maybe you will be friends?

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [April 22, 2021, 4:05pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/8 "2021-04-22T16:05:21Z")

</div>

im pretty sure what you just said is hate speech in some circles

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [May 8, 2021, 12:33am UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/9 "2021-05-08T00:33:25Z")

</div>

Any news on what might be causing this ? 🙂 is it because I’m on the dreaded ARM?

---

<div class="post-metadata">

### Author: ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)
#### Post date: [May 8, 2021, 9:17am UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/10 "2021-05-08T09:17:23Z")

</div>

It’s been logged with the relevant authorities.

The root cause is part of the algorithm not converging with the particular data you’re feeding it. The crash comes because the library we’re using for that bit turns out to throw an exception under these circumstances, and this doesn’t get caught and handled anywhere (hence, termination). That will get fixed, but whatever is causing this data to bork things will likely still remain. Does the reference python implementation handle this data set ok?

---

<div class="post-metadata">

### Author: ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)
#### Post date: [May 8, 2021, 9:30am UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/11 "2021-05-08T09:30:57Z")

</div>

Ah!! That would make sense. As I just tested some other data and it worked in Max. AFAIK the python code I’ve been running handles the data fine.

---

<div class="post-metadata">

### Author: ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)
#### Post date: [May 8, 2021, 4:43pm UTC](https://discourse.flucoma.org/t/eigen-havin-a-whinge-with-fluid-umap/870/12 "2021-05-08T16:43:45Z")

</div>

I’ll tap you up for the failing data by e-mail if that’s ok: possibly useful to have a reproduceble case where Python succeeds we don’t.
