Skip to content

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

@JohnClaw

Description

@JohnClaw

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions