diff options
Diffstat (limited to 'candle-examples/examples/ggml/main.rs')
-rw-r--r-- | candle-examples/examples/ggml/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/candle-examples/examples/ggml/main.rs b/candle-examples/examples/ggml/main.rs index 78eb20dc..9e3e1ba6 100644 --- a/candle-examples/examples/ggml/main.rs +++ b/candle-examples/examples/ggml/main.rs @@ -3,7 +3,6 @@ use clap::Parser; use std::fs::File; use candle::quantized::ggml_file::Content; -use candle::{DType, Device}; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] @@ -18,7 +17,7 @@ fn main() -> Result<()> { let mut file = File::open(args.model)?; let start = std::time::Instant::now(); - let model = Content::read(&mut file, DType::F16, &Device::Cpu)?; + let model = Content::read(&mut file)?; println!( "Loaded {:?} tensors in {:?}", |