[BUG] machine-learning container exits errorcode 132 #1785

Closed
opened 2026-02-05 03:46:05 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @mrestivill on GitHub (Dec 15, 2023).

The bug

The container machine-learning keeps restarting exiting with errorcode 132. Seams (searching on internet) something related to tensorflow and some x86_64 instruction set that is not found on some processors.

 Worker (pid:11) was sent code 132!

This is the cpuinfo of my system

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Turion(tm) II Neo N54L Dual-Core Processor
stepping        : 3
microcode       : 0x10000c8
cpu MHz         : 2200.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
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 mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
bogomips        : 4393.06
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

The OS that Immich Server is running on

Ubuntu 22.04.3

Version of Immich Server

v1.90.02

Version of Immich Mobile App

v1.90.02

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

immich-machine-learning:
    container_name: immich-machine-learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    networks:
      - internal
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

Your .env content

.

Reproduction steps

1. docker-compose up -d
2. docker logs -f immich-machine-learning
3.   Worker (pid:11) was sent code 132!
...

Additional information

No response

Originally created by @mrestivill on GitHub (Dec 15, 2023). ### The bug The container machine-learning keeps restarting exiting with errorcode 132. Seams (searching on internet) something related to tensorflow and some x86_64 instruction set that is not found on some processors. ``` Worker (pid:11) was sent code 132! ``` This is the cpuinfo of my system ``` processor : 1 vendor_id : AuthenticAMD cpu family : 16 model : 6 model name : AMD Turion(tm) II Neo N54L Dual-Core Processor stepping : 3 microcode : 0x10000c8 cpu MHz : 2200.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 5 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 mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save bugs : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2 bogomips : 4393.06 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate ``` ### The OS that Immich Server is running on Ubuntu 22.04.3 ### Version of Immich Server v1.90.02 ### Version of Immich Mobile App v1.90.02 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML immich-machine-learning: container_name: immich-machine-learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} networks: - internal volumes: - model-cache:/cache env_file: - .env restart: always ``` ### Your .env content ```Shell . ``` ### Reproduction steps ```bash 1. docker-compose up -d 2. docker logs -f immich-machine-learning 3. Worker (pid:11) was sent code 132! ... ``` ### Additional information _No response_
Author
Owner

@mrestivill commented on GitHub (Dec 15, 2023):

I've also tried to use gpu on the container to avoid this error, adding hwaccel. I have nvidia and /dev/dri (AMD Radeon) but still fails on running the worker

@mrestivill commented on GitHub (Dec 15, 2023): I've also tried to use gpu on the container to avoid this error, adding hwaccel. I have nvidia and /dev/dri (AMD Radeon) but still fails on running the worker
Author
Owner

@alextran1502 commented on GitHub (Dec 15, 2023):

Hello, what are you running the machine learning on?

@alextran1502 commented on GitHub (Dec 15, 2023): Hello, what are you running the machine learning on?
Author
Owner

@mertalev commented on GitHub (Dec 24, 2023):

This issue is fixed and will be in the next release.

@mertalev commented on GitHub (Dec 24, 2023): This issue is fixed and will be in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1785