Skip to content

Commit

Permalink
fix: GTE model
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Nov 30, 2024
1 parent 9cc25ab commit d5430f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backends/candle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,10 @@ impl CandleBackend {
{
tracing::info!("Starting GTE model on {:?}", device);
Ok(Box::new(GTEModel::load(vb, &config, model_type).s()?))
} else {
tracing::info!("Starting FlashGTE model on {:?}", device);
Ok(Box::new(FlashGTEModel::load(vb, &config, model_type).s()?))
}
tracing::info!("Starting FlashGTE model on {:?}", device);
Ok(Box::new(FlashGTEModel::load(vb, &config, model_type).s()?))
}
#[cfg(feature = "cuda")]
(Config::Qwen2(config), Device::Cuda(_)) => {
Expand Down

0 comments on commit d5430f5

Please sign in to comment.