This error is somewhat weird and seems to violate docker principles. Here is the explanation for it:
- I installed lightfm in a docker container in machine 1 via pip (have tried both 1.15 and 1.16 version).
- The fit works fine in machine 1 by running it inside the docker container.
- I move the same image to machine 2 and try to run fit there and the error "Illegal instruction (core dumped)" shows up as soon as epoch 0 starts.
- If I enter the docker container and reinstall lightfm in the same image in machine 2 fit starts working fine.
This is similar or exactly the same as #559 (comment) and I can't seem to find a solution using pip to make this package work in a docker scenario where the image is built in one machine and then moved to another.
Any idea on how to fix it?