Skip to content

Commit 6fc1fe5

Browse files
remove pile-val backup from tests
Signed-off-by: Brian Dellabetta <[email protected]>
1 parent 09cca73 commit 6fc1fe5

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

tests/e2e/vLLM/configs/w4a16_grouped_quant_asym_awq.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cadence: "nightly"
22
test_type: "regression"
33
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
44
recipe: tests/e2e/vLLM/recipes/WNA16/recipe_w4a16_group_quant_asym_awq.yaml
5-
dataset_id: "mit-han-lab/pile-val-backup"
6-
dataset_split: validation
5+
dataset_id: HuggingFaceH4/ultrachat_200k
6+
dataset_split: train_sft
77
scheme: W4A16_weight_asym_awq
88
save_dir: TinyLlama-1.1B-Chat-v1.0-w4a16-asym-awq

tests/e2e/vLLM/configs/w4a16_grouped_quant_sym_awq.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cadence: "nightly"
22
test_type: "regression"
33
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
44
recipe: tests/e2e/vLLM/recipes/WNA16/recipe_w4a16_awq_sym.yaml
5-
dataset_id: "mit-han-lab/pile-val-backup"
6-
dataset_split: validation
5+
dataset_id: HuggingFaceH4/ultrachat_200k
6+
dataset_split: train_sft
77
scheme: W4A16_weight_sym_awq
88
save_dir: TinyLlama-1.1B-Chat-v1.0-w4a16-sym-awq

tests/testing_utils.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -285,18 +285,6 @@ def process(sample):
285285
"images": sample["image"],
286286
}
287287

288-
elif ds_name == "pile-val-backup":
289-
290-
def preprocess(example):
291-
return {
292-
"input_ids": processor.encode(example["text"].strip())[:max_seq_length]
293-
}
294-
295-
ds = ds.map(preprocess, remove_columns=ds.column_names)
296-
# Note: potentially swap filtering to pad for AWQ
297-
ds = ds.filter(lambda example: len(example["input_ids"]) >= max_seq_length)
298-
return ds
299-
300288
else:
301289
raise NotImplementedError(f"Cannot preprocess dataset {ds.info.dataset_name}")
302290

0 commit comments

Comments
 (0)