Skip to content

Conversation

@AdamLouly
Copy link
Contributor

@AdamLouly AdamLouly commented Mar 7, 2024

What does this PR do?

Transformers Introduced AccelerateConfigure dataclass huggingface/transformers#28664
So we need to initialize it in Optimum Training Args.

Check this issue for reference: #1749

Copy link
Member

@IlyasMoutawwakil IlyasMoutawwakil left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@JingyaHuang JingyaHuang left a comment

Choose a reason for hiding this comment

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

Thanks @AdamLouly, the changes look good to me.

Just the code quality CI is failing, could you install the styling tool with
pip install .[quality] and then fix the style with make style? Thx!

@AdamLouly
Copy link
Contributor Author

make style

Done!
Thank you

@JingyaHuang JingyaHuang merged commit d87efb2 into huggingface:main Mar 12, 2024
young-developer pushed a commit to young-developer/optimum that referenced this pull request May 10, 2024
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.

3 participants