fix canary chunk infer bug
jenkins jenkins jenkins jenkins could you add unit tests that cover these edge cases? btw I didn't see that PR earlier and added the relative audio path support independently; we can either merge my PR or port the test I wrote to yours and close mine (up to you) https://github.com/NVIDIA/NeMo/pull/8464 > could you add unit tests that cover these edge cases? btw I didn't see that PR earlier and added the relative audio path support independently; we can either merge my PR or port the test I wrote to yours and close mine (up to you) #8464

Sure I'll add the tests~I think it's better to use the `get_full_path` function to resolve the relative paths, since it's well tested. jenkins jenkins jenkins jenkins
# What does this PR do ?

- fix canary chunk infer rare bug, where the last segment might have mismatched shape with pre-allocated buffer.
- update audio_segment.py to allow duration is None
- add lhotse support for relative audio paths
