-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement baselines as a fixture and with simple rebase support (#1732)
Signed-off-by: U. Artie Eoff <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,116 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"tests/test_encoder_decoder.py::TestEncoderDecoderModels::test_text_summarization_bf16[facebook/bart-large-cnn-Habana/bart-2-2]": { | ||
"gaudi1": { | ||
"predict_rougeLsum": 29.174, | ||
"predict_samples_per_second": 2.304 | ||
}, | ||
"gaudi2": { | ||
"predict_rougeLsum": 28.9801, | ||
"predict_samples_per_second": 4.339 | ||
} | ||
}, | ||
"tests/test_encoder_decoder.py::TestEncoderDecoderModels::test_text_summarization_bf16[t5-3b-Habana/t5-2-1]": { | ||
"gaudi1": { | ||
"predict_rougeLsum": 21.7286, | ||
"predict_samples_per_second": 1.005 | ||
}, | ||
"gaudi2": { | ||
"predict_rougeLsum": 21.8877, | ||
"predict_samples_per_second": 3.848 | ||
} | ||
}, | ||
"tests/test_encoder_decoder.py::TestEncoderDecoderModels::test_text_translation_bf16[t5-small-Habana/t5-2-1]": { | ||
"gaudi1": { | ||
"predict_bleu": 11.6126, | ||
"predict_samples_per_second": 9.188 | ||
}, | ||
"gaudi2": { | ||
"predict_bleu": 11.7277, | ||
"predict_samples_per_second": 11.648 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"tests/test_fp8_examples.py::test_fp8_train[mistralai/Mistral-7B-Instruct-v0.2-tatsu-lab/alpaca--language-modeling-8-8-run_lora_clm.py]": { | ||
"gaudi2": { | ||
"eval_accuracy": 0.7538, | ||
"train_samples_per_second": 12.373 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"tests/test_fsdp_examples.py::test_fsdp_bf16[bert-base-uncased-Habana/bert-base-uncased-question-answering-24-8-run_qa.py-full_shard]": { | ||
"gaudi2": { | ||
"eval_f1": 85.7077, | ||
"train_samples_per_second": 2983.533 | ||
} | ||
}, | ||
"tests/test_fsdp_examples.py::test_fsdp_bf16[meta-llama/Llama-2-7b-hf--language-modeling-8-8-run_lora_clm.py-auto_wrap]": { | ||
"gaudi2": { | ||
"train_loss": 0.9093, | ||
"train_samples_per_second": 85.016 | ||
} | ||
} | ||
} |
94 changes: 94 additions & 0 deletions
94
tests/baselines/fixture/tests/test_image_to_text_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[HuggingFaceM4/idefics2-8b-1]": { | ||
"gaudi2": { | ||
"throughput": 21.89944593215077 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[Qwen/Qwen2-VL-2B-Instruct-1]": { | ||
"gaudi2": { | ||
"throughput": 28.755882208438422 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[Qwen/Qwen2-VL-7B-Instruct-1]": { | ||
"gaudi2": { | ||
"throughput": 19.32562189532818 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[google/paligemma-3b-mix-224-1]": { | ||
"gaudi2": { | ||
"throughput": 132.8949150246155 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[llava-hf/llava-1.5-13b-hf-1]": { | ||
"gaudi1": { | ||
"throughput": 16.704731010481538 | ||
}, | ||
"gaudi2": { | ||
"throughput": 48.54364937033955 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[llava-hf/llava-1.5-7b-hf-1]": { | ||
"gaudi1": { | ||
"throughput": 28.04096918512148 | ||
}, | ||
"gaudi2": { | ||
"throughput": 77.98733740859008 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[llava-hf/llava-v1.6-mistral-7b-hf-1]": { | ||
"gaudi1": { | ||
"throughput": 10.759228696741 | ||
}, | ||
"gaudi2": { | ||
"throughput": 33.17984878151546 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[llava-hf/llava-v1.6-vicuna-13b-hf-1]": { | ||
"gaudi1": { | ||
"throughput": 6.96732060769783 | ||
}, | ||
"gaudi2": { | ||
"throughput": 23.527610042925 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[llava-hf/llava-v1.6-vicuna-7b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 35.00608681379742 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[meta-llama/Llama-3.2-11B-Vision-Instruct-1]": { | ||
"gaudi2": { | ||
"throughput": 18.974541922240313 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_bf16[tiiuae/falcon-11B-vlm-1]": { | ||
"gaudi2": { | ||
"throughput": 23.69260849957278 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_fp8[llava-hf/llava-1.5-13b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 67.20488222876344 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_fp8[llava-hf/llava-1.5-7b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 98.72578382705062 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_fp8[llava-hf/llava-v1.6-mistral-7b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 45.011551008367086 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_fp8[llava-hf/llava-v1.6-vicuna-13b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 30.9535718774675 | ||
} | ||
}, | ||
"tests/test_image_to_text_example.py::test_image_to_text_fp8[llava-hf/llava-v1.6-vicuna-7b-hf-1]": { | ||
"gaudi2": { | ||
"throughput": 45.18544502949674 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"tests/test_openclip_vqa.py::test_openclip_vqa_bf16[laion/CLIP-ViT-g-14-laion2B-s12B-b42K]": { | ||
"gaudi1": { | ||
"throughput": 550 | ||
}, | ||
"gaudi2": { | ||
"throughput": 1472 | ||
} | ||
}, | ||
"tests/test_openclip_vqa.py::test_openclip_vqa_bf16[microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224]": { | ||
"gaudi1": { | ||
"throughput": 1200 | ||
}, | ||
"gaudi2": { | ||
"throughput": 1816 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"tests/test_pipeline.py::TestGaudiPipeline::test_image_to_text[Salesforce/blip-image-captioning-base-44]": { | ||
"generated_text": "a soccer player is playing a game on the app" | ||
}, | ||
"tests/test_pipeline.py::TestGaudiPipeline::test_image_to_text[nlpconnect/vit-gpt2-image-captioning-44]": { | ||
"generated_text": "a soccer game with a player jumping to catch" | ||
}, | ||
"tests/test_pipeline.py::TestGaudiPipeline::test_text_to_speech[facebook/hf-seamless-m4t-medium]": { | ||
"sampling_rate": 16000 | ||
}, | ||
"tests/test_pipeline.py::TestGaudiPipeline::test_text_to_speech[facebook/mms-tts-eng]": { | ||
"sampling_rate": 16000 | ||
}, | ||
"tests/test_pipeline.py::TestGaudiPipeline::test_text_to_speech[microsoft/speecht5_tts]": { | ||
"sampling_rate": 16000 | ||
} | ||
} |
Oops, something went wrong.