Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note for TPU issues for deberta_v3 #758

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a note for TPU issues for deberta_v3
  • Loading branch information
mattdangerw committed Feb 17, 2023
commit 4322834fe7d1f475a19c628a8a7699ded54d0e4a
3 changes: 3 additions & 0 deletions keras_nlp/models/deberta_v3/deberta_v3_backbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class DebertaV3Backbone(Backbone):
dimensions. To load preset architectures and weights, use the `from_preset`
constructor.

Note: `DebertaV3Backbone` has a performance issue on TPUs, and we recommend
other models for TPU training and inference.

Disclaimer: Pre-trained models are provided on an "as is" basis, without
warranties or conditions of any kind. The underlying model is provided by a
third party and subject to a separate license, available
Expand Down
3 changes: 3 additions & 0 deletions keras_nlp/models/deberta_v3/deberta_v3_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ class DebertaV3Classifier(Task):
`fit()`, `predict()`, and `evaluate()`. This is done by default when
creating the model with `from_preset()`.

Note: `DebertaV3Backbone` has a performance issue on TPUs, and we recommend
other models for TPU training and inference.

Disclaimer: Pre-trained models are provided on an "as is" basis, without
warranties or conditions of any kind. The underlying model is provided by a
third party and subject to a separate license, available
Expand Down