Skip to content

Commit

Permalink
Update e2e test timings ouputs (#1179)
Browse files Browse the repository at this point in the history
SUMMARY:
- Update scheme for kv_cache test so that it saves unique files
- Update pandas command to prevent it from adding an extra 0 column in
the saved csv
  • Loading branch information
dsikka authored Feb 21, 2025
1 parent 5a82dcc commit 1101723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/vLLM/configs/kv_cache_gptq_tinyllama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
recipe: tests/e2e/vLLM/recipes/kv_cache/gptq.yaml
dataset_id: HuggingFaceH4/ultrachat_200k
dataset_split: train_sft
scheme: kv_cache_default_tinyllama
scheme: kv_cache_default_gptq_tinyllama
2 changes: 1 addition & 1 deletion tests/e2e/vLLM/test_vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def tear_down(self):
p.mkdir(parents=True, exist_ok=True)

df = pd.DataFrame(measurements)
df.to_csv(p / f"{self.save_dir}.csv")
df.to_csv(p / f"{self.save_dir}.csv", index=False)

@log_time
def _save_compressed_model(self, oneshot_model, tokenizer):
Expand Down

0 comments on commit 1101723

Please sign in to comment.