Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[BUGFIX]Fix the regular expression in RTC code #20810

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

ptrendx
Copy link
Member

@ptrendx ptrendx commented Jan 6, 2022

Description

This PR makes the regular expression in the legacy RTC code path more efficient.

Checklist

Essentials

  • PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage
  • Code is well-documented

Changes

  • Instead of checking for arbitrary number of whitespace character in the regular expression, I strip the input so that only a single whitespace is left between matched groups and modify the regular expression accordingly.

FYI @josephevans @szha @TristonC

@ptrendx ptrendx requested a review from szha as a code owner January 6, 2022 23:36
@mseth10 mseth10 added the pr-awaiting-testing PR is reviewed and waiting CI build and test label Jan 6, 2022
Copy link
Member

@szha szha left a comment

Choose a reason for hiding this comment

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

Thanks for the change!

@mseth10 mseth10 added pr-work-in-progress PR is still work in progress and removed pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jan 7, 2022
@ptrendx
Copy link
Member Author

ptrendx commented Jan 7, 2022

@mxnet-bot run ci [unix-cpu, website, windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [unix-cpu, windows-gpu, website]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jan 7, 2022
@ptrendx
Copy link
Member Author

ptrendx commented Jan 7, 2022

@mxnet-bot run ci [windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [windows-gpu]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jan 7, 2022
@szha
Copy link
Member

szha commented Jan 9, 2022

@mxnet-bot run ci [windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [windows-gpu]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jan 9, 2022
@mseth10 mseth10 added pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test and removed pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress labels Jan 11, 2022
@TristonC
Copy link
Contributor

@mxnet-bot run ci [windows-gpu]

@mxnet-bot
Copy link

Unauthorized access detected.
Only following 3 categories can trigger CI :
PR Author, MXNet Committer, Jenkins Admin.

@ptrendx
Copy link
Member Author

ptrendx commented Jan 14, 2022

@mxnet-bot run ci [windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [windows-gpu]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress pr-awaiting-merge Review and CI is complete. Ready to Merge and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jan 14, 2022
Copy link
Contributor

@josephevans josephevans left a comment

Choose a reason for hiding this comment

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

CI has finally passed! LGTM!

@marcoabreu marcoabreu merged commit 59b4c18 into apache:master Jan 18, 2022
josephevans pushed a commit to josephevans/mxnet that referenced this pull request Jan 24, 2022
josephevans pushed a commit to josephevans/mxnet that referenced this pull request Jan 24, 2022
josephevans added a commit that referenced this pull request Jan 25, 2022
Co-authored-by: Przemyslaw Tredak <ptredak@nvidia.com>
josephevans added a commit that referenced this pull request Jan 27, 2022
Co-authored-by: Przemyslaw Tredak <ptredak@nvidia.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-merge Review and CI is complete. Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants