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

Please, add possibility to convert your model to ggml. #2

Open
JohnClaw opened this issue Aug 13, 2023 · 2 comments
Open

Please, add possibility to convert your model to ggml. #2

JohnClaw opened this issue Aug 13, 2023 · 2 comments

Comments

@JohnClaw
Copy link

I tried to convert your model to ggml and got this error:
C:\kcp>python convert.py ga7/
Loading model file ga7\pytorch_model.bin
Traceback (most recent call last):
File "C:\kcp\convert.py", line 1325, in
main()
File "C:\kcp\convert.py", line 1305, in main
model_plus = load_some_model(args.model)
File "C:\kcp\convert.py", line 1220, in load_some_model
models_plus.append(lazy_load_file(path))
File "C:\kcp\convert.py", line 1011, in lazy_load_file
return lazy_load_torch_file(fp, path)
File "C:\kcp\convert.py", line 882, in lazy_load_torch_file
model = unpickler.load()
File "C:\kcp\convert.py", line 871, in find_class
return self.CLASSES[(module, name)]
KeyError: ('torch', 'ByteStorage')

@JohnClaw JohnClaw changed the title Please, add support for converting your model to ggml. Please, add possibility to convert your model to ggml. Aug 13, 2023
@yanghaojin
Copy link
Contributor

We will provide it soon.

@JohnClaw
Copy link
Author

We will provide it soon.

Thank you very much.

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

2 participants