Skip to content

Commit

Permalink
Adjust to latest changes from main
Browse files Browse the repository at this point in the history
  • Loading branch information
LLukas22 committed Jul 7, 2023
1 parent 2a8f62a commit 4ff7f21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion binaries/llm-test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ fn run_inference(
prompt: input.into(),
parameters: &llm::InferenceParameters {
n_threads: model_config.threads,
n_batch: 1,
sampler: Arc::new(DeterministicSampler),
},
play_back_previous_tokens: false,
Expand Down
2 changes: 1 addition & 1 deletion crates/llm-base/src/inference_session.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use ggml::{Buffer, ComputationGraph, Context, Tensor};
use serde::Serialize;
use std::{fmt::Display, sync::Arc};
use std::{cell::RefCell, fmt::Display, sync::Arc};
use thiserror::Error;

#[cfg(feature = "metal")]
Expand Down

0 comments on commit 4ff7f21

Please sign in to comment.