Skip to content

Install given transformers version in slow tests - #1989

Merged
echarlaix merged 2 commits into
mainfrom
slow-test
Sep 11, 2026
Merged

echarlaix merged 2 commits into
mainfrom
slow-test

Conversation

@echarlaix

Copy link
Copy Markdown
Collaborator

No description provided.

@echarlaix echarlaix added the openvino-slow Runs OpenVINO slow tests with different versions of transformers label Sep 10, 2026
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

- if: ${{ matrix.transformers-version != 'latest' && matrix.transformers-version != 'main' }}
name: Install specific dependencies and versions required for older transformers
run: |
uv pip install transformers==${{ matrix.transformers-version }} accelerate==0.* peft==0.13.* diffusers==0.32.* transformers_stream_generator

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was wrongfully removed in #1863

with mock_torch_cuda_is_available("awq" in model_arch or "gptq" in model_arch):
transformers_model = AutoModelForCausalLM.from_pretrained(model_id, **model_kwargs)
if model_arch in ["arctic", "gemma3_text", "phimoe"] or "mxfp4" in model_arch:
if model_arch in ["arctic", "gemma3_text", "phimoe", "llama"] or "mxfp4" in model_arch:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@echarlaix
echarlaix marked this pull request as ready for review September 11, 2026 08:18
@echarlaix

Copy link
Copy Markdown
Collaborator Author

failing slow tests unrelated with PRs following this change https://github.com/huggingface/optimum-intel/actions/runs/30945258153/job/92246162070

@echarlaix
echarlaix merged commit f2455b9 into main Sep 11, 2026
35 of 43 checks passed
@echarlaix
echarlaix deleted the slow-test branch September 11, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openvino-slow Runs OpenVINO slow tests with different versions of transformers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants