Skip to content

Commit 7b1043f

Browse files
solve conflict
2 parents e8c9238 + 0f1cfc4 commit 7b1043f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1790
-2726
lines changed

.github/workflows/build_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: "18"
28+
node-version: "20"
2929
cache-dependency-path: "kit/package-lock.json"
3030

3131
- name: Set up Python

.github/workflows/build_pr_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version: "18"
29+
node-version: "20"
3030
cache-dependency-path: "kit/package-lock.json"
3131

3232
- name: Set up Python

.github/workflows/dockerfile_sanity.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/test_inc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ concurrency:
1515

1616
env:
1717
TRANSFORMERS_IS_CI: true
18-
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
1918

2019
jobs:
2120
build:
@@ -49,4 +48,3 @@ jobs:
4948
- name: Test with Pytest
5049
run: |
5150
pytest tests/neural_compressor
52-

.github/workflows/test_ipex.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ concurrency:
1515

1616
env:
1717
TRANSFORMERS_IS_CI: true
18-
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
1918

2019
jobs:
2120
build:
2221
strategy:
2322
fail-fast: false
2423
matrix:
25-
transformers-version: ["4.51.0", "4.52.*"]
26-
torch-version: ["2.7.0"]
24+
transformers-version: ["4.55.4"]
25+
torch-version: ["2.8.0"]
2726
test-file: [test_modeling.py, test_pipelines.py, test_modeling_causal_lm.py]
2827

2928
runs-on: ubuntu-22.04

.github/workflows/test_openvino.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ jobs:
6565
run: |
6666
uv pip install auto-gptq "autoawq<0.2.8"
6767
68+
- name: Login with fork PRs CI token
69+
if: ${{ env.HF_TOKEN == '' }}
70+
run: |
71+
python tests/scripts/login_with_ci_token.py
72+
6873
- name: Test with Pytest
6974
run: |
7075
pytest tests/openvino/${{ matrix.test-pattern }} --durations=0
@@ -77,4 +82,4 @@ jobs:
7782
- if: ${{ matrix.test-pattern == '*modeling*' }}
7883
name: Test with Pytest - Nightly OpenVINO
7984
run: |
80-
pytest tests/openvino/test_modeling_basic.py --durations=0
85+
pytest tests/openvino/test_modeling_basic.py --durations=0

.github/workflows/test_openvino_nightly.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ on:
99
branches:
1010
- v*-release
1111
pull_request:
12+
branches:
13+
- main
1214
types:
1315
- opened
1416
- labeled
1517
- reopened
18+
- unlabeled
1619
- synchronize
1720

1821
concurrency:
@@ -31,7 +34,7 @@ env:
3134

3235
jobs:
3336
build:
34-
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || (github.event_name == 'push') || contains( github.event.pull_request.labels.*.name, 'openvino-slow') }}
37+
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || (github.event_name == 'push') || contains( github.event.pull_request.labels.*.name, 'openvino-nightly') }}
3538
strategy:
3639
fail-fast: false
3740
matrix:
@@ -89,6 +92,11 @@ jobs:
8992
run: |
9093
uv pip install auto-gptq "autoawq<0.2.8" --extra-index-url https://download.pytorch.org/whl/cpu
9194
95+
- name: Login with fork PRs CI token
96+
if: ${{ env.HF_TOKEN == '' }}
97+
run: |
98+
python tests/scripts/login_with_ci_token.py
99+
92100
- name: Pip freeze
93101
run: |
94102
pip freeze

.github/workflows/test_openvino_notebooks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ concurrency:
1818

1919
env:
2020
TRANSFORMERS_IS_CI: true
21-
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
2221

2322
jobs:
2423
build:

.github/workflows/test_openvino_slow.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ on:
66
branches:
77
- v*-release
88
pull_request:
9+
branches:
10+
- main
911
types:
1012
- opened
1113
- labeled
1214
- reopened
15+
- unlabeled
1316
- synchronize
1417

1518
concurrency:
@@ -73,13 +76,19 @@ jobs:
7376
run: |
7477
uv pip install auto-gptq "autoawq<0.2.8"
7578
79+
- name: Login with fork PRs CI token
80+
if: ${{ env.HF_TOKEN == '' }}
81+
run: |
82+
python tests/scripts/login_with_ci_token.py
83+
7684
- name: Pip freeze
77-
run: pip freeze
85+
run: |
86+
pip freeze
7887
7988
- name: Test with Pytest (basic)
8089
run: |
8190
pytest tests/openvino/test_modeling_basic.py
8291
8392
- name: Test with Pytest (slow)
8493
run: |
85-
pytest tests/openvino -m "run_slow" --durations=0
94+
pytest tests/openvino -m "run_slow" --durations=0

Dockerfile.ipex

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)