@@ -46,29 +46,26 @@ serde_json = "1.0"
46
46
thiserror = " 1.0"
47
47
rand = " 0.9"
48
48
serial_test = " 2.0.0"
49
- cudarc = { version = " 0.13" , features =[" cuda-12020" ]}
50
- intel-mkl-src = { version = " 0.8" }
49
+ cudarc = { version = " 0.13" , features =[" cuda-12020" ], default-features = false }
50
+ intel-mkl-src = { version = " 0.8" }
51
51
candle = { version = " 0.8" , package = " candle-core" }
52
52
candle-nn = { version = " 0.8" , package = " candle-nn" }
53
53
candle-transformers = { version = " 0.8" , package = " candle-transformers" }
54
54
candle-flash-attn = { version = " 0.8" , package = " candle-flash-attn" }
55
55
half = { version = " 2.3.1" , features = [" num-traits" ] }
56
56
57
57
[patch .crates-io ]
58
- cudarc = { git = " https://github.com/Narsil/cudarc" , rev = " 18ae111a4e8779c11377636b9cc3379f686e99c6 " }
58
+ cudarc = { git = " https://github.com/Narsil/cudarc" , rev = " b2d6443329e559e9580204b55ecaf44cd6fb6d90 " }
59
59
candle = { git = " https://github.com/huggingface/candle" , rev = " ec6d7ca7738f4052b6613edc8f4d2bb6866a7539" , package = " candle-core" }
60
60
candle-nn = { git = " https://github.com/huggingface/candle" , rev = " ec6d7ca7738f4052b6613edc8f4d2bb6866a7539" , package = " candle-nn" }
61
61
candle-transformers = { git = " https://github.com/huggingface/candle" , rev = " ec6d7ca7738f4052b6613edc8f4d2bb6866a7539" , package = " candle-transformers" }
62
62
candle-flash-attn = { git = " https://github.com/huggingface/candle" , rev = " ec6d7ca7738f4052b6613edc8f4d2bb6866a7539" , package = " candle-flash-attn" }
63
- # candle = { path = "../candle/candle-core", package = "candle-core" }
64
- # candle-nn = { path = "../candle/candle-nn" }
65
- # candle-flash-attn = { path = "../candle/candle-flash-attn" }
66
63
67
64
[profile .release ]
68
65
debug = 0
69
- # lto = "fat"
66
+ lto = " fat"
70
67
opt-level = 3
71
- # codegen-units = 1
68
+ codegen-units = 1
72
69
strip = " symbols"
73
70
panic = " abort"
74
71
0 commit comments