Open zhemaituk opened 1 month ago
@zhemaituk Thanks for raising the issue.
The package onnxruntime
only provides Linux wheels for manylinux_2_27
and manylinux_2_28
and does not provide sdist. But Lambda Builders seems to not support these two manylinux tags. Marking this as a bug.
Description:
onnxruntime==1.18.1 dependency fails to install in container and locally using sam build.
Steps to reproduce:
sam build --use-container --debug
Observed result:
Expected result:
Build Successful
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The same fails without
--use-container
as well, BUT only during first execution ofsam build
, second execution ofsam build
without cleaning.aws-sam
folder is successful.pip install onnxruntime==1.18.1
by itself works fine in both: container and locally.OS: macOS 14.6.1 23G93 SAM CLI: version 1.121.0