mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
misc(ci): detect dev profile for debug
This commit is contained in:
parent
d110ab2aa5
commit
75b9d82555
@ -212,6 +212,7 @@ fn main() {
|
||||
let build_profile = env::var("PROFILE").unwrap();
|
||||
let (is_debug, opt_level) = match build_profile.as_ref() {
|
||||
"debug" => (true, "0"),
|
||||
"dev" => (true, "0"),
|
||||
_ => (false, "3"),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user