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
6aadb798bb
commit
dbe80ea323
@ -212,6 +212,7 @@ fn main() {
|
|||||||
let build_profile = env::var("PROFILE").unwrap();
|
let build_profile = env::var("PROFILE").unwrap();
|
||||||
let (is_debug, opt_level) = match build_profile.as_ref() {
|
let (is_debug, opt_level) = match build_profile.as_ref() {
|
||||||
"debug" => (true, "0"),
|
"debug" => (true, "0"),
|
||||||
|
"dev" => (true, "0"),
|
||||||
_ => (false, "3"),
|
_ => (false, "3"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user