Skip to content

Conversation

albertvillanova
Copy link
Member

Fix CI ImportError for 'require_torch_gpu_if_bnb_not_multi_backend_enabled'.

This PR locally implements the require_torch_gpu_if_bnb_not_multi_backend_enabled test marker instead of importing it from transformers.testing_utils, and the corresponding test files are updated to use the local version.

Note that the marker was removed from transformers by:

Fix #4251.

@HuggingFaceDocBuilderDev

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.

Copy link
Member

@qgallouedec qgallouedec left a comment

Choose a reason for hiding this comment

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

thanks

@albertvillanova albertvillanova merged commit f45e865 into huggingface:main Oct 10, 2025
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI fails with dev dependencies: ImportError for 'require_torch_gpu_if_bnb_not_multi_backend_enabled'

3 participants