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

NemoAsrLoader: Close file handles after reading metadata #3003

Merged

Conversation

jantonguirao
Copy link
Contributor

Signed-off-by: Joaquin Anton janton@nvidia.com

Why we need this PR?

Pick one, remove the rest

  • It fixes a system error in NemoAsrReader due to keeping too many files open at the same time.

What happened in this PR?

Fill relevant points, put NA otherwise. Replace anything inside []

  • What solution was applied:
    Changed NemoAsrLoader to close audio file handles after reading metadata, then open them again in the prefetching thread when decoding. This is to avoid having too many files open at the same time, causing a system error (large datasets).
  • Affected modules and functionalities:
    NemoAsrReader
  • Key points relevant for the review:
    NA
  • Validation and testing:
    NA
  • Documentation (including examples):
    NA

JIRA TASK: [Use DALI-XXXX or NA]

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@JanuszL JanuszL self-assigned this May 31, 2021
@jantonguirao
Copy link
Contributor Author

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2428010]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2428010]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2428010]: BUILD PASSED

@jantonguirao jantonguirao merged commit d6a4c31 into NVIDIA:main Jun 2, 2021
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.

None yet

4 participants