CompreFace: compreface-core exits with code 132 during startup
Describe the bug Running on ubuntu 18.04 with docker following docker compose container exits with error code 132
To Reproduce Steps to reproduce the behavior: Followed 0.4.1 release instructions
Expected behavior It should start
Desktop (please complete the following information):
- OS: 18.04 Ubuntu
- Browser: chrome
- Version: 0.4.1
Additional context
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.18 (64bit) on [Thu Feb 25 15:48:21 2021] ***
compiled with version: 8.3.0 on 20 January 2021 11:36:38
os: Linux-4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021
nodename: 425a88b1bf62
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.4 (default, Sep 12 2019, 15:40:15) [GCC 8.3.0]
Python main interpreter initialized at 0x562db793dff0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.18 (64bit) on [Thu Feb 25 16:08:44 2021] ***
compiled with version: 8.3.0 on 20 January 2021 11:36:38
os: Linux-4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021
nodename: 425a88b1bf62
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.4 (default, Sep 12 2019, 15:40:15) [GCC 8.3.0]
Python main interpreter initialized at 0x55d851ac7ff0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 19
looks like this is really the problem of the old CPU: https://github.com/tensorflow/tensorflow/issues/18147#issuecomment-384808914 We removed AVX2 support in our release, so it will work on the old CPUs, but it looks like your CPU even older as it doesn’t support AVX. The thing is it’s difficult to replace the current version of Tensorflow with a version without AVX support, as there is not such version in pip that we use. So, unfortunately, we won’t support it. You can still try to build a version with alternative Tensorflow and share it with the community.
I have got it running without AVX on my nas using these wheel files: https://github.com/yaroslavvb/tensorflow-community-wheels/issues/209. On the docker side, i override the command, like command: “tail -f /dev/null” so it doesnt crashloop, and then i docker exec into the container, installer the non-avx version and manually bringing up: uwsgi --ini uwsgi.ini . It seems to work fine on my NAS so far. But will keep posted if someone is interested.
here is what i did to get it work on non-AVX: