transformers
Stop storing references to bound methods via tf.function
#24146
Merged

Stop storing references to bound methods via tf.function #24146

Rocketknight1 merged 12 commits into main from fix_tf_model_garbage_collection
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 2 years ago
Rocketknight1 Rocketknight1 force pushed to b138eea1 2 years ago
Rocketknight1 Rocketknight1 requested a review from ydshieh ydshieh 2 years ago
Rocketknight1 Rocketknight1 requested a review from gante gante 2 years ago
HuggingFaceDocBuilderDev
ydshieh
Rocketknight1
Rocketknight1
Rocketknight1
ydshieh
ydshieh
ydshieh approved these changes on 2023-06-13
Rocketknight1
Rocketknight1 Stop storing references to bound methods in tf.functions
8da21872
Rocketknight1 Remove the gc.collect calls now that we resolved the underlying problem
5bb70c12
Rocketknight1 Remove the default signature from model.serving entirely, big cleanup
c5466d6a
Rocketknight1 Remove _prune_signature as self.input_signature can prune itself
03c90611
Rocketknight1 Restore serving docstring
d8c32e4b
Rocketknight1 Update int support test to check the input signature
0bc46e06
Rocketknight1 Make sure other tests also use model.input_signature and not serving.…
a68b2ac9
Rocketknight1 Restore _prune_signature
e371f62e
Rocketknight1 Rocketknight1 force pushed to e371f62e 2 years ago
Rocketknight1 Remove the doctest GC now it's no longer needed
f98b7b74
ydshieh
Rocketknight1
Rocketknight1 Correct core tests to use the pruned sig
8af7857c
ydshieh
Rocketknight1
Rocketknight1 order lines correctly in core tests
5939c126
gante
gante approved these changes on 2023-06-13
ydshieh
Rocketknight1
amyeroberts
Rocketknight1
amyeroberts
amyeroberts commented on 2023-06-13
Rocketknight1 Add eager_serving back with a deprecation warning
8764c371
amyeroberts
amyeroberts approved these changes on 2023-06-13
Rocketknight1
Rocketknight1 Rocketknight1 merged 3bd1fe43 into main 2 years ago
Rocketknight1 Rocketknight1 deleted the fix_tf_model_garbage_collection branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone