synesthesiam / opentts

Open Text to Speech Server
MIT License
954 stars 134 forks source link

ValueError on ARM chip #15

Open yeungon opened 2 years ago

yeungon commented 2 years ago

Hi Michael. Your work allows me to install TTS with ease. There is no issue with the Intel chip. Recently I installed on an ARM-based VPS and things showed up. While there is no issue with other voice ids, the following one always showed up with Voice id: coqui-tts:en_ljspeech, which IMO is the best one.

Hope you might have time to have a look.

The current one I have installed here: Voice id: http://168.138.190.231:5555/

Cheer.

Voice id: coqui-tts:en_ljspeech
ValueError: On entry to DLASCL parameter number 4 had an illegal value
Ryan5453 commented 2 years ago

Hi, I'm running into the same issue running on an Oracle Amphere A1 VPS (ARM as well)

synesthesiam commented 2 years ago

32-bit ARM?

yeungon commented 2 years ago

32-bit ARM?

Hi @synesthesiam, that is mine. Also on Oracle Amphere.


ubuntu@instance-20211207-1853:~$ lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       ARM
greenfrogs commented 2 years ago

Hey, @yeungon and @ryan5453 I was wondering if either of you managed to resolve the issue? I am also trying to use Oracle Amphere. Thank you in advance.

Ryan5453 commented 2 years ago

Hey, @yeungon and @ryan5453 I was wondering if either of you managed to resolve the issue? I am also trying to use Oracle Amphere. Thank you in advance.

Sadly not

greenfrogs commented 2 years ago

I managed to work out a solution by adjusting some of the underlying packages, here is the Dockerfile. I have tested it with the tts_models/en/vctk/vits on ARM64 and seems to work well.