Skip to content

Commit

Permalink
Add fp8 test to jenkins CI
Browse files Browse the repository at this point in the history
  • Loading branch information
afierka-intel committed Oct 25, 2024
1 parent f603353 commit 6d81c39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .jenkins/lm-eval-harness/configs/models-fp8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Meta-Llama-3.1-8B-Instruct.yaml
1 change: 1 addition & 0 deletions .jenkins/lm-eval-harness/test_lm_eval_correctness.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def test_lm_eval_correctness(record_xml_attribute, record_property):
platform = get_current_gaudi_platform()
testname = (f'test_{Path(TEST_DATA_FILE).stem}_{tasks_str}_{platform}_'
f'tp{TP_SIZE}')
print(f"TASK_STR: {tasks_str}\nPLATFORM: {platform}\nTESTNAME: {testname}")
record_xml_attribute("name", testname)

# Launch eval requests.
Expand Down
5 changes: 5 additions & 0 deletions .jenkins/test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ stages:
- name: gsm8k_large_g2_tp4
flavor: g2.m
command: cd .jenkins/lm-eval-harness && bash run-tests.sh -c configs/models-large.txt -t 4
- name: test_gsm8k_fp8
steps:
- name: gsm8k_small_g3_tp1_fp8
flavor: g3
command: cd .jenkins/lm-eval-harness && bash run-tests.sh -c configs/models-fp8.txt -t 1

0 comments on commit 6d81c39

Please sign in to comment.