Skip to content

Commit 783e7b2

Browse files
committed
Fix LlmCompute::into_engine type inference
Signed-off-by: Lann Martin <[email protected]>
1 parent dd48400 commit 783e7b2

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)