Skip to content

Commit 30578bf

Browse files
authored
Merge pull request #14 from syheliel/main
fix typo
2 parents 086307c + 319b1b1 commit 30578bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

xtask/src/cast.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ pub(crate) struct CastArgs {
1111
#[clap(short, long)]
1212
target: Option<String>,
1313
/// Target model type.
14+
/// avliable value includes: "f32", "f16", "bf16", "float32", etc.
1415
#[clap(long)]
1516
dt: Option<String>,
1617
}
1718

1819
impl CastArgs {
19-
pub fn invode(self) {
20+
pub fn invoke(self) {
2021
let ty = match self.dt.as_deref() {
2122
Some("f32") | Some("float") | Some("float32") | None => F32,
2223
Some("f16") | Some("half") | Some("float16") => F16,

xtask/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
match Cli::parse().command {
2121
ListTurbo => list_turbo::list_turbo(),
2222
Deploy(deploy) => deploy.deploy(),
23-
Cast(cast) => cast.invode(),
23+
Cast(cast) => cast.invoke(),
2424
Generate(args) => args.run(),
2525
Chat(chat) => chat.run(),
2626
Service(service) => service.run(),

0 commit comments

Comments
 (0)