mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Add missing cuda prefix
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
parent
4841f71a0e
commit
b6cfa0fbc0
@ -39,7 +39,8 @@ fn main() {
|
||||
if version.len() > 2 {
|
||||
version.pop();
|
||||
}
|
||||
pkg_config::Config::new().probe(&version.join(".")).unwrap();
|
||||
let cuda_version = format!("cuda-{}", version.join("."));
|
||||
pkg_config::Config::new().probe(&cuda_version).unwrap();
|
||||
}
|
||||
pkg_config::Config::new().probe("llama").unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user