You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully install the dependencies, but when i try to Run Locally, by running scripts/local/run-dev. There is error below:
Found model file at llm/local/ggml-gpt4all-j-v1.3-groovy.bin
Invalid model file
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/demo/miniconda3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/demo/learn/GPT/rag-stack/server/server/main.py", line 38, in <module>
llm = get_selected_llm()
File "/home/demo/learn/GPT/rag-stack/server/llm/llm.py", line 24, in get_selected_llm
return Gpt4AllLLM()
File "/home/demo/learn/GPT/rag-stack/server/llm/llm.py", line 40, in __init__
self.llm = GPT4All(
File "/home/demo/.cache/pypoetry/virtualenvs/rag-stack-5gekgb59-py3.10/lib/python3.10/site-packages/langchain/load/serializable.py", line 74, in __init__
super().__init__(**kwargs)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
__root__
Unable to instantiate model (type=value_error)
Stopping Docker containers...
Hi @abdshomad, downgrading gpt4all to 1.0.0 makes the file valid.
I fixec the gpt4all and the torch versions in the server/pyproject.toml to gpt4all = "1.0.0"torch = ">=2.0.0, !=2.0.1, !=2.1.0" and rerunning in the server folder:
I have successfully install the dependencies, but when i try to Run Locally, by running scripts/local/run-dev. There is error below:
Further information:
~ cat /etc/os-release
~ python --version
Python 3.10.9
~ nvidia-smi
~ pip list
Now trying to check model compatibility, environment settings, dependency versions
The text was updated successfully, but these errors were encountered: