How to enable simd in candle #1739
-
I'm working on a project in which I am focusing on CPU inference. I was wondering how I can enable simd for the candle crate. Is this something I would need to do by building from source, or is there some other method in which I can pass the rustflags through my cargo.toml to the candle-core crate? For example when I compile the mistral example and then run it, it shows that I do not have simd128 enabled
Some obligatory system info
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
simd128
is the name for wasm simd so it's expected not to have it on your platform. Theavx: true
in the output shows that simd support is actually enabled.