diff --git a/candle-core/src/tensor.rs b/candle-core/src/tensor.rs index a2c3f4286c..7dd24abf9b 100644 --- a/candle-core/src/tensor.rs +++ b/candle-core/src/tensor.rs @@ -2025,7 +2025,11 @@ impl Tensor { } (Storage::Cpu(storage), Device::Cpu) => Storage::Cpu(storage.clone()), _ => { - bail!("not implemented yet") + bail!( + "not implemented yet, self.device: {:?}, device: {:?}", + self.device(), + device + ) } }; let op = BackpropOp::new1(self, Op::ToDevice);