Skip to content

Commit 50a5a62

Browse files
ISA
1 parent 4462031 commit 50a5a62

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/conformance_weight_compression.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
examples-cpu:
19-
name: Test exmaples CPU [${{ matrix.group }}/4]
19+
name: Weight compression [${{ matrix.group }}/2]
2020
runs-on: ubuntu-22.04-16-cores
2121
strategy:
2222
fail-fast: false
@@ -58,6 +58,7 @@ jobs:
5858
${{ github.event.inputs.pytest_args || '' }}
5959
env:
6060
TQDM_DISABLE: 1
61+
HOME_HF: "/home/runner/hf_home"
6162
- name: Upload artifact
6263
uses: actions/upload-artifact@v4
6364
if: ${{ !cancelled() }}

tests/post_training/.test_durations

+11
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
{
2+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_awq_backup_mode_none_backend_OV]": 269.111,
3+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_awq_scale_estimation_backend_OV]": 421.082,
4+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_awq_scale_estimation_stateful_backend_OV]": 374.507,
5+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_awq_stateful_backend_OV]": 243.878,
6+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_backend_OV]": 190.344,
7+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_gptq_backend_OV]": 1261.154,
8+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_aware_lora_stateful_backend_OV]": 483.905,
9+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_data_free_backend_OV]": 196.905,
10+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_int8_data_free_backend_TORCH]": 154.724,
11+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_NF4_scale_estimation_stateful_per_channel_backend_OV]": 256.375,
12+
"tests/post_training/test_quantize_conformance.py::test_weight_compression[tinyllama_scale_estimation_per_channel_backend_OV]": 258.622,
213
}

tests/post_training/test_quantize_conformance.py

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# See the License for the specific language governing permissions and
1010
# limitations under the License.
1111

12+
import os
1213
import re
1314
import time
1415
import traceback
@@ -30,6 +31,8 @@
3031
from tests.post_training.pipelines.base import BaseTestPipeline
3132
from tests.post_training.pipelines.base import RunInfo
3233

34+
os.environ["ONEDNN_MAX_CPU_ISA"] = "AVX2"
35+
3336
DATA_ROOT = Path(__file__).parent / "data"
3437

3538

0 commit comments

Comments
 (0)