Skip to content

Remove unused imports in docs. - #406

Merged
younesbelkada merged 7 commits into
huggingface:mainfrom
vwxyzjn:minor-docs
Jun 6, 2023
Merged

younesbelkada merged 7 commits into
huggingface:mainfrom
vwxyzjn:minor-docs

Conversation

@vwxyzjn

@vwxyzjn vwxyzjn commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor

Minor minor improvement on docs :)

Comment thread docs/source/quickstart.mdx
Comment thread docs/source/quickstart.mdx
Comment thread docs/source/quickstart.mdx Outdated
@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Jun 6, 2023 •

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@vwxyzjn

vwxyzjn commented Jun 6, 2023

Copy link
Copy Markdown
Contributor Author

Thanks @lvwerra for the review. I added an end-to-end test as well.

@lvwerra lvwerra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! 🚀 just one small comment!

Comment thread tests/test_e2e.py Outdated

@younesbelkada younesbelkada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks a lot for the great work and welcome to TRL! 🚀
We just need to address:

examples/hello_world.py:6:1: F401 'trl.core.LengthSampler' imported but unused
examples/hello_world.py:6:1: F401 'trl.core.respond_to_batch' imported but unused

So that the code quality checker will be happy - you can just do

make style && make quality

After that we can merge the PR! 💪
Nice test btw :D !

@vwxyzjn

vwxyzjn commented Jun 6, 2023

Copy link
Copy Markdown
Contributor Author

@younesbelkada Thanks for bearing with me, and I appreciate your review!

@younesbelkada younesbelkada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome work!! 🚀

@younesbelkada
younesbelkada merged commit ec8a5b7 into huggingface:main Jun 6, 2023
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
* remove unused var

* bug fix

* update docs, add e2e CI

* black

* isort

* CI
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.

4 participants