Skip to content

Commit ac6113e

Browse files
committed
Make results_path access trigger download
1 parent 0a3af32 commit ac6113e

7 files changed

Lines changed: 343 additions & 178 deletions

File tree

docs/guide.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,23 +162,21 @@ When loaded from HF Hub (`from_hf()`), they automatically download only the raw
162162

163163
To eagerly download all raw files upfront, use `prefetch()`:
164164

165-
```python {test="skip"}
165+
```python {test="skip-bulk"}
166166
# Eagerly download all raw files for a filtered collection
167-
runs = LLMRuns.from_hf().task("gpqa").prefetch()
167+
runs = LLMRuns.from_hf().task("lm-arena-chat").gpu("H100").prefetch()
168168
power_tl = runs.timelines(metric="power.device_instant") # no download delay
169169
```
170170

171171
```python {test="skip"}
172172
# Power timelines (long-form)
173173
power_tl = runs.timelines(metric="power.device_instant")
174-
# Columns: results_path, domain, task, model_id, num_gpus, max_num_seqs, batch_size, timestamp, relative_time_s, value, metric
175174

176175
# Temperature timelines
177176
temp_tl = runs.timelines(metric="temperature")
178177

179178
# Output lengths
180179
out_df = runs.output_lengths()
181-
# Columns: results_path, task, model_id, num_gpus, max_num_seqs, output_len, success
182180

183181
# Full DataFrame (one row per run, all fields as columns)
184182
df = runs.to_dataframe()

mlenergy_data/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"LLMRuns",
1515
]
1616

17-
__version__ = "0.1.0"
17+
__version__ = "0.1.1"

0 commit comments

Comments
 (0)