NeMo-text-processing icon indicating copy to clipboard operation
NeMo-text-processing copied to clipboard

malloc error on initialization of inverse normalizer

Open hannan72 opened this issue 10 months ago • 1 comments

In the initialization of inverse normalizer for English language, sometimes the code crashed with the following error at the initialization: malloc(): unaligned tcache chunk detected I traced the code and found this occasional error occured in the importing some modules from pynini package in nemo_text_processing/text_normalization/en/graph_utils.py lines 23 to 25: image

I fixed this issue by updating pynini to version 2.1.6, however its version in requirements file is explicitly set to 2.1.5 and this version seems to be reason of such crash.

I think the pynini version in requirements/requirements.txt file should be updated to 2.1.6

  • OS: Ubuntu 22.04
  • HW: CPU
  • python 3.10

hannan72 avatar Apr 11 '24 08:04 hannan72

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 12 '24 01:05 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 13 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 21 '24 01:06 github-actions[bot]

We haven't been able to reproduce this. Have you tried this on another machine?

anand-nv avatar Jul 09 '24 01:07 anand-nv

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 08 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Aug 16 '24 01:08 github-actions[bot]