Skip to content

uv sync fails on IBM Power 10 linux ppc64le system #1283

@carll99

Description

@carll99

Checklist

  • I have searched for similar issues before opening this one.
  • I am using the latest version of lmms-eval.

Bug Description

My system is an IBM Power 10 system running Red Hat Enterprise Linux release 9.6 (Plow)

Trying to follow the quick start instructions at:
https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/docs/getting-started/quickstart.md

When I run the uv sync command I get the following error:

uv sync
warning: VIRTUAL_ENV=/home/carll2/Benchmark_DocVQA/Image_inferencing/venv_granite does not match the project environment path .venv and will be ignored; use --active to target the active environment instead
Using CPython 3.11.11 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 297 packages in 8.20s
error: Distribution opencv-python-headless==4.13.0.92 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on Linux (manylinux_2_34_ppc64le), but opencv-python-headless (v4.13.0.92) only has wheels for the following platforms: manylinux_2_17_aarch64, manylinux_2_17_x86_64, manylinux_2_28_aarch64, manylinux_2_28_x86_64, manylinux2014_aarch64, manylinux2014_x86_64, macosx_13_0_arm64, macosx_14_0_x86_64, win32, win_amd64; consider adding "sys_platform == 'linux' and platform_machine == 'ppc64le'" to tool.uv.required-environments to ensure uv resolves to a version with compatible wheels

Steps to Reproduce

git clone https://github.com/EvolvingLMMs-Lab/lmms-eval.git
 cd lmms-eval
uv sync

Error Message / Traceback

Environment

Red Hat Enterprise Linux release 9.6 (Plow)
Python 3.12.12
Power 10
torch 2.10.0+cpu
torchaudio 2.8.0
torchvision 0.25.0+cpu
tqdm 4.67.3
transformers 4.57.6

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions