Python 3.13.5 PyTorch 2.10.0+cpu device=cpu greedy ('A', 'X') p=0.240000 logp=-1.427116 beam2 ('B', 'W') p=0.297500 logp=-1.212341 pruning counterexample: beam2=.153; beam3=.2 HF lambda=0: short=-5.000000 long=-9.000000 HF lambda=1: short=-1.000000 long=-0.750000 HF lambda=-1: short=-25.000000 long=-108.000000 GNMT alpha=.6: -3.680110 -4.817968 stop example: -1.0 -0.4 worst=-.8 future=-.6 EOS pool [(('EOS',), -0.916290731874155, True), (('A', 'B'), -1.203972804325936, False)] length cap [(('A', 'B'), -1.203972804325936, False), (('A', 'EOS'), -1.203972804325936, True)] flat [[3, 0], [2, 1]] parents [[1, 0], [0, 0]] tokens [[0, 0], [2, 1]] cache [[20, 21], [10, 11], [30, 31], [30, 31]] bigram banned token ids: [2] stable log_softmax [[-1.3132616875182228, -0.31326168751822286], [-1.3132616875182228, -0.31326168751822286]] KV cache ideal bytes 536870912 2147483648 ALL ASSERTIONS PASSED