Skip to content

Conversation

susnato
Copy link
Contributor

@susnato susnato commented Mar 20, 2023

What does this PR do?
This PR modifies tests as described in #866 for whisper.

Results
before - 9 passed, 3 skipped in 22.53s
after - 8 passed, 4 skipped in 7.96s
2.83 times speedup(on my local machine)

@mattdangerw @chenmoneygithub

@mattdangerw mattdangerw self-requested a review March 21, 2023 03:00
Copy link
Member

@mattdangerw mattdangerw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just one comment

with self.tpu_strategy.scope():
self.model = WhisperBackbone(
self.backbone = WhisperBackbone(
vocabulary_size=1000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's size down this backbone same as above.

@susnato
Copy link
Contributor Author

susnato commented Mar 21, 2023

Hi @mattdangerw I made those changes that you requested. Please check

@mattdangerw
Copy link
Member

LGTM!

@mattdangerw mattdangerw merged commit 339e2d6 into keras-team:master Mar 22, 2023
kanpuriyanawab pushed a commit to kanpuriyanawab/keras-nlp that referenced this pull request Mar 26, 2023
* modified tests for whisper

* comments
kanpuriyanawab pushed a commit to kanpuriyanawab/keras-nlp that referenced this pull request Mar 26, 2023
* modified tests for whisper

* comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants