transformers
Call _set_save_spec() when creating TF models
#19321
Merged

Call _set_save_spec() when creating TF models #19321

Rocketknight1 merged 8 commits into main from set_serving_spec_on_build
Rocketknight1
Add a build_from_serving_sig_and_dummies method and replace all calls…
4c29326f
make fixup
45c9862d
Remove the overridden save() as this is no longer necessary
d2fb3ae7
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 marked this pull request as ready for review 3 years ago
Rocketknight1 Rocketknight1 requested a review from sgugger sgugger 3 years ago
Rocketknight1 Rocketknight1 requested a review from gante gante 3 years ago
sgugger
sgugger approved these changes on 2022-10-04
Rocketknight1 Also call _set_save_spec(), the last missing piece
0c011b77
Rocketknight1 Ensure we set the save spec when loading from config too
fbcaec85
Rocketknight1 Turn this whole thing into a one-line PR
decb608b
Rocketknight1 Turn this whole thing into a one-line PR
b2b25f19
Rocketknight1 Turn this whole thing into a one-line PR
cab014c0
Rocketknight1 Rocketknight1 changed the title Add a build_from_serving_sig_and_dummies method Call _set_save_spec() when creating TF models 3 years ago
Rocketknight1 Rocketknight1 merged 071df6eb into main 3 years ago
Rocketknight1 Rocketknight1 deleted the set_serving_spec_on_build branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone