Open lrrountr opened 3 months ago
I'm not familiar with alpine but it sees that the pip channel (index-url) used in the docker image is somehow outdated. As a result, it tried to build from sdist.
However, as we have a build-time dependency of pytorch of specific index-url, users need to install the dependences manually before building. That's why you get this error message.
Thanks for reporting the issue. We checked the installation issue, and find out the root cause, due to the OS not yet supported by PyTorch, which is one of key dependencies for Intel Extension for Transformers. See https://github.com/pytorch/pytorch/issues/71381. We will be monitoring the issue and follow up as long as this OS image can be supported by PyTorch.
Trying to build a project using python3.10-alpine docker image as a base, the project has intel-extension-for-transformers as a dep and I hit this error:
Tried the same steps in other non-alpine python images and installation succeeds.