Skip to content

Conversation

@gante
Copy link
Contributor

@gante gante commented Feb 19, 2025

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

@gante gante requested a review from ydshieh February 19, 2025 12:12
_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)
Copy link
Contributor Author

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 👀

@HuggingFaceDocBuilderDev

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.

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.

works for me, just a few place with

if xxx:
pass

could/should be removed completely :-)

@gante
Copy link
Contributor Author

gante commented Feb 19, 2025

@ydshieh sorry, the same happened again 😅

the if foo(): pass pattern was removed (or at least I can't find more)

@gante
Copy link
Contributor Author

gante commented Feb 19, 2025

(@ydshieh not clear from your previous message -- if you're happy with the PR, I'll need an approval to merge 🤗 )

@ydshieh
Copy link
Collaborator

ydshieh commented Feb 19, 2025

ohhhhh, I forgot the ✅

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.

CI is so relieved due to @gante 🚀

@gante gante merged commit 99adc74 into huggingface:main Feb 19, 2025
23 checks passed
@gante
Copy link
Contributor Author

gante commented Feb 19, 2025

boom done :D

@gante gante deleted the rm_flax_pt_equivalence branch February 19, 2025 15:13
pbielak pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Jul 28, 2025
pbielak pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Jul 28, 2025
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