Skip to content

remove flax from documentation_tests.txt#21036

Merged
ydshieh merged 1 commit into
mainfrom
fix_doctest_2
Jan 8, 2023
Merged

remove flax from documentation_tests.txt#21036
ydshieh merged 1 commit into
mainfrom
fix_doctest_2

Conversation

@ydshieh

@ydshieh ydshieh commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator

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

HuggingFaceDocBuilderDev commented Jan 6, 2023

Copy link
Copy Markdown

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

@sgugger sgugger left a comment

Copy link
Copy Markdown
Collaborator

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

gante commented Jan 16, 2023

Copy link
Copy Markdown
Contributor

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

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

@ydshieh

ydshieh commented Jan 16, 2023

Copy link
Copy Markdown
Collaborator Author

@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

sgugger commented Jan 16, 2023

Copy link
Copy Markdown
Collaborator

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.

4 participants