Skip to content

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jan 6, 2023

What does this PR do?

#21009 added src/transformers/generation/flax_utils.py to documentation_tests.txt, but CI image doesn't have jax/flax installed. The whole doctest suite failed, and reported 0 failure.

This PR removes this file from documentation_tests.txt. The CI image used is the same as the scheduled CI, and it's intended not to have jax/flax in this image.

We can decide if to use a separate image though.

@ydshieh ydshieh requested review from gante and sgugger January 6, 2023 16:54
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jan 6, 2023

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

Copy link
Collaborator

@sgugger sgugger 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 the fix!

@ydshieh ydshieh merged commit 48d4e14 into main Jan 8, 2023
@ydshieh ydshieh deleted the fix_doctest_2 branch January 8, 2023 11:33
@gante
Copy link
Contributor

gante commented Jan 16, 2023

Ah, this explains why the previous example had several issues 😅

@ydshieh We don't plan to add FLAX to the doctests, correct?

@ydshieh
Copy link
Collaborator Author

ydshieh commented Jan 16, 2023

@gante Not a no from me. I think it's good to make sure the examples work (this is in the range of maintenance mode 😄 ). But I would like to have a yes from @sgugger and @LysandreJik before working on it.

@sgugger
Copy link
Collaborator

sgugger commented Jan 16, 2023

Not worth any work right now given the usage IMO. There is plenty to do with more priority :-)

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.

5 participants