NeMo-text-processing
NeMo-text-processing copied to clipboard
malloc error on initialization of inverse normalizer
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:
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
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.
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.
This issue was closed because it has been inactive for 7 days since being marked as stale.
We haven't been able to reproduce this. Have you tried this on another machine?
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.
This issue was closed because it has been inactive for 7 days since being marked as stale.