Add a cudnn feature to candle-nn/candle-transformers. (#2890)

This commit is contained in:
Laurent Mazare
2025-04-13 17:43:41 +02:00
committed by GitHub
parent 2f9606b187
commit fb660b8d43
4 changed files with 7 additions and 2 deletions

View File

@ -18,7 +18,10 @@ half = { version = "2.3.1", features = ["num-traits"] }
bindgen_cuda = "0.1.1"
anyhow = { version = "1", features = ["backtrace"] }
[dev-dependencies]
anyhow = { version = "1", features = ["backtrace"] }
candle-nn = { path = "../candle-nn", features = ["cuda"] }
[features]
default = []
cudnn = ["candle/cudnn"]