From e64f8c271e448ec85d32979a41a25249edde37fc Mon Sep 17 00:00:00 2001 From: EricLBuehler Date: Tue, 12 Mar 2024 11:24:17 -0400 Subject: [PATCH] Remove prints --- candle-nn/src/layer_norm.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/candle-nn/src/layer_norm.rs b/candle-nn/src/layer_norm.rs index 8a62747e7c..667d442bbe 100644 --- a/candle-nn/src/layer_norm.rs +++ b/candle-nn/src/layer_norm.rs @@ -137,17 +137,11 @@ impl LayerNorm { //#[cfg(not(feature = "cuda"))] impl crate::Module for LayerNorm { fn forward(&self, x: &Tensor) -> Result { - dbg!(self.weight.mean_all()); let start = SystemTime::now() .duration_since(UNIX_EPOCH) .expect("Time travel has occurred!") .as_micros(); let res = self.forward_slow(x); - let end = SystemTime::now() - .duration_since(UNIX_EPOCH) - .expect("Time travel has occurred!") - .as_micros(); - println!("{}us", end - start); res } }