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

invalid_type #1

Open
remixer-dec opened this issue Sep 12, 2023 · 0 comments
Open

invalid_type #1

remixer-dec opened this issue Sep 12, 2023 · 0 comments

Comments

@remixer-dec
Copy link

remixer-dec commented Sep 12, 2023

Hi! Thanks for making this library!
I tried two models with it, phind-codellama-34b-v2.Q4_K_M.gguf worked fine, but I got an error with another one:

 error: ZodError: [
    {
      "code": "invalid_type",
      "expected": "number",
      "received": "undefined",
      "path": [
        "general",
        "quantization_version"
      ],
      "message": "Required"
    }
  ]

model: orca-mini-v2_7b.ggmlv3.q4_0.bin
converted to GGUF with https://github.com/ggerganov/llama.cpp/blob/master/convert-llama-ggml-to-gguf.py
it was converted before this commit ggerganov/llama.cpp@ea2c85d

P.S. Do you have any plans on providing direct layer/weight data access (R/W?) Or is this library only for metadata?

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

No branches or pull requests

1 participant