candle/candle-pyo3
Laurent Mazare a3f97c143d
Bump the crate version + update CHANGELOG. (#628)
2023-08-27 18:17:11 +01:00
..
src Fixes for clippy 1.72. (#587) 2023-08-24 17:46:17 +01:00
Cargo.toml Bump the crate version + update CHANGELOG. (#628) 2023-08-27 18:17:11 +01:00
README.md Fix the pyo3 build for macos. (#324) 2023-08-05 14:53:57 +01:00
build.rs Fix the pyo3 build for macos. (#324) 2023-08-05 14:53:57 +01:00
test.py Pyo3 dtype (#327) 2023-08-06 10:17:43 +01:00

README.md

From the top level directory run the following for linux.

cargo build --profile=release-with-debug --package candle-pyo3 && cp -f ./target/release-with-debug/libcandle.so candle.so
PYTHONPATH=. python3 candle-pyo3/test.py
```bash

  Or for macOS users:
```bash
cargo build --profile=release-with-debug --package candle-pyo3 && cp -f ./target/release-with-debug/libcandle.dylib candle.so
PYTHONPATH=. python3 candle-pyo3/test.py