mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
Recommend using maturin. (#717)
This commit is contained in:
12
Makefile
12
Makefile
@ -1,14 +1,4 @@
|
||||
pyo3-test:
|
||||
cargo build --profile=release-with-debug --package candle-pyo3
|
||||
cp -f ./target/release-with-debug/libcandle.so candle.so
|
||||
PYTHONPATH=.:$PYTHONPATH python3 candle-pyo3/test.py
|
||||
|
||||
pyo3-test-macos:
|
||||
cargo build --profile=release-with-debug --package candle-pyo3
|
||||
cp -f ./target/release-with-debug/libcandle.dylib candle.so
|
||||
PYTHONPATH=.:$PYTHONPATH python3 candle-pyo3/test.py
|
||||
|
||||
.PHONY: pyo3-test pyo3-test-macos clean-ptx clean test
|
||||
.PHONY: clean-ptx clean test
|
||||
|
||||
clean-ptx:
|
||||
find target -name "*.ptx" -type f -delete
|
||||
|
Reference in New Issue
Block a user