File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cadence: "nightly"
2
2
test_type : " regression"
3
3
model : TinyLlama/TinyLlama-1.1B-Chat-v1.0
4
4
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
7
7
scheme : W4A16_weight_asym_awq
8
8
save_dir : TinyLlama-1.1B-Chat-v1.0-w4a16-asym-awq
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cadence: "nightly"
2
2
test_type : " regression"
3
3
model : TinyLlama/TinyLlama-1.1B-Chat-v1.0
4
4
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
7
7
scheme : W4A16_weight_sym_awq
8
8
save_dir : TinyLlama-1.1B-Chat-v1.0-w4a16-sym-awq
Original file line number Diff line number Diff line change @@ -285,18 +285,6 @@ def process(sample):
285
285
"images" : sample ["image" ],
286
286
}
287
287
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
-
300
288
else :
301
289
raise NotImplementedError (f"Cannot preprocess dataset { ds .info .dataset_name } " )
302
290
You can’t perform that action at this time.
0 commit comments