/// Human readable model name, e.g. "Meta Llama 3.1 8B Instruct"
/// Human readable model name, e.g. "Meta Llama 3.1 8B Instruct"
...
@@ -352,7 +357,9 @@ impl ModelDeploymentCard {
...
@@ -352,7 +357,9 @@ impl ModelDeploymentCard {
.with_context(||p.display().to_string())
.with_context(||p.display().to_string())
}
}
None=>{
None=>{
anyhow::bail!("Blank ModelDeploymentCard does not have a tokenizer");
anyhow::bail!(
"Blank ModelDeploymentCard does not have a tokenizer. Is this a mistral model? If so, the `--use-<framework>-tokenizer` flag in the engine command is required."
);
}
}
}
}
}
}
...
@@ -497,8 +504,23 @@ impl ModelDeploymentCard {
...
@@ -497,8 +504,23 @@ impl ModelDeploymentCard {
// If neither of those are present let the engine default it
// If neither of those are present let the engine default it