huggingface / optimum-intel

🤗 Optimum Intel: Accelerate inference with Intel optimization tools
https://huggingface.co/docs/optimum/main/en/intel/index
Apache License 2.0
386 stars 109 forks source link

Deprecate transformers v4.36.0 #758

Closed echarlaix closed 3 months ago

echarlaix commented 3 months ago

Also fixes issue for OpenVINO export of arctic architectures patching for transformers < v4.37.0 https://huggingface.co/Snowflake/snowflake-arctic-instruct/blob/main/modeling_arctic.py#L1010

cc @helena-intel @eaidova

HuggingFaceDocBuilderDev commented 3 months ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

helena-intel commented 3 months ago

If possible, it would be great if we could support transformers versions a bit longer. 4.36.2 was released about 6 months ago. That's not so long ago. For example LlavaMed 1.5 was released three weeks ago and needs transformers 4.36.2

echarlaix commented 3 months ago

If possible, it would be great if we could support transformers versions a bit longer. 4.36.2 was released about 6 months ago. That's not so long ago. For example LlavaMed 1.5 was released three weeks ago and needs transformers 4.36.2

Opened https://github.com/huggingface/optimum-intel/pull/764 to fix the arctic models export in the meantime, I'm ok with delaying this PR even though 6 months sounds reasonable to me, what's your expection in terms of support ?