Skip to content

Commit

Permalink
resolve bug issues with cuda and metal tests (#50)
Browse files Browse the repository at this point in the history
* first commit

* build

* fmt

* resolve bug with cuda and metal tests
  • Loading branch information
jorgeantonio21 authored Apr 23, 2024
1 parent 2740470 commit 1c3eb39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions atoma-inference/src/models/candle/falcon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ mod tests {
repeat_penalty,
repeat_last_n,
max_tokens,
top_k,
top_p,
Some(top_k),
Some(top_p),
);
let output = model.run(input).expect("Failed to run inference");

Expand Down Expand Up @@ -355,8 +355,8 @@ mod tests {
repeat_penalty,
repeat_last_n,
max_tokens,
top_k,
top_p,
Some(top_k),
Some(top_p),
);
let output = model.run(input).expect("Failed to run inference");
println!("{output}");
Expand Down
8 changes: 4 additions & 4 deletions atoma-inference/src/models/candle/mistral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ mod tests {
repeat_penalty,
repeat_last_n,
max_tokens,
top_k,
top_p,
Some(top_k),
Some(top_p),
);
let output = model.run(input).expect("Failed to run inference");

Expand Down Expand Up @@ -351,8 +351,8 @@ mod tests {
repeat_penalty,
repeat_last_n,
max_tokens,
top_k,
top_p,
Some(top_k),
Some(top_p),
);
let output = model.run(input).expect("Failed to run inference");

Expand Down

0 comments on commit 1c3eb39

Please sign in to comment.