The TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped)
- Dominant language
- Python
- Stars
- 28.4k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
- [✅] I didn't find a similar issue already open.
- [✅ ] I read the documentation (README AND Wiki)
- [ ✅] I have installed FFMpeg
- [😥] My problem is related to TensorFlow
## Description
## Step to reproduce
1. Installed using `pip install spleeter`
2. Run as `spleeter separate --verbose -p spleeter:2stems -o output my_audio.mp3`
3. Got `The TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine.
Aborted (core dumped)` error
## Output
```bash
Package Version
---------------------------- ------------
absl-py 2.0.0
anyio 3.7.1
astunparse 1.6.3
blinker 1.6.3
boto3 1.28.63
botocore 1.31.63
cachetools 5.3.1
certifi 2023.7.22
charset-normalizer 3.3.0
click 8.1.7
exceptiongroup 1.1.3
ffmpeg-python 0.2.0
Flask 3.0.3
flatbuffers 1.12
future 0.18.3
gast 0.4.0
google-auth 2.23.3
google-auth-oauthlib 0.4.6
google-pasta 0.2.0
grpcio 1.59.0
gunicorn 21.2.0
h11 0.12.0
h2 4.1.0
h5py 3.10.0
hpack 4.0.0
httpcore 0.13.7
httpx 0.19.0
hyperframe 6.0.1
idna 3.4
itsdangerous 2.1.2
Jinja2 3.1.2
jmespath 1.0.1
keras 2.9.0
Keras-Preprocessing 1.1.2
libclang 16.0.6
Markdown 3.5
markdown-it-py 3.0.0
MarkupSafe 2.1.3
mdurl 0.1.2
ml-dtypes 0.4.0
namex 0.0.8
norbert 0.2.1
numpy 1.26.0
oauthlib 3.2.2
opt-einsum 3.3.0
optree 0.12.1
packaging 23.2
pandas 1.5.3
pip 22.0.2
protobuf 3.19.6
pyasn1 0.5.0
pyasn1-modules 0.3.0
pydub 0.25.1
Pygments 2.18.0
python-dateutil 2.8.2
pytz 2023.3.post1
requests 2.31.0
requests-oauthlib 1.3.1
rfc3986 1.5.0
rich 13.7.1
rsa 4.9
s3transfer 0.7.0
scipy 1.11.3
setuptools 59.6.0
six 1.16.0
sniffio 1.3.0
spleeter 2.4.0
tensorboard 2.9.1
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow 2.9.3
tensorflow-estimator 2.9.0
tensorflow-io-gcs-filesystem 0.34.0
termcolor 2.3.0
typer 0.4.1
typing_extensions 4.8.0
urllib3 2.0.6
Werkzeug 3.0.3
wheel 0.41.2
wrapt 1.15.0
```
## Environment
| | |
| ----------------- | ------------------------------- |
| OS | Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-113-generic x86_64) |
| Installation type | pip |
| RAM available | 16 GB |
| Hardware spec | CPU |
## Additional context
```
(spleeterenv) root@mypc:~/spleeter_app# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 0
siblings : 3
core id : 0
cpu cores : 3
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 0
siblings : 3
core id : 1
cpu cores : 3
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 0
siblings : 3
core id : 2
cpu cores : 3
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 1
siblings : 3
core id : 0
cpu cores : 3
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 4
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 1
siblings : 3
core id : 1
cpu cores : 3
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 5
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2394.454
cache size : 16384 KB
physical id : 1
siblings : 3
core id : 2
cpu cores : 3
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips : 4788.90
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
(spleeterenv) root@mypc:~/spleeter_app# cat /proc/cpuinfo | grep flags | uniq | sed 's/.\+: //' | tr ' ' '\n' | grep -o "sse.*"
sse
sse2
```
Contributor guide
Research direction
Start by reproducing the documented `pip install spleeter` and `spleeter separate` command on the stated Ubuntu CPU, then inspect how the TensorFlow dependency is selected and where Spleeter documents runtime requirements. Done should mean establishing whether supported installation or an actionable compatibility explanation is possible; the issue names no repository file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- audio-video-rtc, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100