I've used the text_prompt function from the example code, which works fine when the DEVICE is CPU. But when I replace DEVICE with CUDA (as shown below), the program returns three different exception cases:
Return 0 and the console is blank. No result is saved.
I've used the text_prompt function from the example code, which works fine when the DEVICE is CPU. But when I replace DEVICE with CUDA (as shown below), the program returns three different exception cases:
python: ../nptl/pthread_mutex_lock.c:428: __pthread_mutex_lock_full: Assertion e != ESRCH || !robust failed.