localGPT
localGPT copied to clipboard
RunLocalGPT-> RecursionError: maximum recursion depth exceeded while getting the str of an object
Windows 10 RTX3070 Cuda enabled and compiled using pytorch (100 lines of this) return str(self._unk_token) ^^^^^^^^^^^^^^^^^^^^
================Ends with:====================
RecursionError: maximum recursion depth exceeded while getting the str of an object 2023-06-10 17:32:35,211 - INFO - duckdb.py:414 - Persisting DB to disk, putting it in the save folder: E:\GPT\localGPT_CUDA_
What model is selected in your run_localGPT.py? If the following was seletected model_id = "TheBloke/vicuna-7B-1.1-HF" change it to one of the following for now: model_id = "TheBloke/Wizard-Vicuna-7B-Uncensored-HF" model_id = "TheBloke/guanaco-7B-HF"
For me , reinstalling the requirements worked. see if you're in the correct virtual env too