Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading models issue? #71

Open
SauerCarey opened this issue May 23, 2023 · 0 comments
Open

Loading models issue? #71

SauerCarey opened this issue May 23, 2023 · 0 comments

Comments

@SauerCarey
Copy link

I'm not really sure what is going on here. the interface opens up fine, I have the models in the folder, I go to the settings and they appear, i go back to chat and select one, and it tries to open...

Loading model please wait...

and the CLI shows the following...

'NoneType' object has no attribute 'path'
Exception in thread Thread-43 ():
Traceback (most recent call last):
File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 188, in load_model
self.process = Process(self.command, timeout=10000)
File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 177, in command
f"{self.model.path}",
AttributeError: 'NoneType' object has no attribute 'path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\carey\pyver\py3_10_9\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\carey\pyver\py3_10_9\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\utils\model_selector.py", line 91, in
assistant.load_model(),
File "D:\AI\Alpaca-Turbox2\Alpaca-Turbo_0.7\alpaca_turbo.py", line 210, in load_model
return f"Failed loading {self.model.path}"
AttributeError: 'NoneType' object has no attribute 'path'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant