mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 10:26:33 +00:00

* Add a naive conv2d cuda kernel. * Proper conv2d support on the rust side. * Conv1d testing on gpu. * Also use the test on gpus. * Fix the clean-ptx target.
19 lines
344 B
Makefile
19 lines
344 B
Makefile
clean-ptx:
|
|
find target -name "*.ptx" -type f -delete
|
|
echo "" > candle-kernels/src/lib.rs
|
|
touch candle-kernels/build.rs
|
|
touch candle-examples/build.rs
|
|
touch candle-flash-attn/build.rs
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
test:
|
|
cargo test
|
|
|
|
pyo3-test:
|
|
cargo build --profile=release-with-debug --package candle-pyo3
|
|
python3 candle-pyo3/test.py
|
|
|
|
all: test
|