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

Fix failing doctest #26450

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Fix failing doctest #26450

merged 2 commits into from
Sep 27, 2023

Conversation

LysandreJik
Copy link
Member

Fixes a failing doctest by putting the file in the not_doctested.txt file for now.

@LysandreJik LysandreJik requested a review from ydshieh September 27, 2023 16:34
Copy link
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Would be nice to mention what kind of failure :-) but OK!

@LysandreJik
Copy link
Member Author

It's the same failure as other LLaMa-like models:

NameError: name 'PATH_TO_CONVERTED_WEIGHTS' is not defined
/home/circleci/transformers/src/transformers/models/mistral/modeling_mistral.py:806: UnexpectedException


FAILED src/transformers/models/mistral/modeling_mistral.py::transformers.models.mistral.modeling_mistral.MistralForCausalLM.forward

I'm adding the modeling_mistral file as well to make sure.

@LysandreJik LysandreJik merged commit 78dd120 into main Sep 27, 2023
@LysandreJik LysandreJik deleted the fix-mistral-doctest branch September 27, 2023 16:47
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

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.

3 participants