Couldn't load model: [[WinError 3] The system cannot find the path specified:
divyanshverma opened this issue · 2 comments
Expected Behavior
After a model is downloaded , it should be installed successfully.
Current Behavior
After the model is downloaded, when I try to set it but getting the below error:
Couldn't load model: [[WinError 3] The system cannot find the path specified: 'C:\Users\Divy\WebstormProjects\lollms2\models\gptq\airoboros-13B-1.1-GPTQ']
Traceback (most recent call last):
File "C:\Users\Divy\WebstormProjects\lollms-webui\lollms-webui\app.py", line 619, in update_setting
self.model = self.binding.build_model()
File "C:\Users\Divy\WebstormProjects\lollms2\bindings_zoo\gptq_init_.py", line 115, in build_model
model_base_name = [f for f in model_path.iterdir() if f.suffix==".safetensors"][0].stem
File "C:\Users\Divy\WebstormProjects\lollms2\bindings_zoo\gptq_init_.py", line 115, in
model_base_name = [f for f in model_path.iterdir() if f.suffix==".safetensors"][0].stem
File "C:\Users\Divy\WebstormProjects\lollms-webui\installer_files\lollms_env\lib\pathlib.py", line 1017, in iterdir
for name in self._accessor.listdir(self):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\Divy\WebstormProjects\lollms2\models\gptq\airoboros-13B-1.1-GPTQ'
Couldn't load model: [[WinError 3] The system cannot find the path specified: 'C:\Users\Divy\WebstormProjects\lollms2\models\gptq\chronos-hermes-13B-GPTQ']
Traceback (most recent call last):
File "C:\Users\Divy\WebstormProjects\lollms-webui\lollms-webui\app.py", line 619, in update_setting
self.model = self.binding.build_model()
File "C:\Users\Divy\WebstormProjects\lollms2\bindings_zoo\gptq_init_.py", line 115, in build_model
model_base_name = [f for f in model_path.iterdir() if f.suffix==".safetensors"][0].stem
File "C:\Users\Divy\WebstormProjects\lollms2\bindings_zoo\gptq_init_.py", line 115, in
model_base_name = [f for f in model_path.iterdir() if f.suffix==".safetensors"][0].stem
File "C:\Users\Divy\WebstormProjects\lollms-webui\installer_files\lollms_env\lib\pathlib.py", line 1017, in iterdir
for name in self._accessor.listdir(self):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\Divy\WebstormProjects\lollms2\models\gptq\chronos-hermes-13B-GPTQ'
Steps to Reproduce
Please provide detailed steps to reproduce the issue.
- Select any Binding and save the changes.
- Go the model binding and install a model.
- After its installed, select it .
- Observe the error in console.
Possible Solution
If you have any suggestions on how to fix the issue, please describe them here.
Context
Environment :
WIndows 11 Pro
Python: 3.11
Conda
Screenshots
Hi, I have this issue. What caused it?
So I was missing this [auto_gptq-0.3.0+cu117-cp310-cp310-linux_x86_64.whl] file for my setup based on python 3.11
After I installed this, all works nows.