AI troubleshooting

"Failed to load PyTorch native library" while trying the AI chat

If you encounter this error, download the latest Visual C++ redistributable from Microsoft. This installation is only required for AI features in JabRef, all other features can work without it. Also, if multiple installations of CUDA are installed, JabRef's Version needs to be added to the PATH first. For example, on Windows this would be adding C:\Users\USER\.djl.ai\pytorch\CUDA-VERSION to the Environment Variables. See how to edit environment variables on Windows 10 or 11.

If you still have issues, the DJL documentation might be of help.

JabRef closed or crashed in the middle of downloading the embedding model

Do not worry! You simply need to delete the embedding model cache.

The name of the folder is .djl.ai, and it is located in your home directory.

Last updated