Piper and Whisper on Synology DSM 6.2.4

Has anyone managed to install Piper and Whisper on Synology 6.2.4? If you could share your docker-compose, it would be greatly appreciated.

I was able to get Piper to run with this docker-compose, but still having trouble with Whisper:

services:
  piper:
    container_name: piper
    image: rhasspy/wyoming-piper
    command: --voice en-us-lessac-low
    volumes:
      - /volume1/docker/piper/data:/data
    environment:
      - TZ=America/Chicago
    restart: unless-stopped
    ports:
      - 10200:10200

When I try the following docker-compose for Whisper:

services:
  whisper:
    container_name: whisper
    image: rhasspy/wyoming-whisper
    command: --model base-int8 --language en
    volumes:
      - /volume1/docker/whisper/data:/data
    environment:
      - TZ=America/Chicago
    restart: unless-stopped
    ports:
      - 10300:10300

I get the following error:

/run.sh: line 5: 7 Illegal instruction (core dumped) python3 -m wyoming_faster_whisper --uri 'tcp://0.0.0.0:10300' --data-dir /data --download-dir /data "$@"

For what it’s worth, it seems this may have been a problem with the upstream image maybe? I just created a folder at /volume1/docker/whisper/data and used your docker-compose with no adjustments and everything started up just fine. Perhaps they corrected whatever the problem was.

This was on a DS923+ with DSM 7.2

2 Likes

@cryptk thanks for letting me know my docker-compose wasn’t messed up. I ended up setting everything up on a mini PC so that I could run Frigate and Double Take with a Coral. Good to know that I could go back to using Synology for Home Assistant if I needed to though.