Skip to content

Please also build docker for arm64 for cloud deployments #2057

@DataCerealz

Description

@DataCerealz

Hi, this is a feature request.

We tried running MLflow Models with Kserve and ran into a variety of errors. Turned out mlserver was the issue - currently we run all workloads on AWS EC2 instances with graviton processors (arm64).
The mlserver image pulled by kserve was not compatible.

Since a lot of cloud providers offer compute resources cheaper on their own arm64 chips; I think it would be great if mlsever would support arm64 as well.

Steps we took to solve it for now:

  • clone this repository.
  • Replace Dockerfile line 66 with wget "https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-aarch64.sh" \
  • ran export DOCKER_DEFAULT_PLATFORM="linux/arm64/v8"
  • build the image
  • overwrite the default kserve mlserver image with our newly compiled image

Since then everything works as expected; so I'd assume this might be a small feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions