Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal instruction (core dumped) in ALS #137

Open
mkdy opened this issue May 28, 2018 · 5 comments
Open

Illegal instruction (core dumped) in ALS #137

mkdy opened this issue May 28, 2018 · 5 comments

Comments

@mkdy
Copy link
Contributor

mkdy commented May 28, 2018

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
Copy link

PyPatel commented Nov 23, 2018

Having same issue and no information to debug the error.

@ibayer
Copy link
Owner

ibayer commented Nov 23, 2018

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

@PyPatel
Copy link

PyPatel commented Nov 23, 2018

@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
Copy link
Owner

ibayer commented Nov 23, 2018

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

@PyPatel
Copy link

PyPatel commented Nov 28, 2018

I used the fastFM 0.2.10 and it worked fined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants