Hi everyone! I am getting this error when I am trying to train a BERT model. It takes in 60 or something examples and then this error pops up. I made sure my labels are fine. There are no negative labels.
RuntimeError                              Traceback (most recent call last)
<ipython-input-34-87f0e3931c4a> in <module>
     24 
     25         loss = outputs[0]
---> 26         train_loss_set.append(loss.item())
     27         loss_train_total += loss.item()
     28         loss.backward()

RuntimeError: CUDA error: device-side assert triggered