fastFM icon indicating copy to clipboard operation
fastFM copied to clipboard

Illegal instruction (core dumped) in ALS

Open mkdy opened this issue 7 years ago • 5 comments

OS: CentOS 7 Python 3.6.4 |Anaconda custom (64-bit) fastFM 0.2.11 (installed with pip)

When trying to run a simple example of ALS:

from fastFM.datasets import make_user_item_regression
from sklearn.model_selection import train_test_split
X, y, _ = make_user_item_regression(label_stdev=.4)
X_train, X_test, y_train, y_test = train_test_split(X, y)

from fastFM import als
fm = als.FMRegression(n_iter=1000, init_stdev=0.1, rank=2, l2_reg_w=0.1, l2_reg_V=0.5)
fm.fit(X_train, y_train)

the last line kills python interpreter (with SIGILL) Downgraded to 0.2.10 and everything works fine.

mkdy avatar May 28 '18 18:05 mkdy

Having same issue and no information to debug the error.

PyPatel avatar Nov 23 '18 10:11 PyPatel

@PyPatel Your are on CentOS 7 as well? fastFM is only tested on ubuntu but cross compiled binaries should work across different distributions.

ibayer avatar Nov 23 '18 10:11 ibayer

@PyPatel Your are on CentOS 7 as well? fastFM is only tested on ubuntu but cross compiled binaries should work across different distributions.

I am on Ubuntu 14.04.5 LTS

PyPatel avatar Nov 23 '18 11:11 PyPatel

Okay, I think we have tested on ubuntu 14.04 before. Can you create a fully reproducible example incl. Python & library versions?

ibayer avatar Nov 23 '18 12:11 ibayer

I used the fastFM 0.2.10 and it worked fined.

PyPatel avatar Nov 28 '18 19:11 PyPatel