CUDA error: device-side assert triggered
When I run the GPU (google colab) I always getRuntimeError: CUDA error: device-side assert triggered, with huggingface. When I convert to CPU, it works fine, any solution?
2020-10-07T18:48:14Z
its solved, when I corrected the number of label classes, closing
2021-04-24T15:57:34Z
Could you elaborate on what you did when you say “corrected the number of label classes”? As in which at step of the code did you have to change it? What was the incorrect number and what was the correct number?
2021-06-04T08:55:47Z
Label classes in my dataset between 77-112. It solved this issue when start by 0 and set between 0-46.I use this code:data["label"] = data["label"].apply(lambda x: x-77)