ibayer / fastFM

fastFM: A Library for Factorization Machines
http://ibayer.github.io/fastFM
Other
1.08k stars 204 forks source link

Illegal instruction (core dumped) in ALS #137

Open mkdy opened 6 years ago

mkdy commented 6 years ago

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.

PyPatel commented 5 years ago

Having same issue and no information to debug the error.

ibayer commented 5 years ago

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

PyPatel commented 5 years ago

@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

ibayer commented 5 years ago

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

PyPatel commented 5 years ago

I used the fastFM 0.2.10 and it worked fined.