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

Reading model error std::runtime_error: unexpectedly reached end of file #1596

Closed
dmeleedy opened this issue May 26, 2023 · 3 comments
Closed

Comments

@dmeleedy
Copy link

dmeleedy commented May 26, 2023

Davids-M1-Max-1020 : ./main --model ../llama_files/models/ggml-vic13b-uncensored-q8_0.bin
main: build = 590 (66874d4)
main: seed = 1685068791
llama.cpp: loading model from ../llama_files/models/ggml-vic13b-uncensored-q8_0.bin
libc++abi: terminating due to uncaught exception of type std::runtime_error: unexpectedly reached end of file
zsh: abort ./main --model ../llama_files/models/ggml-vic13b-uncensored-q8_0.bin

To download the model:
https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/tree/main
This model file was working on build = 552 (b5c9295)

I am using git pull origin master
Davids-M1-Max-1021 : uname -a
Darwin Davids-M1-Max 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64
Davids-M1-Max-1024 : python3 --version
Python 3.10.9
Davids-M1-Max-1025 : make --version
GNU Make 3.81
Copyright (C)
Davids-M1-Max-1026 : g++ --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@dmeleedy
Copy link
Author

ah never mind I just found out about this
#1508

@JACKHAHA363
Copy link

Did you manage to solve this? Or just something waiting to be resolved?

@DMMeleedy
Copy link

Did you manage to solve this? Or just something waiting to be resolved?

The author of the ggml-vic13b-uncensored-q8_0.bin model is aware of the issue and is working on a fix.

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

3 participants