yamahei21 commited on
Commit
dc8d51e
·
verified ·
1 Parent(s): e5ee420

Add cpu-tuning lane

Browse files
kit_manifest.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "built_from_commit": "39473ed570f7f61df1a03f30f1125d35a264277f",
3
  "files": {
4
  "scripts/rht_int4_convert.py": "231093f61c11c80da4e07b6ae527ac5424bb97fe5b8c31150e8c46d57c575512",
5
  "scripts/rewrite_lalamo_hybrid_spec.py": "154564c88391f81b5c24f64125d99abc15d81bd082a8264e36d43a00d4c47a04",
@@ -27,7 +27,7 @@
27
  "scripts/check_docs.py": "e867ccced2e240fadd9a467dcca018e0d668c5e92ddccaeb4f9f936252f7883d",
28
  "scripts/tiny_sharding_probe.py": "29eb58f2689242b919616f6aab6ff753e0de031b16371137975b4d645e836fae",
29
  "scripts/audit_public_corpus.py": "84f1ec805a74004e71f63a70a8ed19967cb3fad9966f254798e655ab95e53ab0",
30
- "scripts/build_kit.py": "ff1f2a2416d10a567130ef23371ecc989691671e0e95cc88b3a7a381c25a7cd1",
31
  "scripts/bootstrap_kaggle.py": "1633e3edbb80976c337444e3e4544e2b5210b2d8d1821e3a2717c1099c00843e",
32
  "data/calibration_en_wikitext2_dedup.txt": "18a79f4f938cc25747a90a12b120c7131e7f4ac55b58dfc691795ea61d4b5e9a",
33
  "data/calibration_ja_wikipedia_dedup.txt": "b45e3f3f00f2137be280a75c1fa9c9883a7e69d289257c4388fc701f33fee0d1",
@@ -46,6 +46,7 @@
46
  "lanes/group-size-ablation-08b.json": "e25cbfd99a0d95bb3eac1ef708d46478db92748018b4129e602c54a4a246164b",
47
  "lanes/bit-alloc-ablation-08b.json": "f6ade9635707f257da828b8fbda324671f8605010639c0e4ebf55a72bc108769",
48
  "lanes/bits-down-out-6.json": "8c37658ad99820640d638a266db977d799e6241233901f0a2fb632052388e15f",
 
49
  "lanes/robustness-08b-shard1of3.json": "11bd73ddfb110c60420546e1c6f47d777ce6d8c321cf31ce5003d15c96743b9b",
50
  "lanes/robustness-08b-shard2of3.json": "3196a32cf56eb1e3792a4f15a29effa561ff0472d82282f5e98ad8e283249935",
51
  "lanes/robustness-08b-shard3of3.json": "3f6928c34d3145d7d17eda991e6dede3695a0e9b723fbf4c068a6c07bc9cfd17",
 
1
  {
2
+ "built_from_commit": "117d2320280d876e9d8b9d58023422ce9bbabd27",
3
  "files": {
4
  "scripts/rht_int4_convert.py": "231093f61c11c80da4e07b6ae527ac5424bb97fe5b8c31150e8c46d57c575512",
5
  "scripts/rewrite_lalamo_hybrid_spec.py": "154564c88391f81b5c24f64125d99abc15d81bd082a8264e36d43a00d4c47a04",
 
27
  "scripts/check_docs.py": "e867ccced2e240fadd9a467dcca018e0d668c5e92ddccaeb4f9f936252f7883d",
28
  "scripts/tiny_sharding_probe.py": "29eb58f2689242b919616f6aab6ff753e0de031b16371137975b4d645e836fae",
29
  "scripts/audit_public_corpus.py": "84f1ec805a74004e71f63a70a8ed19967cb3fad9966f254798e655ab95e53ab0",
30
+ "scripts/build_kit.py": "9df408d52f3a4125899ce14523650381b88e7a541baf59f09c69c8779c24d4ea",
31
  "scripts/bootstrap_kaggle.py": "1633e3edbb80976c337444e3e4544e2b5210b2d8d1821e3a2717c1099c00843e",
32
  "data/calibration_en_wikitext2_dedup.txt": "18a79f4f938cc25747a90a12b120c7131e7f4ac55b58dfc691795ea61d4b5e9a",
33
  "data/calibration_ja_wikipedia_dedup.txt": "b45e3f3f00f2137be280a75c1fa9c9883a7e69d289257c4388fc701f33fee0d1",
 
46
  "lanes/group-size-ablation-08b.json": "e25cbfd99a0d95bb3eac1ef708d46478db92748018b4129e602c54a4a246164b",
47
  "lanes/bit-alloc-ablation-08b.json": "f6ade9635707f257da828b8fbda324671f8605010639c0e4ebf55a72bc108769",
48
  "lanes/bits-down-out-6.json": "8c37658ad99820640d638a266db977d799e6241233901f0a2fb632052388e15f",
49
+ "lanes/cpu-tuning-08b.json": "9a986eef3aa1f47bd8e01af5f16e9757156cc447907e7bb29bdf98ca78e02020",
50
  "lanes/robustness-08b-shard1of3.json": "11bd73ddfb110c60420546e1c6f47d777ce6d8c321cf31ce5003d15c96743b9b",
51
  "lanes/robustness-08b-shard2of3.json": "3196a32cf56eb1e3792a4f15a29effa561ff0472d82282f5e98ad8e283249935",
52
  "lanes/robustness-08b-shard3of3.json": "3f6928c34d3145d7d17eda991e6dede3695a0e9b723fbf4c068a6c07bc9cfd17",
lanes/cpu-tuning-08b.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "lane": "cpu-tuning-08b",
3
+ "model": {
4
+ "hf_repo": "Qwen/Qwen3.5-0.8B",
5
+ "spec_name": "Qwen3.5-0.8B",
6
+ "bf16_dir": "bf16-lalamo",
7
+ "bf16_source": "/kaggle/input/uzu-bf16-08b-lalamo",
8
+ "bf16_source_auto": true
9
+ },
10
+ "paths": {
11
+ "kit": "kit",
12
+ "work": "/kaggle/working",
13
+ "jax_platform": "gpu"
14
+ },
15
+ "eval": {
16
+ "max_sequences": 100,
17
+ "max_tokens": 128,
18
+ "min_tokens": 16,
19
+ "corpora": {
20
+ "en": "data/eval_en_wikitext2_dedup.txt",
21
+ "ja": "data/eval_ja_wikipedia_dedup.txt"
22
+ },
23
+ "dtype": "float32"
24
+ },
25
+ "condition_defaults": {
26
+ "samples": 32,
27
+ "max_tokens": 128,
28
+ "output_block": "small",
29
+ "output_block_limit": 2048,
30
+ "damping": 0.001,
31
+ "raw_output": false
32
+ },
33
+ "convert": {
34
+ "bits": 4,
35
+ "group_size": 32,
36
+ "block_size": 32,
37
+ "parallel": "replicated"
38
+ },
39
+ "conditions": [
40
+ {
41
+ "name": "mixed50-calib-bf16",
42
+ "calibration_corpus": "data/calibration_mixed_en_ja_dedup.txt",
43
+ "calib_dtype": "bfloat16"
44
+ },
45
+ {
46
+ "name": "mixed50-rtn",
47
+ "rtn": true
48
+ }
49
+ ]
50
+ }
scripts/build_kit.py CHANGED
@@ -86,6 +86,7 @@ KIT_LANES = [
86
  "group-size-ablation-08b.json",
87
  "bit-alloc-ablation-08b.json",
88
  "bits-down-out-6.json",
 
89
  "robustness-08b-shard1of3.json",
90
  "robustness-08b-shard2of3.json",
91
  "robustness-08b-shard3of3.json",
 
86
  "group-size-ablation-08b.json",
87
  "bit-alloc-ablation-08b.json",
88
  "bits-down-out-6.json",
89
+ "cpu-tuning-08b.json",
90
  "robustness-08b-shard1of3.json",
91
  "robustness-08b-shard2of3.json",
92
  "robustness-08b-shard3of3.json",