Allow building with CUDA as the candle backend (#6914)

This commit is contained in:
jh-block
2026-02-03 23:58:02 +01:00
committed by GitHub
parent adc7732482
commit e0a1381e39
3 changed files with 89 additions and 17 deletions
+4
View File
@@ -10,6 +10,10 @@ description.workspace = true
[lints]
workspace = true
[features]
default = []
cuda = ["goose/cuda"]
[dependencies]
goose = { path = "../goose" }
goose-mcp = { path = "../goose-mcp" }
+1
View File
@@ -9,6 +9,7 @@ description.workspace = true
[features]
default = []
cuda = ["candle-core/cuda", "candle-nn/cuda"]
[lints]
workspace = true