Skip to content

Build Failure on Ubuntu ARM64 - Unsupported Wheel Error for fairseq #550

@Mr187k

Description

@Mr187k

I am encountering an issue while building the Docker image for TTS-WebUI on an Ubuntu ARM64 environment. The build fails when attempting to install the dependencies specified in requirements.txt. Below are the details of my setup and the relevant error logs.


Environment Details:

  • Operating System: Ubuntu 24.04.02 LTS (ARM64)
  • Docker Version: 28.3.3, build 980b856

Steps to Reproduce:

  1. Clone the TTS-WebUI repository.
  2. Run the following command to build the Docker image:
    docker build -t tts-webui .
  3. The build process fails during the pip3 install step.

Observed Behavior:

The following error is encountered during the build process:

ERROR: fairseq-0.12.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.

This suggests that the fairseq package is not compatible with the ARM64 architecture.


Expected Behavior:

The Docker image should build successfully on an ARM64 system.


Shell Output:

ubuntu@a1:~/tts-webui$ docker build -t tts-webui .
...
 => ERROR [15/24] RUN pip3 install --no-cache-dir torch==2.7.0 -r requirements.txt
------
 > [15/24] RUN pip3 install --no-cache-dir torch==2.7.0 -r requirements.txt:
1.207 Ignoring soundfile: markers 'sys_platform == "win32"' don't match your environment
1.207 Ignoring fairseq: markers 'sys_platform == "win32" and python_version == "3.10"' don't match your environment
1.258 ERROR: fairseq-0.12.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.

Additional Information:

  • The fairseq dependency appears to be architecture-specific and does not support ARM64.
  • There are many packages in requiremnts.txt with only x86_64 support on linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions