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

Fix NaN handling during validation #1

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

mikolajblaz
Copy link
Collaborator

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

@github-actions github-actions bot added the NLP label Jan 30, 2023
@anmolgupt anmolgupt merged commit 49c4d7a into anmolg/validation_fix Jan 30, 2023
anmolgupt pushed a commit that referenced this pull request Mar 23, 2023
* cache-aware streaming export

Test onnx streaming conformer ctc WER

Constant att cache width with len param

Remove some extra functions in cache_aware runner

transpose cache so that batch is first for trt

Signed-off-by: Greg Clark <[email protected]>

* fix export for full-context conformer

* WIP trying to improve onnx perf

Signed-off-by: Greg Clark <[email protected]>

* Adding test scripts

Signed-off-by: Greg Clark <[email protected]>

* More perf testing script

Signed-off-by: Greg Clark <[email protected]>

* Updates for jit torch_tensorrt tracing

Signed-off-by: Greg Clark <[email protected]>

* Fixed trace warnings

Signed-off-by: Boris Fomitchev <[email protected]>

* Rearranging tests

Signed-off-by: Boris Fomitchev <[email protected]>

* Fixing non-caching case

Signed-off-by: Boris Fomitchev <[email protected]>

* testing

Signed-off-by: Boris Fomitchev <[email protected]>

* Fixed channel cache length issue

Signed-off-by: Boris Fomitchev <[email protected]>

* cache-aware streaming export

Test onnx streaming conformer ctc WER

Constant att cache width with len param

Remove some extra functions in cache_aware runner

transpose cache so that batch is first for trt

Signed-off-by: Greg Clark <[email protected]>

* fix export for full-context conformer

* WIP trying to improve onnx perf

Signed-off-by: Greg Clark <[email protected]>

* Adding test scripts

Signed-off-by: Greg Clark <[email protected]>

* More perf testing script

Signed-off-by: Greg Clark <[email protected]>

* Updates for jit torch_tensorrt tracing

Signed-off-by: Greg Clark <[email protected]>

* stash

Signed-off-by: Boris Fomitchev <[email protected]>

* Reverting non-essential changes

Signed-off-by: Boris Fomitchev <[email protected]>

* Offset=None case

Signed-off-by: Boris Fomitchev <[email protected]>

* Remove test scripts

Signed-off-by: Greg Clark <[email protected]>

* Clean up speech_to_text_cache_aware_streaming_infer

Signed-off-by: Greg Clark <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert pad -> constant_pad_nd

Signed-off-by: Greg Clark <[email protected]>

* conformer-encoder set window_size from streaming_cfg

Signed-off-by: Greg Clark <[email protected]>

* Fixes for working export(), using more constants

Signed-off-by: Boris Fomitchev <[email protected]>

* Optional rand init for cahce

Signed-off-by: Greg Clark <[email protected]>

* Folding update_cache with constants

Signed-off-by: Boris Fomitchev <[email protected]>

* More folding

Signed-off-by: Boris Fomitchev <[email protected]>

* Reducing diff #1

Signed-off-by: Boris Fomitchev <[email protected]>

* Reducing diff #2

Signed-off-by: Boris Fomitchev <[email protected]>

* Reducing diff #3

Signed-off-by: Boris Fomitchev <[email protected]>

* Fixed unit tests, more reverts

Signed-off-by: Boris Fomitchev <[email protected]>

* Export fixes

Signed-off-by: Boris Fomitchev <[email protected]>

* Reverted slice changes that ruined ONNX perf

Signed-off-by: Boris Fomitchev <[email protected]>

* Adding back keep_all_outputs and drop_extra_preencoded

Signed-off-by: Greg Clark <[email protected]>

* Fix export

Signed-off-by: Greg Clark <[email protected]>

---------

Signed-off-by: Greg Clark <[email protected]>
Signed-off-by: Boris Fomitchev <[email protected]>
Co-authored-by: Boris Fomitchev <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vahid Noroozi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants