feat: edit validated per-model engine start profiles (#1070)
This commit is contained in:
@ -52,6 +52,7 @@ fn fixture(mode: &str, ready_timeout_secs: u64) -> Fixture {
|
||||
|
||||
fn profile(f: &Fixture) -> ProfileSpec {
|
||||
ProfileSpec {
|
||||
start_parameters: Default::default(),
|
||||
model_alias: "testmodell".to_string(),
|
||||
model_path: f.model.clone(),
|
||||
gpus: vec![0, 1],
|
||||
|
||||
@ -63,6 +63,7 @@ fn fixture(mode: &str, ready_timeout_secs: u64) -> Fixture {
|
||||
|
||||
fn profile(f: &Fixture) -> ProfileSpec {
|
||||
ProfileSpec {
|
||||
start_parameters: Default::default(),
|
||||
model_alias: "glm".to_string(),
|
||||
model_path: f.maya_config.clone(),
|
||||
gpus: vec![1],
|
||||
|
||||
@ -58,6 +58,7 @@ fn fixture(mode: &str, ready_timeout_secs: u64) -> Fixture {
|
||||
|
||||
fn profile(alias: &str, tag: &str) -> ProfileSpec {
|
||||
ProfileSpec {
|
||||
start_parameters: Default::default(),
|
||||
model_alias: alias.to_string(),
|
||||
model_path: PathBuf::from(tag),
|
||||
gpus: vec![0],
|
||||
|
||||
Reference in New Issue
Block a user