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

metal phi3 --dtype bf16 "Function 'cast_f32_bf16' does not exist #761

Open
jk2K opened this issue Sep 7, 2024 · 1 comment
Open

metal phi3 --dtype bf16 "Function 'cast_f32_bf16' does not exist #761

jk2K opened this issue Sep 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jk2K
Copy link

jk2K commented Sep 7, 2024

Describe the bug

cargo run  --features metal --package mistralrs-server --bin mistralrs-server -- --token-source cache -i plain -m microsoft/Phi-3.5-mini-instruct -a phi3 --dtype bf16

error message

.4800033569336, 64.51000213623047, 64.52999877929688, 64.83999633789063], scaling_type: Su }), max_position_embeddings: 131072, use_flash_attn: false, sliding_window: Some(262144), original_max_position_embeddings: 4096, quantization_config: None }
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 128/128 [00:13<00:00, 13.48it/s]
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 67/67 [00:07<00:00, 9.84it/s]
Error: Metal error Error while loading function: "Function 'cast_f32_bf16' does not exist"

Latest commit or version

5fcc9d6

@jk2K jk2K added the bug Something isn't working label Sep 7, 2024
@jk2K
Copy link
Author

jk2K commented Sep 7, 2024

related to huggingface/candle#2163

@jk2K jk2K changed the title phi3 --dtype bf16 "Function 'cast_f32_bf16' does not exist metal phi3 --dtype bf16 "Function 'cast_f32_bf16' does not exist Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant