mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 02:38:10 +00:00
Support the Accelerate BLAS on macOS. (#325)
* Add the accelerate feature. * Ffi tweaks.
This commit is contained in:
@ -9,6 +9,9 @@
|
||||
// In order to convert the llama weights to a .npz file, run:
|
||||
// python examples/llama/convert_checkpoint.py ..../LLaMA/7B/consolidated.00.pth
|
||||
|
||||
#[cfg(feature = "accelerate")]
|
||||
extern crate accelerate_src;
|
||||
|
||||
#[cfg(feature = "mkl")]
|
||||
extern crate intel_mkl_src;
|
||||
|
||||
|
Reference in New Issue
Block a user