CI Introduction

March 19, 2024 ยท View on GitHub

Intel Extension for Transformers use Github Action (GHA) for CI test, if you are new to GHA, please refer to GHA

Generally We use Azure Cloud to deploy CI on Es-v5, Bas-v2.

Test NameTest ScopeTest Pass Criteria
Format ScanPylint/Cpplint/bandit/cloc/clangformat PassPASS
Spell CheckSpelling CheckPASS
Copyright CheckCopyright CheckPASS
DCOUse git commit -s to sign offPASS
Unit Testpytest + coverage + gtestPASS(No failure, No core dump, No segmentation fault, No coverage drop)
Kernel BenchmarkBenchmark DetailsPASS(No performance regression)
Model TestPytorch + Tensorflow + Neural Engine + IPEX + CPP GraphPASS(FP32/INT8 No performance regression)

FAQ

  1. How to add examples

    (1) Still need to pass detected CI tests

    (2) Use Extension Test to cover new examples. If you do not have permission for extension test, please contact Maintainers

  2. How to test specific component version

    (1) Use Extension Test to specify the version. If you do not have permission for extension test, please contact Maintainers

  3. How to run tests locally

    Please refer to test scripts and usage README