get rids of log in milli and add logs for the bucket sort

This commit is contained in:
Tamo 2024-02-06 10:49:23 +01:00 committed by Louis Dureuil
parent f158e96fe7
commit e773dfa9ba
No known key found for this signature in database
14 changed files with 24 additions and 18 deletions

View file

@ -73,7 +73,7 @@ impl Embedder {
let device = match candle_core::Device::cuda_if_available(0) {
Ok(device) => device,
Err(error) => {
log::warn!("could not initialize CUDA device for Hugging Face embedder, defaulting to CPU: {}", error);
tracing::warn!("could not initialize CUDA device for Hugging Face embedder, defaulting to CPU: {}", error);
candle_core::Device::Cpu
}
};