Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix always None in text_generation output #2316

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Jun 5, 2024

Fix #2315. Thanks @WesleyTheGeolien for reporting it!

Since recent refacto of the text-generation client (#2237), details=True was not forwarded to TGI, which is a breaking change. This PR fixes it. I'll do a hot-fix release once merged.

@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

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

LGTM!

@Wauplin
Copy link
Contributor Author

Wauplin commented Jun 5, 2024

Thanks! failing CI is unrelated so happy to merge :)

@Wauplin Wauplin merged commit 8daf9fd into main Jun 5, 2024
14 of 16 checks passed
@Wauplin Wauplin deleted the 2315-fix-details-always-none-in-text-generation branch June 5, 2024 12:44
@WesleyTheGeolien
Copy link

Thanks @Wauplin

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

details is always None with text_generation
4 participants