Skip to content

Commit 88e0b82

Browse files
committed
跑通单轮推理
1 parent 4ac05d7 commit 88e0b82

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

models/minicpm3/common/src/compute.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,10 @@ where
191191
// norm
192192
let w = self.weights.attn_norm(iblk, queue);
193193
self.rms_norm(&mut x1, &x, &w, workspace, queue_alloc)?;
194-
194+
// if iblk==1{
195+
// Ops::debug(&x1, queue);
196+
// todo!();
197+
// }
195198
drop(w);
196199
{
197200
let w = self.weights.attn_qa(iblk, queue).transpose(&[1, 0]);

0 commit comments

Comments
 (0)