Skip to content

Commit

Permalink
Correct typo in cuda device name for rust chat model (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
malramsay64 authored Nov 13, 2023
1 parent c2082d8 commit 26fd019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/chat_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl ChatModule {

// 1. Get device name and id
let device_type = match device_name {
"cude" => 2,
"cuda" => 2,
"opencl" => 4,
"vulkan" => 7,
"metal" => 8,
Expand Down

0 comments on commit 26fd019

Please sign in to comment.