hackhackhack66666 commited on
Commit
b7c7c86
·
verified ·
1 Parent(s): 5b77d1c

Add Blockwise-OAT baseline artifacts (benchmarks/verify_policy_bs1.json)

Browse files
Files changed (1) hide show
  1. benchmarks/verify_policy_bs1.json +73 -0
benchmarks/verify_policy_bs1.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ar_shapes": {
3
+ "action": [
4
+ 1,
5
+ 16,
6
+ 7
7
+ ],
8
+ "action_pred": [
9
+ 1,
10
+ 32,
11
+ 7
12
+ ]
13
+ },
14
+ "batch_size": 1,
15
+ "benchmark": {
16
+ "ar_mean_sec": 0.022294499054551123,
17
+ "blockwise_mean_sec": 0.019297172129154206,
18
+ "prefix_len": 4,
19
+ "speedup": 1.155324671684332,
20
+ "total_tokens": 8
21
+ },
22
+ "blockwise_shapes": {
23
+ "action": [
24
+ 1,
25
+ 16,
26
+ 7
27
+ ],
28
+ "action_pred": [
29
+ 1,
30
+ 32,
31
+ 7
32
+ ],
33
+ "action_tokens": [
34
+ 1,
35
+ 8
36
+ ]
37
+ },
38
+ "checkpoint": "output/baselines/original_oat/hf/policy_ep-0250_sr-0.596.ckpt",
39
+ "checks": {
40
+ "blockwise_numerics_finite": true,
41
+ "blockwise_shapes_match_ar": true,
42
+ "fallback_shapes_match_ar": true,
43
+ "speedup_gt_1": true,
44
+ "tail_param_ratio_ok": true
45
+ },
46
+ "device": "cuda:0",
47
+ "fallback_shapes": {
48
+ "action": [
49
+ 1,
50
+ 16,
51
+ 7
52
+ ],
53
+ "action_pred": [
54
+ 1,
55
+ 32,
56
+ 7
57
+ ]
58
+ },
59
+ "param_counts": {
60
+ "ar_model": 5023488,
61
+ "min_ratio_required": 0.35,
62
+ "tail_decoder": 4525568,
63
+ "tail_to_ar_ratio": 0.9008816185088926
64
+ },
65
+ "passed": true,
66
+ "prefix_len": 4,
67
+ "refine_iters": 1,
68
+ "sim_eval_commands": {
69
+ "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",
70
+ "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"
71
+ },
72
+ "tail_checkpoint": "output/blockwise/original_oat_tail_p4_r1.pt"
73
+ }