File size: 1,733 Bytes
d1076d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
  "ar_shapes": {
    "action": [
      8,
      16,
      7
    ],
    "action_pred": [
      8,
      32,
      7
    ]
  },
  "batch_size": 8,
  "benchmark": {
    "ar_mean_sec": 0.03135459750890732,
    "blockwise_mean_sec": 0.026641907282173635,
    "prefix_len": 4,
    "speedup": 1.1768901218978038,
    "total_tokens": 8
  },
  "blockwise_shapes": {
    "action": [
      8,
      16,
      7
    ],
    "action_pred": [
      8,
      32,
      7
    ],
    "action_tokens": [
      8,
      8
    ]
  },
  "checkpoint": "output/baselines/original_oat/hf/policy_ep-0250_sr-0.596.ckpt",
  "checks": {
    "blockwise_numerics_finite": true,
    "blockwise_shapes_match_ar": true,
    "fallback_shapes_match_ar": true,
    "speedup_gt_1": true,
    "tail_param_ratio_ok": true
  },
  "device": "cuda:0",
  "fallback_shapes": {
    "action": [
      8,
      16,
      7
    ],
    "action_pred": [
      8,
      32,
      7
    ]
  },
  "param_counts": {
    "ar_model": 5023488,
    "min_ratio_required": 0.35,
    "tail_decoder": 4525568,
    "tail_to_ar_ratio": 0.9008816185088926
  },
  "passed": true,
  "prefix_len": 4,
  "refine_iters": 1,
  "sim_eval_commands": {
    "ar": "python scripts/eval_policy_sim.py --checkpoint output/baselines/original_oat/hf/policy_ep-0250_sr-0.596.ckpt --output_dir output/eval_blockwise_verify/ar --n-test-per-task 5 --overwrite",
    "blockwise": "python scripts/eval_policy_sim.py --checkpoint output/baselines/original_oat/hf/policy_ep-0250_sr-0.596.ckpt --output_dir output/eval_blockwise_verify/blockwise --n-test-per-task 5 --overwrite --use-blockwise --blockwise-prefix-len 4 --blockwise-refine-iters 1"
  },
  "tail_checkpoint": "output/blockwise/original_oat_tail_p4_r1.pt"
}