intel-extension-for-transformers icon indicating copy to clipboard operation
intel-extension-for-transformers copied to clipboard

SageMaker does not support Transformers 4.34.1 which is required by ITREX

Open eduand-alvarez opened this issue 1 year ago • 3 comments
trafficstars

ValueError: Unsupported huggingface version: 4.34.1. You may need to upgrade your SDK version (pip install -U sagemaker) for newer huggingface versions. Supported huggingface version(s): 4.6.1, 4.10.2, 4.11.0, 4.12.3, 4.17.0, 4.26.0, 4.28.1, 4.37.0, 4.6, 4.10, 4.11, 4.12, 4.17, 4.26, 4.28, 4.37.

Do you intend on supporting any of these transformer versions?

eduand-alvarez avatar Mar 14 '24 05:03 eduand-alvarez

Hi @eduand-alvarez actually we can support transformers higher than 4.36, please try upgrade transformers as you need.

VincyZhang avatar Mar 14 '24 08:03 VincyZhang

Vincy, the problem is that if you try and install anything other than 4.34.1, you get an error that doesn't allow you to complete installation.

image

eduand-alvarez avatar Mar 18 '24 17:03 eduand-alvarez

Hi @eduand-alvarez , when we were at 1.2.2, we relied on transformers 4.34.1. But we've upgraded to 1.3.2 long time ago, and will release 1.4 very soon, may I ask why you're still using 1.2.2? Would you mind try latest ITREX (pip install intel-extension-for-transformers==1.3.2)? image

VincyZhang avatar Mar 19 '24 00:03 VincyZhang