cache a venv to avoid pip usage (#10689)

* try built in pip caching

* try venv

* export venv

* set VIRTUAL_ENV

* revert that

* venv key

* fix

* ci cache hit?

* fix windows
This commit is contained in:
George Hotz
2025-06-07 20:13:41 -07:00
committed by GitHub
parent 40c1479267
commit 7ff175c022
4 changed files with 38 additions and 31 deletions

View File

@@ -458,7 +458,8 @@ jobs:
uses: ./.github/actions/setup-tinygrad
with:
key: onnxoptl
deps: testing,testing_tf
deps: testing
pydeps: "tensorflow==2.15.1 tensorflow_addons"
python-version: '3.11'
opencl: 'true'
llvm: 'true'
@@ -493,7 +494,7 @@ jobs:
testmodels:
name: Models (llvm+cpu+gpu)
runs-on: ubuntu-22.04
timeout-minutes: 10
timeout-minutes: 15
env:
IGNORE_OOB: 0
steps: