-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[QUESTION] Getting tensor error when running phi-2 on Mac metal: Error: cannot find tensor transformer.embd.wte.weight #1570
Comments
This was caused by a recent change in the naming conventions in the phi-2 tensors and should be fixed in #1572 . |
Error seems to be fixed for me 👍 |
confirmed, it was fixed after #1572 |
Does this mean the candle library won't be updating to the new naming conventions? I was trying to run TheBloke's phi-2.Q4_K_S.gguf working, but I'm getting this same error. |
I think supporting new naming conventions is a very reasonable feature. Want to make an issue for that specifically?😊 |
@ivarflakstad I would love to but sadly I don't think I understand the file format to be able to open a coherent issue for it. Checking the various |
rustc version: rustc 1.75.0
candle repo current commit: 4191518
operative system version: 14.1.2 (23B92)
computer version: Mac Pro m1
command executed:
cargo run --example phi --release -- --model 2 \ --prompt "A skier slides down a frictionless slope of height 40m and length 80m. What's the skier speed at the bottom?"
The text was updated successfully, but these errors were encountered: