Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

SageMaker does not support Transformers 4.34.1 which is required by ITREX #1381

Open
eduand-alvarez opened this issue Mar 14, 2024 · 3 comments
Assignees

Comments

@eduand-alvarez
Copy link

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?

@VincyZhang
Copy link
Contributor

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

@VincyZhang VincyZhang self-assigned this Mar 14, 2024
@eduand-alvarez
Copy link
Author

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

@VincyZhang
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants