Skip to content

Commit 0a65b29

Browse files
uv cache
1 parent a2b6ca5 commit 0a65b29

17 files changed

+35
-17
lines changed

.github/workflows/quality.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414

1515
env:
16-
UV_SYSTEM_PYTHON: 1
1716
UV_TORCH_BACKEND: cpu
1817

1918
jobs:
@@ -26,6 +25,8 @@ jobs:
2625

2726
- name: Install uv
2827
uses: astral-sh/setup-uv@v6
28+
with:
29+
enable-cache: true
2930

3031
- name: Run quality checks
3132
run: |

.github/workflows/test_api_cpu.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -41,6 +40,8 @@ jobs:
4140

4241
- name: Install uv
4342
uses: astral-sh/setup-uv@v6
43+
with:
44+
enable-cache: true
4445

4546
- name: Run tests
4647
run: |

.github/workflows/test_api_cuda.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

.github/workflows/test_api_misc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -50,6 +49,7 @@ jobs:
5049
- name: Install uv
5150
uses: astral-sh/setup-uv@v6
5251
with:
52+
enable-cache: true
5353
python-version: ${{ matrix.python }}
5454

5555
- name: Run tests

.github/workflows/test_cli_cpu_ipex.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

.github/workflows/test_cli_cpu_llama_cpp.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

.github/workflows/test_cli_cpu_onnxruntime.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

.github/workflows/test_cli_cpu_openvino.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

.github/workflows/test_cli_cpu_py_txi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -45,6 +44,8 @@ jobs:
4544

4645
- name: Install uv
4746
uses: astral-sh/setup-uv@v6
47+
with:
48+
enable-cache: true
4849

4950
- name: Pull images
5051
run: |

.github/workflows/test_cli_cpu_pytorch.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ concurrency:
2020
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2121

2222
env:
23-
UV_SYSTEM_PYTHON: 1
2423
UV_TORCH_BACKEND: cpu
2524

2625
jobs:
@@ -42,6 +41,8 @@ jobs:
4241

4342
- name: Install uv
4443
uses: astral-sh/setup-uv@v6
44+
with:
45+
enable-cache: true
4546

4647
- name: Run tests
4748
run: |

0 commit comments

Comments
 (0)