Open srdfjy opened 2 months ago
when will illegal seek happen?
seems there has a conflict https://github.com/wenet-e2e/wenet/pull/2301#issuecomment-1893027908
When using shard mode, an "illegal seek" error can occur.
When using shard mode, an "illegal seek" error can occur.
I use shard for all my exps, and i never meet this issue
When using shard mode, an "illegal seek" error can occur.
I use shard for all my exps, and i never meet this issue
This error occurs when using HTTP+Shard during the reading of a tar file (tar_file_and_group -> tarfile.open).
When handling network resources, it is necessary to open tar files using the mode 'r|' instead of 'r:', as the former does not attempt seek operations and is suitable for sequential reading.