File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 python-tests :
15- runs-on : k8s-util
15+ runs-on : ubuntu-22.04
1616 env :
17- HF_HOME : /model-cache
1817 HF_TOKEN : ${{ secrets.NM_HF_TOKEN_READ_ONLY }}
1918 steps :
2019 - uses : actions/setup-python@v5
3231 run : pip3 install --upgrade pip setuptools
3332 - name : " ⚙️ Install dependencies"
3433 run : pip3 install .[dev,accelerate]
34+ - name : clean up
35+ run : |
36+ echo "cleaning up disk space as GHA runner has limited disk size."
37+ python3 -m pip cache purge
38+ sudo rm -rf /usr/local/.ghcup
39+ sudo rm -rf /opt/hostedtoolcache/CodeQL
40+ sudo rm -rf /usr/local/lib/android/sdk/ndk
41+ sudo rm -rf /usr/share/dotnet
42+ sudo rm -rf /opt/ghc
43+ sudo rm -rf /usr/local/share/boost
44+ if [[ "$(cat /etc/issue)" =~ Ubuntu ]]; then
45+ sudo apt-get clean
46+ fi
47+ df -h
48+ shell : bash
3549 - name : " 🔬 Running tests"
3650 run : make test
You can’t perform that action at this time.
0 commit comments