Files
HuggingFace_transformer/tests
Nicolas Patry f7f0ec2f54 Adding support for fp16 for asr pipeline. (#20864)
* Supporting `fp16` for asr pipeline

* Adding test.

* Style.

* Oops.

* Flake8 update ?

* Fixing flake8 ?

* Revert "Flake8 update ?"

This reverts commit 0b917fcb520e5f34d1933d9d37d8f32b64553048.

* Style (acctidentally deleted flake8 F401.)

* Move to a bigger test (no small whisper model, and s2t doesn't seem to
accept torch_dtype=fp16).

Also we need to use a GPU to actually compute on fp16.

* Using BatchFeature capability.
2022-12-23 10:18:45 +01:00
..
2022-11-14 01:04:26 -05:00
2022-12-20 03:17:59 -05:00
2022-10-18 13:47:36 -04:00
2022-11-30 14:47:54 +00:00