Skip to content

Commit c6ad6b5

Browse files
authored
Merge pull request #2771 from lann/fix-llm-type
2 parents dd48400 + 783e7b2 commit c6ad6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/factor-llm/src/spin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl LlmCompute {
108108
state_dir: Option<PathBuf>,
109109
use_gpu: bool,
110110
) -> anyhow::Result<Arc<Mutex<dyn LlmEngine>>> {
111-
let engine = match self {
111+
let engine: Arc<Mutex<dyn LlmEngine>> = match self {
112112
#[cfg(not(feature = "llm"))]
113113
LlmCompute::Spin => {
114114
let _ = (state_dir, use_gpu);

0 commit comments

Comments
 (0)