-
Notifications
You must be signed in to change notification settings - Fork 31.7k
[tests] remove flax-pt equivalence and cross tests #36283
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
Conversation
| _run_pt_flax_cross_tests = parse_flag_from_env("RUN_PT_FLAX_CROSS_TESTS", default=True) | ||
| _run_custom_tokenizers = parse_flag_from_env("RUN_CUSTOM_TOKENIZERS", default=False) | ||
| _run_staging = parse_flag_from_env("HUGGINGFACE_CO_STAGING", default=False) | ||
| _tf_gpu_memory_limit = parse_int_from_env("TF_GPU_MEMORY_LIMIT", default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TF_GPU_MEMORY_LIMIT is never set in our CI 👀
|
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. |
ydshieh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me, just a few place with
if xxx:
pass
could/should be removed completely :-)
|
@ydshieh sorry, the same happened again 😅 the |
|
(@ydshieh not clear from your previous message -- if you're happy with the PR, I'll need an approval to merge 🤗 ) |
|
ohhhhh, I forgot the ✅ |
ydshieh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is so relieved due to @gante 🚀
|
boom done :D |
Following PR [1], the `is_pt_flax_cross_test` mark was removed. This commit applies the same changes for the `wav2vec` tests [2]. [1] huggingface/transformers#36283 [2] https://github.com/huggingface/transformers/pull/36283/files#diff-1063ef75ba73fe97fec48faf71f5020152ca85811784caaef74d4ca18fc6049f
Following PR [1], the `is_pt_flax_cross_test` mark was removed. This commit applies the same changes for the `wav2vec` tests [2]. [1] huggingface/transformers#36283 [2] https://github.com/huggingface/transformers/pull/36283/files#diff-1063ef75ba73fe97fec48faf71f5020152ca85811784caaef74d4ca18fc6049f
What does this PR do?
Follow-up to #36253 -- removes FLAX-PT equivalence and cross-tests.
After this PR, I believe PT development should be mostly free from other frameworks :)
cc @LysandreJik @ArthurZucker as we discussed