Skip to content

invalid model file './models/llama-13b-4bit.pt' (bad magic) #81

Closed as not planned

Description

@acheong08

Downloaded from

magnet:?xt=urn:btih:36945b5958b907b3ab69e963ba0de1abdf48c16c&dn=LLaMA-HFv2-4bit&tr=http%3a%2f%2fbt1.archive.org%3a6969%2fannounce&tr=http%3a%2f%2fbt2.archive.org%3a6969%2fannounce

Activity

  1. thement commented on Mar 13, 2023

    @thement
    Contributor

    Downloaded from

    magnet:?xt=urn:btih:36945b5958b907b3ab69e963ba0de1abdf48c16c&dn=LLaMA-HFv2-4bit&tr=http%3a%2f%2fbt1.archive.org%3a6969%2fannounce&tr=http%3a%2f%2fbt2.archive.org%3a6969%2fannounce

    Those are weights for torch library. Llama.cpp uses different format and afaik it is not loadable yet.

  2. gjmulder commented on Mar 13, 2023

    @gjmulder
    Contributor

    You need to run python3 convert-pth-to-ggml.py and quantize on the torrent *.pth files to convert them into the correct format as per the instructions in the README.md

  3. acheong08 commented on Mar 13, 2023

    @acheong08
    Author

    I just downloaded the original files and quantized them. Worked well

  4. added a commit that references this issue on Apr 6, 2026
  5. 50 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    modelModel specific

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions