diff --git a/candle-examples/build.rs b/candle-examples/build.rs index ba40aeb4..33497714 100644 --- a/candle-examples/build.rs +++ b/candle-examples/build.rs @@ -27,11 +27,5 @@ fn main() -> Result<()> { bindings.write(kdir.rust_target).unwrap() } } - #[cfg(not(feature = "cuda"))] - { - for kdir in KERNEL_DIRS.iter() { - let _file = std::fs::File::create(kdir.rust_target)?; - } - } Ok(()) } diff --git a/candle-examples/examples/phi/main.rs b/candle-examples/examples/phi/main.rs index c529867b..c5c7de28 100644 --- a/candle-examples/examples/phi/main.rs +++ b/candle-examples/examples/phi/main.rs @@ -169,7 +169,7 @@ struct Args { #[arg(long)] model_id: Option, - #[arg(long, default_value = "1.5")] + #[arg(long, default_value = "2")] model: WhichModel, #[arg(long)] @@ -247,9 +247,8 @@ fn main() -> Result<()> { match args.model { WhichModel::V1 => "refs/pr/2".to_string(), WhichModel::V1_5 => "refs/pr/18".to_string(), - WhichModel::V2 | WhichModel::PuffinPhiV2 | WhichModel::PhiHermes => { - "main".to_string() - } + WhichModel::V2 => "834565c23f9b28b96ccbeabe614dd906b6db551a".to_string(), + WhichModel::PuffinPhiV2 | WhichModel::PhiHermes => "main".to_string(), } } }