Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ConversationalPipeline and Conversation object #31165

Merged
merged 5 commits into from
Jun 7, 2024

Conversation

Rocketknight1
Copy link
Member

@Rocketknight1 Rocketknight1 commented May 31, 2024

Both the ConversationalPipeline and the Conversation object have been deprecated for a while, and are due for removal in 4.42, which is the upcoming version. This PR removes them and every reference to them that I could find.

Fixes #31158

…een deprecated for some time and are due for removal
@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.

@LysandreJik
Copy link
Member

Please make sure there are very solid examples of how to do conversational from now on!

Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for tidying this up!

+1 on @LysandreJik's comment

@Rocketknight1
Copy link
Member Author

@osanseviero has been updating some docs in model repos, and I added the sidebar tutorial as well. If there's anywhere else you think it would make sense to add these examples, let me know!

@Rocketknight1
Copy link
Member Author

Merging this - I think it's reasonably safe, but let's see if any more issues turn up before the next release.

@Rocketknight1 Rocketknight1 merged commit 065729a into main Jun 7, 2024
24 checks passed
@Rocketknight1 Rocketknight1 deleted the remove_conversational_pipeline branch June 7, 2024 16:50
github-merge-queue bot pushed a commit to microsoft/DeepSpeed that referenced this pull request Jun 7, 2024
MII legacy tests use `from transformers import Conversation`
[here](https://github.com/microsoft/DeepSpeed-MII/blob/c171c4ee290e96c0d3e618b654be8add5eca973b/mii/legacy/method_table.py#L8).

Conversation was removed from transformers
[here](huggingface/transformers#31165) so we pin
to a version before that before unpinning.
github-merge-queue bot pushed a commit to microsoft/DeepSpeed that referenced this pull request Jun 7, 2024
MII legacy tests use `from transformers import Conversation`
[here](https://github.com/microsoft/DeepSpeed-MII/blob/c171c4ee290e96c0d3e618b654be8add5eca973b/mii/legacy/method_table.py#L8).

Conversation was removed from transformers
[here](huggingface/transformers#31165) so we pin
to a version before that before unpinning.
loadams added a commit to microsoft/DeepSpeed that referenced this pull request Jun 7, 2024
      MII legacy tests use `from transformers import Conversation`
[here](https://github.com/microsoft/DeepSpeed-MII/blob/c171c4ee290e96c0d3e618b654be8add5eca973b/mii/legacy/method_table.py#L8).

Conversation was removed from transformers
[here](huggingface/transformers#31165) so we pin
to a version before that before unpinning.
sfc-gh-reyazda pushed a commit to Snowflake-Labs/DeepSpeed that referenced this pull request Jun 10, 2024
      MII legacy tests use `from transformers import Conversation`
[here](https://github.com/microsoft/DeepSpeed-MII/blob/c171c4ee290e96c0d3e618b654be8add5eca973b/mii/legacy/method_table.py#L8).

Conversation was removed from transformers
[here](huggingface/transformers#31165) so we pin
to a version before that before unpinning.
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request Jun 14, 2024
)

* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal

* Update not-doctested.txt

* Fix JA and ZH docs

* Fix JA and ZH docs some more

* Fix JA and ZH docs some more
itazap pushed a commit that referenced this pull request Jun 17, 2024
* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal

* Update not-doctested.txt

* Fix JA and ZH docs

* Fix JA and ZH docs some more

* Fix JA and ZH docs some more
itazap pushed a commit that referenced this pull request Jun 17, 2024
* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal

* Update not-doctested.txt

* Fix JA and ZH docs

* Fix JA and ZH docs some more

* Fix JA and ZH docs some more
itazap pushed a commit that referenced this pull request Jun 17, 2024
* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal

* Update not-doctested.txt

* Fix JA and ZH docs

* Fix JA and ZH docs some more

* Fix JA and ZH docs some more
itazap pushed a commit that referenced this pull request Jun 20, 2024
* Remove ConversationalPipeline and Conversation object, as they have been deprecated for some time and are due for removal

* Update not-doctested.txt

* Fix JA and ZH docs

* Fix JA and ZH docs some more

* Fix JA and ZH docs some more
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.

Conversation pipeline example doesn't work
4 participants