transformers
More TF int dtype fixes
#20384
Merged

More TF int dtype fixes #20384

Rocketknight1
Rocketknight1 Rocketknight1 changed the title Add a test to ensure int dummy inputs are int64 More TF int dtype fixes 3 years ago
HuggingFaceDocBuilderDev
Rocketknight1
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 ydshieh ydshieh 3 years ago
Rocketknight1 Rocketknight1 requested a review from gante gante 3 years ago
Rocketknight1 Add a test to ensure int dummy inputs are int64
262fe1ff
Rocketknight1 Move the test into the existing int64 test and update a lot of existi…
17ecadef
Rocketknight1 Fix remaining dummies
9dc1736a
Rocketknight1 Fix remaining dummies
29d3667b
Rocketknight1 Test for int64 serving sigs as well
ec2ba092
Rocketknight1 Update core tests to use tf.int64
39807fd3
Rocketknight1 Add better messages to the assertions
301e1b34
Rocketknight1 Update all serving sigs to int64
b5c4912c
Rocketknight1 More sneaky hiding tf.int32s
da0086cd
Rocketknight1 Rocketknight1 force pushed to da0086cd 3 years ago
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 3 years ago
sgugger
sgugger approved these changes on 2022-11-22
gante
gante commented on 2022-11-22
ydshieh
ydshieh approved these changes on 2022-11-22
Rocketknight1
amyeroberts
amyeroberts approved these changes on 2022-11-23
Rocketknight1
Rocketknight1 Add an optional int32 signature in save_pretrained
5f7d8b48
Rocketknight1 make fixup
dc5bc413
Rocketknight1 Add Amy's suggestions
f3762780
Rocketknight1 Switch all serving sigs back to tf.int32
91e15bb9
Rocketknight1 Switch all dummies to tf.int32
ef46d3e0
Rocketknight1 Adjust tests to check for tf.int32 instead of tf.int64
80f7e3be
Rocketknight1 Fix base dummy_inputs dtype
e7dc6ff5
Rocketknight1 Start casting to tf.int32 in input_processing
c9ca34c3
Rocketknight1 Change dtype for unpack_inputs test
2d8d7e5a
Rocketknight1 Add proper tf.int32 test
bc98591b
Rocketknight1 Make the alternate serving signature int64
40a3f7ab
gante
gante approved these changes on 2022-11-25
ydshieh
Rocketknight1
Rocketknight1 Rocketknight1 merged de4159a3 into main 3 years ago
Rocketknight1 Rocketknight1 deleted the fix_test_saved_model_creation_extended branch 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone