LJYAI commited on
Commit
82fd15e
·
verified ·
1 Parent(s): 6256785

qwen3-8b-base-llms10k15ep-ppl-only

Browse files
Files changed (26) hide show
  1. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/PPL_COMPLETE +0 -0
  2. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/final_wikitext2_ppl.json +17 -0
  3. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/historical_protocol.json +26 -0
  4. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/source_verification.json +13 -0
  5. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/PPL_COMPLETE +0 -0
  6. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/final_wikitext2_ppl.json +17 -0
  7. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/historical_protocol.json +26 -0
  8. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/source_verification.json +13 -0
  9. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/PPL_COMPLETE +0 -0
  10. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/final_wikitext2_ppl.json +17 -0
  11. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/historical_protocol.json +26 -0
  12. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/source_verification.json +13 -0
  13. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/PPL_ALL_COMPLETE +0 -0
  14. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/evaluate_hchc_wikitext2_ppl.py +149 -0
  15. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/run_qwen3_8b_base_llms_ppl_only.py +73 -0
  16. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/run_qwen3_8b_base_llms_ppl_only.sh +21 -0
  17. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/experiment_config.json +55 -0
  18. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/14block_ppl.log +20 -0
  19. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/5block_ppl.log +23 -0
  20. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/9block_ppl.log +20 -0
  21. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/manifest.json +132 -0
  22. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/environment.txt +147 -0
  23. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/evaluation_commit.txt +1 -0
  24. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/gpu.txt +20 -0
  25. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/tokenizer_version_failure +0 -0
  26. runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/results_summary.json +99 -0
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/PPL_COMPLETE ADDED
File without changes
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/final_wikitext2_ppl.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_14block/model",
3
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
4
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
5
+ "sequence_length": 2048,
6
+ "batch_size": 1,
7
+ "dtype": "bfloat16",
8
+ "residual_anchor": null,
9
+ "residual_gamma": null,
10
+ "metrics": {
11
+ "nll": 4.323585985446798,
12
+ "perplexity": 75.4587376334756,
13
+ "tokens": 296815,
14
+ "sequences": 145,
15
+ "source_tokens": 298938
16
+ }
17
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/historical_protocol.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "legacy_llmstreamline_85ef6d7_qwen3_mse",
3
+ "source_commit": "85ef6d7",
4
+ "model": "Qwen/Qwen3-8B-Base",
5
+ "model_revision": "49e3418fbbbca6ecbdf9608b4d22e5a407081db4",
6
+ "span_source": "project native output-aligned cosine selector, SlimPajama-500",
7
+ "anchor": 12,
8
+ "removed_count": 14,
9
+ "removed_interval": [
10
+ 13,
11
+ 27
12
+ ],
13
+ "dataset": "DKYoon/SlimPajama-6B",
14
+ "sequence_length": 1024,
15
+ "target_sequences": 10000,
16
+ "target_tokens": 10240000,
17
+ "feature_collection_batch_size": 8,
18
+ "mse_training_batch_size": 32,
19
+ "gradient_accumulation": 1,
20
+ "effective_batch_size": 32,
21
+ "epochs": 15,
22
+ "learning_rate": 1e-05,
23
+ "lr_schedule": "constant_no_warmup",
24
+ "weight_decay": 0.001,
25
+ "validation": false
26
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/14block/source_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
3
+ "model_files_sha256_verified": [
4
+ "models/qwen3_8b_llmstreamline_14block/model/chat_template.jinja",
5
+ "models/qwen3_8b_llmstreamline_14block/model/config.json",
6
+ "models/qwen3_8b_llmstreamline_14block/model/generation_config.json",
7
+ "models/qwen3_8b_llmstreamline_14block/model/model.safetensors",
8
+ "models/qwen3_8b_llmstreamline_14block/model/tokenizer.json",
9
+ "models/qwen3_8b_llmstreamline_14block/model/tokenizer_config.json"
10
+ ],
11
+ "protocol_sha256_verified": true,
12
+ "num_hidden_layers": 22
13
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/PPL_COMPLETE ADDED
File without changes
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/final_wikitext2_ppl.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_5block/model",
3
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
4
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
5
+ "sequence_length": 2048,
6
+ "batch_size": 1,
7
+ "dtype": "bfloat16",
8
+ "residual_anchor": null,
9
+ "residual_gamma": null,
10
+ "metrics": {
11
+ "nll": 2.1370702825743577,
12
+ "perplexity": 8.474573119135208,
13
+ "tokens": 296815,
14
+ "sequences": 145,
15
+ "source_tokens": 298938
16
+ }
17
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/historical_protocol.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "legacy_llmstreamline_85ef6d7_qwen3_mse",
3
+ "source_commit": "85ef6d7",
4
+ "model": "Qwen/Qwen3-8B-Base",
5
+ "model_revision": "49e3418fbbbca6ecbdf9608b4d22e5a407081db4",
6
+ "span_source": "project native output-aligned cosine selector, SlimPajama-500",
7
+ "anchor": 14,
8
+ "removed_count": 5,
9
+ "removed_interval": [
10
+ 15,
11
+ 20
12
+ ],
13
+ "dataset": "DKYoon/SlimPajama-6B",
14
+ "sequence_length": 1024,
15
+ "target_sequences": 10000,
16
+ "target_tokens": 10240000,
17
+ "feature_collection_batch_size": 8,
18
+ "mse_training_batch_size": 32,
19
+ "gradient_accumulation": 1,
20
+ "effective_batch_size": 32,
21
+ "epochs": 15,
22
+ "learning_rate": 1e-05,
23
+ "lr_schedule": "constant_no_warmup",
24
+ "weight_decay": 0.001,
25
+ "validation": false
26
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/5block/source_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
3
+ "model_files_sha256_verified": [
4
+ "models/qwen3_8b_llmstreamline_5block/model/chat_template.jinja",
5
+ "models/qwen3_8b_llmstreamline_5block/model/config.json",
6
+ "models/qwen3_8b_llmstreamline_5block/model/generation_config.json",
7
+ "models/qwen3_8b_llmstreamline_5block/model/model.safetensors",
8
+ "models/qwen3_8b_llmstreamline_5block/model/tokenizer.json",
9
+ "models/qwen3_8b_llmstreamline_5block/model/tokenizer_config.json"
10
+ ],
11
+ "protocol_sha256_verified": true,
12
+ "num_hidden_layers": 31
13
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/PPL_COMPLETE ADDED
File without changes
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/final_wikitext2_ppl.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_9block/model",
3
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
4
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
5
+ "sequence_length": 2048,
6
+ "batch_size": 1,
7
+ "dtype": "bfloat16",
8
+ "residual_anchor": null,
9
+ "residual_gamma": null,
10
+ "metrics": {
11
+ "nll": 2.54896557824365,
12
+ "perplexity": 12.793862685494606,
13
+ "tokens": 296815,
14
+ "sequences": 145,
15
+ "source_tokens": 298938
16
+ }
17
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/historical_protocol.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "legacy_llmstreamline_85ef6d7_qwen3_mse",
3
+ "source_commit": "85ef6d7",
4
+ "model": "Qwen/Qwen3-8B-Base",
5
+ "model_revision": "49e3418fbbbca6ecbdf9608b4d22e5a407081db4",
6
+ "span_source": "project native output-aligned cosine selector, SlimPajama-500",
7
+ "anchor": 12,
8
+ "removed_count": 9,
9
+ "removed_interval": [
10
+ 13,
11
+ 22
12
+ ],
13
+ "dataset": "DKYoon/SlimPajama-6B",
14
+ "sequence_length": 1024,
15
+ "target_sequences": 10000,
16
+ "target_tokens": 10240000,
17
+ "feature_collection_batch_size": 8,
18
+ "mse_training_batch_size": 32,
19
+ "gradient_accumulation": 1,
20
+ "effective_batch_size": 32,
21
+ "epochs": 15,
22
+ "learning_rate": 1e-05,
23
+ "lr_schedule": "constant_no_warmup",
24
+ "weight_decay": 0.001,
25
+ "validation": false
26
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/9block/source_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
3
+ "model_files_sha256_verified": [
4
+ "models/qwen3_8b_llmstreamline_9block/model/chat_template.jinja",
5
+ "models/qwen3_8b_llmstreamline_9block/model/config.json",
6
+ "models/qwen3_8b_llmstreamline_9block/model/generation_config.json",
7
+ "models/qwen3_8b_llmstreamline_9block/model/model.safetensors",
8
+ "models/qwen3_8b_llmstreamline_9block/model/tokenizer.json",
9
+ "models/qwen3_8b_llmstreamline_9block/model/tokenizer_config.json"
10
+ ],
11
+ "protocol_sha256_verified": true,
12
+ "num_hidden_layers": 27
13
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/PPL_ALL_COMPLETE ADDED
File without changes
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/evaluate_hchc_wikitext2_ppl.py ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Evaluate a saved causal LM with the HCHC WikiText-2 PPL protocol."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import json
8
+ import math
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ import torch
13
+ from datasets import load_dataset
14
+
15
+
16
+ def primary(output: Any) -> torch.Tensor:
17
+ if torch.is_tensor(output):
18
+ return output
19
+ if isinstance(output, (tuple, list)) and output and torch.is_tensor(output[0]):
20
+ return output[0]
21
+ raise TypeError(f"Unsupported decoder-layer output type: {type(output)!r}")
22
+
23
+
24
+ def replace_primary(output: Any, hidden: torch.Tensor) -> Any:
25
+ if torch.is_tensor(output):
26
+ return hidden
27
+ if isinstance(output, tuple):
28
+ return (hidden, *output[1:])
29
+ if isinstance(output, list):
30
+ return [hidden, *output[1:]]
31
+ raise TypeError(f"Unsupported decoder-layer output type: {type(output)!r}")
32
+
33
+
34
+ def register_residual_scale_hook(layer, gamma: float):
35
+ """Install h_out = h_in + gamma * (block(h_in) - h_in)."""
36
+ scale = torch.tensor(gamma, device=next(layer.parameters()).device)
37
+
38
+ def hook(_module, inputs, output):
39
+ if not inputs or not torch.is_tensor(inputs[0]):
40
+ raise RuntimeError("Could not capture decoder-layer residual input")
41
+ layer_input = inputs[0]
42
+ corrected = layer_input + scale * (primary(output) - layer_input)
43
+ return replace_primary(output, corrected)
44
+
45
+ return layer.register_forward_hook(hook)
46
+
47
+
48
+ def packed_wikitext_tokens(tokenizer, split: str) -> torch.Tensor:
49
+ """Reproduce the canonical HCHC WikiText-2 packing protocol."""
50
+ dataset = load_dataset(
51
+ "Salesforce/wikitext", "wikitext-2-raw-v1", split=split
52
+ )
53
+ text = "\n\n".join(row for row in dataset["text"] if row.strip())
54
+ return tokenizer(
55
+ text, add_special_tokens=False, return_tensors="pt"
56
+ ).input_ids[0]
57
+
58
+
59
+ @torch.no_grad()
60
+ def evaluate_perplexity(
61
+ model,
62
+ tokens: torch.Tensor,
63
+ sequence_length: int,
64
+ batch_size: int,
65
+ ) -> dict[str, float | int]:
66
+ num_sequences = tokens.numel() // sequence_length
67
+ ids = tokens[: num_sequences * sequence_length].view(num_sequences, sequence_length)
68
+ total_nll = 0.0
69
+ total_predicted_tokens = 0
70
+ model.eval()
71
+ for start in range(0, num_sequences, batch_size):
72
+ batch = ids[start : start + batch_size].to("cuda")
73
+ output = model(input_ids=batch, labels=batch, use_cache=False)
74
+ predicted = batch.shape[0] * (batch.shape[1] - 1)
75
+ total_nll += output.loss.float().item() * predicted
76
+ total_predicted_tokens += predicted
77
+ mean_nll = total_nll / total_predicted_tokens
78
+ return {
79
+ "nll": mean_nll,
80
+ "perplexity": math.exp(mean_nll),
81
+ "tokens": total_predicted_tokens,
82
+ "sequences": num_sequences,
83
+ "source_tokens": int(tokens.numel()),
84
+ }
85
+
86
+
87
+ def main() -> None:
88
+ parser = argparse.ArgumentParser()
89
+ parser.add_argument("--model", type=Path, required=True)
90
+ parser.add_argument("--output", type=Path, required=True)
91
+ parser.add_argument("--sequence-length", type=int, default=2048)
92
+ parser.add_argument("--batch-size", type=int, default=8)
93
+ parser.add_argument("--residual-anchor", type=int)
94
+ parser.add_argument("--residual-gamma", type=float)
95
+ args = parser.parse_args()
96
+
97
+ if (args.residual_anchor is None) != (args.residual_gamma is None):
98
+ parser.error("--residual-anchor and --residual-gamma must be supplied together")
99
+
100
+ from transformers import AutoModelForCausalLM, AutoTokenizer
101
+
102
+ tokenizer = AutoTokenizer.from_pretrained(args.model, local_files_only=True)
103
+ model = AutoModelForCausalLM.from_pretrained(
104
+ args.model,
105
+ torch_dtype=torch.bfloat16,
106
+ local_files_only=True,
107
+ low_cpu_mem_usage=True,
108
+ attn_implementation="sdpa",
109
+ ).to("cuda")
110
+ model.config.use_cache = False
111
+
112
+ handle = None
113
+ if args.residual_gamma is not None:
114
+ if args.residual_anchor >= len(model.model.layers):
115
+ raise ValueError(
116
+ f"Residual anchor {args.residual_anchor} is outside decoder depth "
117
+ f"{len(model.model.layers)}"
118
+ )
119
+ handle = register_residual_scale_hook(
120
+ model.model.layers[args.residual_anchor], args.residual_gamma
121
+ )
122
+
123
+ tokens = packed_wikitext_tokens(tokenizer, "test")
124
+ try:
125
+ metrics = evaluate_perplexity(
126
+ model, tokens, args.sequence_length, args.batch_size
127
+ )
128
+ finally:
129
+ if handle is not None:
130
+ handle.remove()
131
+
132
+ report = {
133
+ "model": str(args.model),
134
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
135
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
136
+ "sequence_length": args.sequence_length,
137
+ "batch_size": args.batch_size,
138
+ "dtype": "bfloat16",
139
+ "residual_anchor": args.residual_anchor,
140
+ "residual_gamma": args.residual_gamma,
141
+ "metrics": metrics,
142
+ }
143
+ args.output.parent.mkdir(parents=True, exist_ok=True)
144
+ args.output.write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8")
145
+ print(json.dumps(report, indent=2), flush=True)
146
+
147
+
148
+ if __name__ == "__main__":
149
+ main()
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/run_qwen3_8b_base_llms_ppl_only.py ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Evaluate the three historical 10k/15epoch Qwen Base checkpoints, unchanged."""
3
+ import hashlib
4
+ import json
5
+ import math
6
+ import subprocess
7
+ import sys
8
+ from pathlib import Path
9
+ from huggingface_hub import hf_hub_download, snapshot_download
10
+
11
+ def sha256(path):
12
+ digest = hashlib.sha256()
13
+ with path.open('rb') as stream:
14
+ for chunk in iter(lambda: stream.read(8*1024*1024), b''):
15
+ digest.update(chunk)
16
+ return digest.hexdigest()
17
+
18
+ def main():
19
+ project = Path(sys.argv[1]).resolve()
20
+ config = json.loads((project/'configs/qwen3_8b_base_llms_ppl_20261007.json').read_text())
21
+ root = Path(config['output_root'])
22
+ source = Path('/workspace/inputs/qwen8b-llms10k15ep')
23
+ root.mkdir(parents=True, exist_ok=True)
24
+ (root/'logs').mkdir(exist_ok=True)
25
+ (root/'metadata').mkdir(exist_ok=True)
26
+ (root/'experiment_config.json').write_text(json.dumps(config,indent=2)+'\n')
27
+ repo, revision, prefix = config['source_repo'], config['source_revision'], config['source_prefix']
28
+ manifest_path = Path(hf_hub_download(repo, f'{prefix}/manifest.json',revision=revision,local_dir=source))
29
+ entries = {x['path']: x for x in json.loads(manifest_path.read_text())['files']}
30
+ reports = []
31
+ for blocks in config['blocks_removed']:
32
+ run = root/f'{blocks}block'
33
+ run.mkdir(exist_ok=True)
34
+ relative = f'models/qwen3_8b_llmstreamline_{blocks}block'
35
+ remote = f'{prefix}/{relative}'
36
+ print(f'PHASE download_verify blocks={blocks}',flush=True)
37
+ snapshot_download(repo,revision=revision,local_dir=source,allow_patterns=[
38
+ f'{remote}/model/*.json',f'{remote}/model/*.safetensors',f'{remote}/model/*.jinja',f'{remote}/protocol.json'])
39
+ model = source/remote/'model'
40
+ verified = []
41
+ for file in sorted(model.iterdir()):
42
+ if not file.is_file():
43
+ continue
44
+ name = f'{relative}/model/{file.name}'
45
+ entry = entries[name]
46
+ if file.stat().st_size != entry['size'] or sha256(file) != entry['sha256']:
47
+ raise RuntimeError(f'Source artifact checksum mismatch: {name}')
48
+ verified.append(name)
49
+ model_config = json.loads((model/'config.json').read_text())
50
+ if model_config['model_type'] != 'qwen3' or model_config['num_hidden_layers'] != 36-blocks:
51
+ raise RuntimeError(f'Unexpected checkpoint identity: {model_config}')
52
+ historical_protocol = source/remote/'protocol.json'
53
+ entry = entries[f'{relative}/protocol.json']
54
+ if sha256(historical_protocol) != entry['sha256']:
55
+ raise RuntimeError('Historical protocol checksum mismatch')
56
+ (run/'historical_protocol.json').write_bytes(historical_protocol.read_bytes())
57
+ (run/'source_verification.json').write_text(json.dumps({'revision':revision,'model_files_sha256_verified':verified,'protocol_sha256_verified':True,'num_hidden_layers':model_config['num_hidden_layers']},indent=2)+'\n')
58
+ output = run/'final_wikitext2_ppl.json'
59
+ if not output.exists():
60
+ print(f'PHASE ppl blocks={blocks}',flush=True)
61
+ with (root/'logs'/f'{blocks}block_ppl.log').open('w') as log:
62
+ subprocess.run([sys.executable,str(project/'scripts/evaluate_hchc_wikitext2_ppl.py'),'--model',str(model),'--sequence-length','2048','--batch-size','1','--output',str(output)],stdout=log,stderr=subprocess.STDOUT,check=True)
63
+ report = json.loads(output.read_text())
64
+ if not math.isfinite(report['metrics']['perplexity']) or report['metrics']['sequences'] != 145 or report['metrics']['tokens'] != 296815:
65
+ raise RuntimeError(f'Unexpected full WikiText2 coverage: {report}')
66
+ reports.append({'blocks_removed':blocks,'removed_interval':config['removed_intervals'][str(blocks)],'ppl':report['metrics']['perplexity'],'source_revision':revision,'source_model_path':f'{remote}/model','evaluation':report})
67
+ (root/'results_summary.json').write_text(json.dumps({'model':config['model'],'method':'LLMStreamline','historical_training':config['historical_training'],'results':reports},indent=2)+'\n')
68
+ (run/'PPL_COMPLETE').touch()
69
+ print(f'PPL_COMPLETE blocks={blocks} ppl={report["metrics"]["perplexity"]}',flush=True)
70
+ (root/'PPL_ALL_COMPLETE').touch()
71
+
72
+ if __name__ == '__main__':
73
+ main()
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/code/run_qwen3_8b_base_llms_ppl_only.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ project="$(cd "${1:?project required}" && pwd)"
4
+ root=/workspace/artifacts/qwen3_8b_base_llms_ppl_20261007
5
+ mkdir -p "$root"/{logs,metadata,code}
6
+ export HF_HOME=/workspace/.hf_home HF_TOKEN_PATH=/root/.cache/huggingface/token
7
+ export HF_DATASETS_CACHE=/workspace/.hf_datasets36 TOKENIZERS_PARALLELISM=false
8
+ export PYTHONUNBUFFERED=1 CUDA_VISIBLE_DEVICES=0 OMP_NUM_THREADS=8 MKL_NUM_THREADS=8
9
+ trap 'status=$?; touch "$root/PIPELINE_FAILED"; exit "$status"' ERR
10
+ python -m pip install --disable-pip-version-check 'transformers==5.15.1' 'datasets==3.6.0' 'huggingface_hub==1.6.0' 'accelerate==1.15.0' sentencepiece protobuf
11
+ git -C "$project" rev-parse HEAD > "$root/metadata/evaluation_commit.txt"
12
+ python -m pip freeze > "$root/metadata/environment.txt"
13
+ nvidia-smi > "$root/metadata/gpu.txt"
14
+ cp "$project/scripts/run_qwen3_8b_base_llms_ppl_only.py" "$project/scripts/run_qwen3_8b_base_llms_ppl_only.sh" "$project/scripts/evaluate_hchc_wikitext2_ppl.py" "$root/code/"
15
+ python "$project/scripts/run_qwen3_8b_base_llms_ppl_only.py" "$project"
16
+ python "$project/scripts/write_tree_manifest.py" "$root"
17
+ python "$project/scripts/upload_verified_hf_tree.py" "$root" --repo-id LJYAI/paper_revision \
18
+ --path-in-repo runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only \
19
+ --commit-message qwen3-8b-base-llms10k15ep-ppl-only > /workspace/qwen8b-llms-ppl-upload.json 2> /workspace/qwen8b-llms-ppl-upload.log
20
+ touch "$root/BACKUP_COMPLETE" "$root/PIPELINE_COMPLETE"
21
+ echo 'PIPELINE_COMPLETE instance retained'
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/experiment_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_repo": "LJYAI/paper_revision",
3
+ "source_revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
4
+ "source_prefix": "runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final",
5
+ "model": "Qwen/Qwen3-8B-Base",
6
+ "method": "LLMStreamline",
7
+ "blocks_removed": [
8
+ 5,
9
+ 9,
10
+ 14
11
+ ],
12
+ "removed_intervals": {
13
+ "5": [
14
+ 15,
15
+ 20
16
+ ],
17
+ "9": [
18
+ 13,
19
+ 22
20
+ ],
21
+ "14": [
22
+ 13,
23
+ 27
24
+ ]
25
+ },
26
+ "historical_training": {
27
+ "dataset": "DKYoon/SlimPajama-6B",
28
+ "sequences": 10000,
29
+ "sequence_length": 1024,
30
+ "epochs": 15,
31
+ "effective_batch": 32,
32
+ "lr": 1e-05,
33
+ "weight_decay": 0.001,
34
+ "feature_dtype": "bfloat16",
35
+ "mse_dtype": "float32",
36
+ "saved_dtype": "bfloat16"
37
+ },
38
+ "evaluation": {
39
+ "dataset": "Salesforce/wikitext",
40
+ "config": "wikitext-2-raw-v1",
41
+ "split": "test",
42
+ "protocol": "HCHC: nonempty rows joined with double newline; one-shot tokenization; full nonoverlapping 2048-token windows",
43
+ "sequence_length": 2048,
44
+ "batch_size": 1,
45
+ "dtype": "bfloat16",
46
+ "quantization": false
47
+ },
48
+ "session_alias": "vast-paper_revision-qwen8b-llms-ppl-54601547-20261007",
49
+ "vast_instance": 54601547,
50
+ "gpu": "RTX 4090 24GB x1",
51
+ "rate_usd_per_hour_with_90gb_disk": 0.39333333333333337,
52
+ "output_root": "/workspace/artifacts/qwen3_8b_base_llms_ppl_20261007",
53
+ "hf_output_prefix": "runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only",
54
+ "auto_return": false
55
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/14block_ppl.log ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [transformers] `torch_dtype` is deprecated! Use `dtype` instead!
2
+
3
+ [transformers] Token indices sequence length is longer than the specified maximum sequence length for this model (298938 > 131072). Running this sequence through the model will result in indexing errors
4
+ {
5
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_14block/model",
6
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
7
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
8
+ "sequence_length": 2048,
9
+ "batch_size": 1,
10
+ "dtype": "bfloat16",
11
+ "residual_anchor": null,
12
+ "residual_gamma": null,
13
+ "metrics": {
14
+ "nll": 4.323585985446798,
15
+ "perplexity": 75.4587376334756,
16
+ "tokens": 296815,
17
+ "sequences": 145,
18
+ "source_tokens": 298938
19
+ }
20
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/5block_ppl.log ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [transformers] `torch_dtype` is deprecated! Use `dtype` instead!
2
+
3
+
4
+
5
+
6
+ [transformers] Token indices sequence length is longer than the specified maximum sequence length for this model (298938 > 131072). Running this sequence through the model will result in indexing errors
7
+ {
8
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_5block/model",
9
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
10
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
11
+ "sequence_length": 2048,
12
+ "batch_size": 1,
13
+ "dtype": "bfloat16",
14
+ "residual_anchor": null,
15
+ "residual_gamma": null,
16
+ "metrics": {
17
+ "nll": 2.1370702825743577,
18
+ "perplexity": 8.474573119135208,
19
+ "tokens": 296815,
20
+ "sequences": 145,
21
+ "source_tokens": 298938
22
+ }
23
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/logs/9block_ppl.log ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [transformers] `torch_dtype` is deprecated! Use `dtype` instead!
2
+
3
+ [transformers] Token indices sequence length is longer than the specified maximum sequence length for this model (298938 > 131072). Running this sequence through the model will result in indexing errors
4
+ {
5
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_9block/model",
6
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
7
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
8
+ "sequence_length": 2048,
9
+ "batch_size": 1,
10
+ "dtype": "bfloat16",
11
+ "residual_anchor": null,
12
+ "residual_gamma": null,
13
+ "metrics": {
14
+ "nll": 2.54896557824365,
15
+ "perplexity": 12.793862685494606,
16
+ "tokens": 296815,
17
+ "sequences": 145,
18
+ "source_tokens": 298938
19
+ }
20
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/manifest.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "sha256-tree-v1",
3
+ "files": [
4
+ {
5
+ "path": "14block/PPL_COMPLETE",
6
+ "size": 0,
7
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
8
+ },
9
+ {
10
+ "path": "14block/final_wikitext2_ppl.json",
11
+ "size": 647,
12
+ "sha256": "c440471fb4218cbea4d0991f769d173424d97756d3cca3b065c8ee8f9b8662bd"
13
+ },
14
+ {
15
+ "path": "14block/historical_protocol.json",
16
+ "size": 731,
17
+ "sha256": "b8d238ebcdbdc0297ed6722db680a6a4297428feb9173bfc1535e2f379218ef4"
18
+ },
19
+ {
20
+ "path": "14block/source_verification.json",
21
+ "size": 579,
22
+ "sha256": "be65bd2d833abc25f776e26b2cd7e3e1f1324c8e96746afe2745c26e78b74d59"
23
+ },
24
+ {
25
+ "path": "5block/PPL_COMPLETE",
26
+ "size": 0,
27
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
28
+ },
29
+ {
30
+ "path": "5block/final_wikitext2_ppl.json",
31
+ "size": 648,
32
+ "sha256": "a128058668a36557b5dcb0865e5aecc433ea4cbb2772f4c571ef482f2cdc6e41"
33
+ },
34
+ {
35
+ "path": "5block/historical_protocol.json",
36
+ "size": 730,
37
+ "sha256": "9bbdc4bef7a9ba59126b2dcde38ddec3cb6c22d351117bf9d9469f631ea1243d"
38
+ },
39
+ {
40
+ "path": "5block/source_verification.json",
41
+ "size": 573,
42
+ "sha256": "f5bf84a7587d65d7b455728b606ce2e0748e36d20b6fb9100f8e23bdb0554adc"
43
+ },
44
+ {
45
+ "path": "9block/PPL_COMPLETE",
46
+ "size": 0,
47
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
48
+ },
49
+ {
50
+ "path": "9block/final_wikitext2_ppl.json",
51
+ "size": 647,
52
+ "sha256": "bffc908c910f6bee38358d533501152cfbeabf95d9b83f6f21ba61a452c62ec8"
53
+ },
54
+ {
55
+ "path": "9block/historical_protocol.json",
56
+ "size": 730,
57
+ "sha256": "5ae8de5cf41ff364d05553e389fffb9fa67fc3af66309a545e773e068571aa62"
58
+ },
59
+ {
60
+ "path": "9block/source_verification.json",
61
+ "size": 573,
62
+ "sha256": "17efff7dead16f3f4be4f0d2e3673f1111c51c726e75e488cbc5b441e40a17de"
63
+ },
64
+ {
65
+ "path": "PPL_ALL_COMPLETE",
66
+ "size": 0,
67
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
68
+ },
69
+ {
70
+ "path": "code/evaluate_hchc_wikitext2_ppl.py",
71
+ "size": 5252,
72
+ "sha256": "3d686860e654d67c6821760da2a0452321694ac15e8a763c7be7d4b6bd326bbb"
73
+ },
74
+ {
75
+ "path": "code/run_qwen3_8b_base_llms_ppl_only.py",
76
+ "size": 4362,
77
+ "sha256": "6f1654ff990f96e414b140eb320e72fe2a65adb2f034c46f86ca21abfb20a125"
78
+ },
79
+ {
80
+ "path": "code/run_qwen3_8b_base_llms_ppl_only.sh",
81
+ "size": 1578,
82
+ "sha256": "0eebd7f277c40a83981c499531753e2d0b704241684e9a14898ac6a9b170a9a1"
83
+ },
84
+ {
85
+ "path": "experiment_config.json",
86
+ "size": 1553,
87
+ "sha256": "2c9e5aa94f9d6559f9680e5252506e9d79acebe2c672a9e0bef896b41403dfc9"
88
+ },
89
+ {
90
+ "path": "logs/14block_ppl.log",
91
+ "size": 1062,
92
+ "sha256": "dfd142ee1c20078d360b2b895312d97e949de611f69643a5fad3300587e2e354"
93
+ },
94
+ {
95
+ "path": "logs/5block_ppl.log",
96
+ "size": 1716,
97
+ "sha256": "5a33eed179e4686252a33ac02d523b25d126caea4a215bc4d4c98773e0f482ce"
98
+ },
99
+ {
100
+ "path": "logs/9block_ppl.log",
101
+ "size": 1062,
102
+ "sha256": "bf754d2f0a90dd83ccac5cd3b7acd7bdbed5e7dfadee6dc75354482e807c98fa"
103
+ },
104
+ {
105
+ "path": "metadata/environment.txt",
106
+ "size": 8503,
107
+ "sha256": "e01868feccf4a9147ad41d294e6baab6ba7477dd742c4bd0a4b4b44bf40f58ff"
108
+ },
109
+ {
110
+ "path": "metadata/evaluation_commit.txt",
111
+ "size": 41,
112
+ "sha256": "fac5fa4c25e0ccd5aa8dfe0d1f3e22db0ac417610ee463685d07d7287aa7f585"
113
+ },
114
+ {
115
+ "path": "metadata/gpu.txt",
116
+ "size": 1689,
117
+ "sha256": "83e89ba3121f743bda2d9e42c25fc1bdaf4bb05d045b1d60dd7bdc9fd0ef937e"
118
+ },
119
+ {
120
+ "path": "metadata/tokenizer_version_failure",
121
+ "size": 0,
122
+ "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
123
+ },
124
+ {
125
+ "path": "results_summary.json",
126
+ "size": 3808,
127
+ "sha256": "6091ba0d4869e6adc5796e5a64bde1b57339981853a171149f8eb8b24ad10024"
128
+ }
129
+ ],
130
+ "total_files": 25,
131
+ "total_bytes": 36484
132
+ }
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/environment.txt ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate==1.15.0
2
+ aiohappyeyeballs==2.7.1
3
+ aiohttp==3.14.4
4
+ aiosignal==1.4.0
5
+ annotated-doc==0.0.5
6
+ anyio==4.15.1
7
+ archspec @ file:///home/conda/feedstock_root/build_artifacts/archspec_1737352602016/work
8
+ asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1733250440834/work
9
+ astunparse==1.6.3
10
+ attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1741918516150/work
11
+ beautifulsoup4 @ file:///home/conda/feedstock_root/build_artifacts/beautifulsoup4_1744783198182/work
12
+ boltons @ file:///home/conda/feedstock_root/build_artifacts/boltons_1749686179973/work
13
+ Brotli @ file:///home/conda/feedstock_root/build_artifacts/brotli-split_1749229842835/work
14
+ certifi @ file:///home/conda/feedstock_root/build_artifacts/certifi_1754231422783/work/certifi
15
+ cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1725560564262/work
16
+ chardet @ file:///home/conda/feedstock_root/build_artifacts/chardet_1741797914774/work
17
+ charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1746214863626/work
18
+ click==8.5.0
19
+ cmake==4.0.3
20
+ colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1733218098505/work
21
+ conda @ file:///home/conda/feedstock_root/build_artifacts/conda_1754405241914/work/conda-src
22
+ conda-build @ file:///home/conda/feedstock_root/build_artifacts/conda-build_1754316273870/work
23
+ conda-libmamba-solver @ file:///home/conda/feedstock_root/build_artifacts/conda-libmamba-solver_1742219570693/work/src
24
+ conda-package-handling @ file:///home/conda/feedstock_root/build_artifacts/conda-package-handling_1736345463896/work
25
+ conda_index @ file:///home/conda/feedstock_root/build_artifacts/conda-index_1748375757308/work
26
+ conda_package_streaming @ file:///home/conda/feedstock_root/build_artifacts/conda-package-streaming_1751548120229/work
27
+ datasets==3.6.0
28
+ decorator @ file:///home/conda/feedstock_root/build_artifacts/decorator_1740384970518/work
29
+ dill==0.3.8
30
+ distro @ file:///home/conda/feedstock_root/build_artifacts/distro_1734729835256/work
31
+ dnspython==2.7.0
32
+ evalidate @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_evalidate_1746793833/work
33
+ exceptiongroup @ file:///home/conda/feedstock_root/build_artifacts/exceptiongroup_1746947292760/work
34
+ executing @ file:///home/conda/feedstock_root/build_artifacts/executing_1745502089858/work
35
+ expecttest==0.3.0
36
+ filelock @ file:///home/conda/feedstock_root/build_artifacts/filelock_1741969488311/work
37
+ frozendict @ file:///home/conda/feedstock_root/build_artifacts/frozendict_1728841334936/work
38
+ frozenlist==1.8.0
39
+ fsspec==2025.3.0
40
+ h11==0.16.0
41
+ h2 @ file:///home/conda/feedstock_root/build_artifacts/h2_1738578511449/work
42
+ hf-xet==1.7.0
43
+ hpack @ file:///home/conda/feedstock_root/build_artifacts/hpack_1737618293087/work
44
+ httpcore==1.0.9
45
+ httpcore2==2.13.1
46
+ httpx==0.28.1
47
+ httpx2==2.13.1
48
+ huggingface_hub==1.6.0
49
+ hyperframe @ file:///home/conda/feedstock_root/build_artifacts/hyperframe_1737618333194/work
50
+ hypothesis==6.137.1
51
+ idna==3.20
52
+ ipython @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_ipython_1751465044/work
53
+ ipython_pygments_lexers @ file:///home/conda/feedstock_root/build_artifacts/ipython_pygments_lexers_1737123620466/work
54
+ jedi @ file:///home/conda/feedstock_root/build_artifacts/jedi_1733300866624/work
55
+ Jinja2 @ file:///home/conda/feedstock_root/build_artifacts/jinja2_1741263328855/work
56
+ jsonpatch @ file:///home/conda/feedstock_root/build_artifacts/jsonpatch_1733814567314/work
57
+ jsonpointer @ file:///home/conda/feedstock_root/build_artifacts/jsonpointer_1725302941992/work
58
+ jsonschema @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_jsonschema_1752925388/work
59
+ jsonschema-specifications @ file:///tmp/tmpuvkyqc9y/src
60
+ libarchive-c @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_python-libarchive-c_1747927321/work
61
+ libmambapy @ file:///home/conda/feedstock_root/build_artifacts/mamba-split_1746515836725/work/libmambapy
62
+ lief @ file:///home/conda/feedstock_root/build_artifacts/lief_1750151383011/work/api/python
63
+ lintrunner==0.12.7
64
+ markdown-it-py==4.2.0
65
+ MarkupSafe @ file:///home/conda/feedstock_root/build_artifacts/markupsafe_1733219680183/work
66
+ matplotlib-inline @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-inline_1733416936468/work
67
+ mdurl==0.1.2
68
+ menuinst @ file:///home/conda/feedstock_root/build_artifacts/menuinst_1753546279984/work
69
+ mpmath==1.3.0
70
+ msgpack @ file:///home/conda/feedstock_root/build_artifacts/msgpack-python_1749813202382/work
71
+ multidict==6.9.1
72
+ multiprocess==0.70.16
73
+ networkx==3.5
74
+ ninja==1.11.1.4
75
+ numpy @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_numpy_1753401560/work/dist/numpy-2.3.2-cp311-cp311-linux_x86_64.whl#sha256=469440884ff65cdd5601d2ff9e1c5b9bcc2d8176c37e37ec78a0666703a54157
76
+ nvidia-cublas-cu12==12.8.4.1
77
+ nvidia-cuda-cupti-cu12==12.8.90
78
+ nvidia-cuda-nvrtc-cu12==12.8.93
79
+ nvidia-cuda-runtime-cu12==12.8.90
80
+ nvidia-cudnn-cu12==9.10.2.21
81
+ nvidia-cufft-cu12==11.3.3.83
82
+ nvidia-cufile-cu12==1.13.1.3
83
+ nvidia-curand-cu12==10.3.9.90
84
+ nvidia-cusolver-cu12==11.7.3.90
85
+ nvidia-cusparse-cu12==12.5.8.93
86
+ nvidia-cusparselt-cu12==0.7.1
87
+ nvidia-nccl-cu12==2.27.3
88
+ nvidia-nvjitlink-cu12==12.8.93
89
+ nvidia-nvtx-cu12==12.8.90
90
+ optree==0.17.0
91
+ packaging @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_packaging_1745345660/work
92
+ pandas==3.0.6
93
+ parso @ file:///home/conda/feedstock_root/build_artifacts/parso_1733271261340/work
94
+ pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1733301927746/work
95
+ pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1733327343728/work
96
+ pillow==11.0.0
97
+ pkginfo @ file:///home/conda/feedstock_root/build_artifacts/pkginfo_1739984581450/work
98
+ platformdirs @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_platformdirs_1746710438/work
99
+ pluggy @ file:///home/conda/feedstock_root/build_artifacts/pluggy_1747339660894/work
100
+ prompt_toolkit @ file:///home/conda/feedstock_root/build_artifacts/prompt-toolkit_1744724089886/work
101
+ propcache==0.5.4
102
+ protobuf==7.36.2
103
+ psutil @ file:///home/conda/feedstock_root/build_artifacts/psutil_1740663149797/work
104
+ ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1733302279685/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl#sha256=92c32ff62b5fd8cf325bec5ab90d7be3d2a8ca8c8a3813ff487a8d2002630d1f
105
+ pure_eval @ file:///home/conda/feedstock_root/build_artifacts/pure_eval_1733569405015/work
106
+ pyarrow==25.0.1
107
+ pycosat @ file:///home/conda/feedstock_root/build_artifacts/pycosat_1732588400443/work
108
+ pycparser @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_pycparser_1733195786/work
109
+ Pygments @ file:///home/conda/feedstock_root/build_artifacts/pygments_1750615794071/work
110
+ PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1733217236728/work
111
+ python-dateutil==2.9.0.post0
112
+ python-etcd==0.4.5
113
+ pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1742920838005/work
114
+ PyYAML @ file:///home/conda/feedstock_root/build_artifacts/pyyaml_1737454647378/work
115
+ referencing @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_referencing_1737836872/work
116
+ regex==2026.9.29
117
+ requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1749498106507/work
118
+ rich==15.0.0
119
+ rpds-py @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_rpds-py_1751468291/work
120
+ ruamel.yaml @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml_1749479918291/work
121
+ ruamel.yaml.clib @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml.clib_1728724459810/work
122
+ safetensors==0.8.0
123
+ sentencepiece==0.2.2
124
+ shellingham==1.5.4
125
+ six==1.17.0
126
+ sortedcontainers==2.4.0
127
+ soupsieve @ file:///home/conda/feedstock_root/build_artifacts/soupsieve_1746563585861/work
128
+ stack_data @ file:///home/conda/feedstock_root/build_artifacts/stack_data_1733569443808/work
129
+ sympy==1.14.0
130
+ tokenizers==0.22.2
131
+ torch==2.8.0+cu128
132
+ torchaudio==2.8.0+cu128
133
+ torchelastic==0.2.2
134
+ torchvision==0.23.0+cu128
135
+ tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1735661334605/work
136
+ traitlets @ file:///home/conda/feedstock_root/build_artifacts/traitlets_1733367359838/work
137
+ transformers==5.15.1
138
+ triton==3.4.0
139
+ truststore @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_truststore_1739009763/work
140
+ typer==0.27.3
141
+ types-dataclasses==0.6.6
142
+ typing_extensions==4.16.0
143
+ urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1750271362675/work
144
+ wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1733231326287/work
145
+ xxhash==4.0.1
146
+ yarl==1.25.1
147
+ zstandard==0.23.0
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/evaluation_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 6bbc1e0e4c4d8211818dd534db32593db3308608
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/gpu.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Wed Oct 7 07:13:49 2026
2
+ +-----------------------------------------------------------------------------------------+
3
+ | NVIDIA-SMI 580.95.05 Driver Version: 580.95.05 CUDA Version: 13.0 |
4
+ +-----------------------------------------+------------------------+----------------------+
5
+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
6
+ | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
7
+ | | | MIG M. |
8
+ |=========================================+========================+======================|
9
+ | 0 NVIDIA GeForce RTX 4090 On | 00000000:24:00.0 Off | Off |
10
+ | 0% 25C P8 35W / 450W | 1MiB / 24564MiB | 0% Default |
11
+ | | | N/A |
12
+ +-----------------------------------------+------------------------+----------------------+
13
+
14
+ +-----------------------------------------------------------------------------------------+
15
+ | Processes: |
16
+ | GPU GI CI PID Type Process name GPU Memory |
17
+ | ID ID Usage |
18
+ |=========================================================================================|
19
+ | No running processes found |
20
+ +-----------------------------------------------------------------------------------------+
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/metadata/tokenizer_version_failure ADDED
File without changes
runs/vast-paper_revision-qwen8b-llms-ppl-54601547-20261007/20261007-qwen3-8b-base-llms10k15ep-ppl-only/results_summary.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Qwen/Qwen3-8B-Base",
3
+ "method": "LLMStreamline",
4
+ "historical_training": {
5
+ "dataset": "DKYoon/SlimPajama-6B",
6
+ "sequences": 10000,
7
+ "sequence_length": 1024,
8
+ "epochs": 15,
9
+ "effective_batch": 32,
10
+ "lr": 1e-05,
11
+ "weight_decay": 0.001,
12
+ "feature_dtype": "bfloat16",
13
+ "mse_dtype": "float32",
14
+ "saved_dtype": "bfloat16"
15
+ },
16
+ "results": [
17
+ {
18
+ "blocks_removed": 5,
19
+ "removed_interval": [
20
+ 15,
21
+ 20
22
+ ],
23
+ "ppl": 8.474573119135208,
24
+ "source_revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
25
+ "source_model_path": "runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_5block/model",
26
+ "evaluation": {
27
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_5block/model",
28
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
29
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
30
+ "sequence_length": 2048,
31
+ "batch_size": 1,
32
+ "dtype": "bfloat16",
33
+ "residual_anchor": null,
34
+ "residual_gamma": null,
35
+ "metrics": {
36
+ "nll": 2.1370702825743577,
37
+ "perplexity": 8.474573119135208,
38
+ "tokens": 296815,
39
+ "sequences": 145,
40
+ "source_tokens": 298938
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "blocks_removed": 9,
46
+ "removed_interval": [
47
+ 13,
48
+ 22
49
+ ],
50
+ "ppl": 12.793862685494606,
51
+ "source_revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
52
+ "source_model_path": "runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_9block/model",
53
+ "evaluation": {
54
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_9block/model",
55
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
56
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
57
+ "sequence_length": 2048,
58
+ "batch_size": 1,
59
+ "dtype": "bfloat16",
60
+ "residual_anchor": null,
61
+ "residual_gamma": null,
62
+ "metrics": {
63
+ "nll": 2.54896557824365,
64
+ "perplexity": 12.793862685494606,
65
+ "tokens": 296815,
66
+ "sequences": 145,
67
+ "source_tokens": 298938
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "blocks_removed": 14,
73
+ "removed_interval": [
74
+ 13,
75
+ 27
76
+ ],
77
+ "ppl": 75.4587376334756,
78
+ "source_revision": "25fae142e8ff1a63899cb2bee99fae1f80225ab2",
79
+ "source_model_path": "runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_14block/model",
80
+ "evaluation": {
81
+ "model": "/workspace/inputs/qwen8b-llms10k15ep/runs/vast-paper_revision-qwen25-7b-tvl-20261001/20261002_llama31_qwen3_llmstreamline_10000_15ep_final/models/qwen3_8b_llmstreamline_14block/model",
82
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
83
+ "protocol": "HCHC experiment.py: non-empty rows joined with double newline before one-shot tokenization",
84
+ "sequence_length": 2048,
85
+ "batch_size": 1,
86
+ "dtype": "bfloat16",
87
+ "residual_anchor": null,
88
+ "residual_gamma": null,
89
+ "metrics": {
90
+ "nll": 4.323585985446798,
91
+ "perplexity": 75.4587376334756,
92
+ "tokens": 296815,
93
+ "sequences": 145,
94
+ "source_tokens": 298938
95
+ }
96
+ }
97
+ }
98
+ ]
99
+ }