whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

hparams = checkpoint["dims"] / KeyError: 'dims'

Open jgperrin opened this issue 1 year ago • 8 comments

Hi there,

I must be missing something obvious...

Running:

python3 convert-pt-to-ggml.py ./llama-2-7b-chat/consolidated.00.pth ../whisper .

Getting:

Traceback (most recent call last):
  File "/Users/jgp/GitHub/llama-test/convert-pt-to-ggml.py", line 210, in <module>
    hparams = checkpoint["dims"]
              ~~~~~~~~~~^^^^^^^^
KeyError: 'dims'

jgperrin avatar Feb 13 '24 13:02 jgperrin

I had the same issue running Python3.10 ( conda 24.1.2 ).

klaygomes avatar Mar 03 '24 17:03 klaygomes

same issue. @jgperrin have you solved it?

HalFTeen avatar Mar 13 '24 07:03 HalFTeen

Same issue

slendidev avatar May 13 '24 22:05 slendidev

I got same issue. Any update?

ntvuongg avatar Jul 28 '24 09:07 ntvuongg