@@ -79,36 +79,36 @@ jobs:
79
79
path : |
80
80
test_logs/*
81
81
82
- # testmodels:
83
- # name: External LM Tests
84
- # runs-on: ubuntu-latest
85
- # timeout-minutes: 30
86
- # steps:
87
- # - name: Checkout Code
88
- # uses: actions/checkout@v4
89
- # - name: Set up Python 3.9
90
- # uses: actions/setup-python@v5
91
- # with:
92
- # python-version: 3.9
93
- # cache: pip
94
- # cache-dependency-path: pyproject.toml
95
- #
96
- # # Cache HuggingFace cache directory for External LM tests
97
- # - name: Cache HuggingFace cache (External LM tests)
98
- # uses: actions/cache@v3
99
- # id: cache-hf-lm
100
- # with:
101
- # path: ~/.cache/huggingface
102
- # key: ${{ runner.os }}-hf-cache-external-lm
103
- # restore-keys: |
104
- # ${{ runner.os }}-hf-cache-external-lm
105
- #
106
- # - name: Install dependencies
107
- # run: |
108
- # python -m pip install --upgrade pip
109
- # pip install -e '.[dev,optimum,deepsparse ,sparseml,api]' --extra-index-url https://download.pytorch.org/whl/cpu
110
- # pip install -U transformers peft accelerate
111
- #
112
- # - name: Test with pytest
113
- # run: python -m pytest tests/models --showlocals -s -vv
114
- # continue-on-error: true # Continue workflow even if tests fail
82
+ testmodels :
83
+ name : External LM Tests
84
+ runs-on : ubuntu-latest
85
+ timeout-minutes : 30
86
+ steps :
87
+ - name : Checkout Code
88
+ uses : actions/checkout@v4
89
+ - name : Set up Python 3.9
90
+ uses : actions/setup-python@v5
91
+ with :
92
+ python-version : 3.9
93
+ cache : pip
94
+ cache-dependency-path : pyproject.toml
95
+
96
+ # Cache HuggingFace cache directory for External LM tests
97
+ - name : Cache HuggingFace cache (External LM tests)
98
+ uses : actions/cache@v3
99
+ id : cache-hf-lm
100
+ with :
101
+ path : ~/.cache/huggingface
102
+ key : ${{ runner.os }}-hf-cache-external-lm
103
+ restore-keys : |
104
+ ${{ runner.os }}-hf-cache-external-lm
105
+
106
+ - name : Install dependencies
107
+ run : |
108
+ python -m pip install --upgrade pip
109
+ pip install -e '.[dev,optimum,sparseml,api]' --extra-index-url https://download.pytorch.org/whl/cpu
110
+ pip install -U transformers peft accelerate
111
+
112
+ - name : Test with pytest
113
+ run : python -m pytest tests/models --showlocals -s -vv
114
+ continue-on-error : true # Continue workflow even if tests fail
0 commit comments