transformers
Add tf_keras imports to prepare for Keras 3
#28588
Merged

Add tf_keras imports to prepare for Keras 3 #28588

Rocketknight1 merged 19 commits into main from import_tf_keras
Rocketknight1
Rocketknight1 Rocketknight1 force pushed 1 year ago
Rocketknight1 Rocketknight1 force pushed to db780077 1 year ago
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 1 year ago
Rocketknight1
HuggingFaceDocBuilderDev
amyeroberts
amyeroberts commented on 2024-01-23
amyeroberts
Rocketknight1
Rocketknight1 Rocketknight1 force pushed from f9cc64c6 to ecbf19cf 1 year ago
Rocketknight1
Rocketknight1 Rocketknight1 force pushed to d26dd15a 1 year ago
Rocketknight1
amyeroberts
amyeroberts approved these changes on 2024-01-29
Rocketknight1 Rocketknight1 force pushed from d26dd15a 1 year ago
Rocketknight1 Port core files + ESM (because ESM code is odd)
f0ddbd8e
Rocketknight1 Search-replace in modelling code
0de7d714
Rocketknight1 Fix up transfo_xl as well
728b7a18
Rocketknight1 Fix other core files + tests (still need to add correct import to tests)
316ea587
Rocketknight1 Fix cookiecutter
dbe1e059
Rocketknight1 make fixup, fix imports in some more core files
9201f68d
Rocketknight1 Auto-add imports to tests
3d86ddff
Rocketknight1 Cleanup, add imports to sagemaker tests
f0fd9bfe
Rocketknight1 Use correct exception for importing tf_keras
f4ba81e9
Rocketknight1 Fixes in modeling_tf_utils
cc6aaa08
Rocketknight1 make fixup
a2d325c8
Rocketknight1 Correct version parsing code
ea92cd3f
Rocketknight1 Ensure the pipeline tests correctly revert to float32 after each test
166b093c
Rocketknight1 Ensure the pipeline tests correctly revert to float32 after each test
d7bb7b63
Rocketknight1 More tf.keras -> keras
42242064
Rocketknight1 Add dtype cast
df5b4860
Rocketknight1 Better imports of tf_keras
193cbca5
Rocketknight1 Add a cast for tf.assign, just in case
383bc79e
Rocketknight1 Fix callback imports
b5e59ca3
Rocketknight1 Rocketknight1 force pushed to b5e59ca3 1 year ago
Rocketknight1 Rocketknight1 merged 415e9a09 into main 1 year ago
Rocketknight1 Rocketknight1 deleted the import_tf_keras branch 1 year ago
echan5
ArthurZucker
Rocketknight1
echan5

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone