jadore801120 / attention-is-all-you-need-pytorch

A PyTorch implementation of the Transformer model in "Attention is All You Need".
MIT License
8.78k stars 1.97k forks source link

OverflowError #198

Open Daming-TF opened 2 years ago

Daming-TF commented 2 years ago

When I run the training code, it does not indicate the specific error location, only the error is: “ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size OverflowError: value too large to convert to uint32_t Exception ignored in: 'preshed.bloom.bloom_from_bytes' OverflowError: value too large to convert to uint32_t ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size OverflowError: value too large to convert to uint32_t Exception ignored in: 'preshed.bloom.bloom_from_bytes' OverflowError: value too large to convert to uint32_t OverflowError: value too large to convert to uint32_t Exception ignored in: 'preshed.bloom.bloom_from_bytes' OverflowError: value too large to convert to uint32_t OverflowError: value too large to convert to uint32_t Exception ignored in: 'preshed.bloom.bloom_from_bytes' OverflowError: value too large to convert to uint32_t ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size ValueError: bytes length not a multiple of item size Exception ignored in: 'preshed.bloom.bloom_from_bytes' ValueError: bytes length not a multiple of item size OverflowError: value too large to convert to uint32_t Exception ignored in: 'preshed.bloom.bloom_from_bytes' OverflowError: value too large to convert to uint32_t Segmentation fault ”

how should i handle this?