candle
candle copied to clipboard
Mistral quantized example: "error: library kind `framework` is only supported on Apple targets"
trafficstars
C:\Users\igumn\candle\candle-examples\examples\mistral>cargo run --example mistral --features accelerate --release -- --prompt "Here is a sample quick sort implementation in rust " --quantized -n 400
Compiling cc v1.0.90
Compiling serde v1.0.197
Compiling getrandom v0.2.12
Compiling rand_core v0.6.4
Compiling syn v1.0.109
Compiling rand_chacha v0.3.1
Compiling winapi v0.3.9
Compiling accelerate-src v0.3.2
error: library kind `framework` is only supported on Apple targets
error: could not compile `accelerate-src` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
The --features accelerate flag is only supported on apple hardware.
Thank your for reply It is help. I removed this parameter.
Could I ask you to improve error message in this case? For example: "You are try to use "--features accelerate". It is only for Apple's devices. You can try to remove them for solving this issue."