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

Better error message for pipeline loading #25912

Merged
merged 4 commits into from
Sep 1, 2023
Merged

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Sep 1, 2023

What does this PR do?

Fix #25892

The new error looks like:

Screenshot 2023-09-01 153455

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 1, 2023

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

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Nice, full traceback is a lot better.
cc @Narsil for his opinion

@Narsil
Copy link
Contributor

Narsil commented Sep 1, 2023

Feel a bit bloated but it it helps ;)

@ydshieh ydshieh merged commit 16d6e30 into main Sep 1, 2023
19 checks passed
@ydshieh ydshieh deleted the better_error_msg_pipe branch September 1, 2023 14:09
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
* update

* update

* update

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
* update

* update

* update

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 2023
* update

* update

* update

* update

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.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.

Zero classification pipeline issue when using device map
4 participants