Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error finetuning a pre-trained BERT (base-uncased) on MLM. #793

Closed
srikanth-t20 opened this issue Oct 30, 2020 · 2 comments
Closed

Error finetuning a pre-trained BERT (base-uncased) on MLM. #793

srikanth-t20 opened this issue Oct 30, 2020 · 2 comments
Labels
stale This issue has become stale

Comments

@srikanth-t20
Copy link

Stack trace:
[enforce fail at inline_container.cc:262] . unexpected pos 200889408 vs 200889296.
terminate called after throwing an instance of 'c10::Error'
what(): [enforce fail at inline_container.cc:262] . unexpected pos 200889408 vs 200889296
frame #0: c10::ThrowEnforceNotMet(char const*, int, char const*, std::string const&, void const*) + 0x47 (0x7f41feed16c7 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: + 0x1feb390 (0x7f4233335390 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so)
frame #2: + 0x1fe75c3 (0x7f42333315c3 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so)
frame #3: caffe2::serialize::PyTorchStreamWriter::writeRecord(std::string const&, void const*, unsigned long, bool) + 0x17b (0x7f423333656b in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so)
frame #4: caffe2::serialize::PyTorchStreamWriter::writeEndOfFile() + 0xe1 (0x7f4233337101 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so)
frame #5: caffe2::serialize::PyTorchStreamWriter::~PyTorchStreamWriter() + 0x115 (0x7f42333378f5 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_cpu.so)
frame #6: + 0x5a4b53 (0x7f42387b8b53 in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #7: + 0x264d5e (0x7f4238478d5e in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #8: + 0x26632e (0x7f423847a32e in /home/ubuntu/anaconda3/envs/pt_mainproj_st/lib/python3.6/site-packages/torch/lib/libtorch_python.so)

frame #22: __libc_start_main + 0xe7 (0x7f425383bb97 in /lib/x86_64-linux-gnu/libc.so.6)

@stale
Copy link

stale bot commented Dec 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This issue has become stale label Dec 31, 2020
@srikanth-t20
Copy link
Author

..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue has become stale
Projects
None yet
Development

No branches or pull requests

1 participant