Skip to content

Conversation

@BenjaminBossan
Copy link
Member

As discussed, we wanted to make small amendments to the release process, so that we have a 0.N.0 commit on main. I also adjusted the wording here and there.

There were some open questions, which I have marked with a FIXME. Please let me know how to proceed with those.

Note: For me, the GitHub diff view is not correct, so please check the changes carefully.

As discussed, we wanted to make small amendments to the release process,
so that we have a 0.N.0 commit on main. I also adjusted the wording here
and there.

There were some open questions, which I have marked with a FIXME. Please
let me know how to proceed with those.
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 3, 2023

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

@BenjaminBossan BenjaminBossan marked this pull request as draft November 3, 2023 10:25
Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @BenjaminBossan for updating the release checklist! Have replied to the FIXME parts. Good to merge once those are addressed

setup.py Outdated
# Push the tag to git:
# git push --tags origin main
# It is necessary to work on the original repository, not on a fork.
# FIXME should we create an annotated tag: git tag -a ...
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, let's use annotated tag as it is more informative and better for public releases

setup.py Outdated
# git push --tags origin main
# It is necessary to work on the original repository, not on a fork.
# FIXME should we create an annotated tag: git tag -a ...
# FIXME we can also skip this and let GH release create the tag for us
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's explicitly have the tag step before release.

setup.py Outdated
# twine upload dist/* -r pypitest
# twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/
# 6. Check that you can install it in a virtualenv by running:
# FIXME are both commands needed? I think not
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I think the second one isn't required

@BenjaminBossan BenjaminBossan marked this pull request as ready for review November 6, 2023 16:38
@BenjaminBossan
Copy link
Member Author

@pacman100 I updated the PR according to your comments, please check again.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thanks!

@BenjaminBossan BenjaminBossan merged commit 4c48970 into huggingface:main Nov 7, 2023
@BenjaminBossan BenjaminBossan deleted the update-release-checklist branch November 7, 2023 13:23
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
As discussed, we wanted to make small amendments to the release process,
so that we have a 0.N.0 commit on main. I also adjusted the wording here
and there.
cyyever pushed a commit to cyyever/peft that referenced this pull request Sep 4, 2025
* add KTO loss

* fix docs

* Update trl/trainer/dpo_trainer.py

Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>

* formatting

* add link to papers

---------

Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
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