Spaces:
Runtime error
Runtime error
jhj0517 commited on
Commit ·
2e66c64
1
Parent(s): fb6dcd1
Install CPU torch
Browse files- .github/workflows/ci.yml +6 -4
.github/workflows/ci.yml
CHANGED
|
@@ -13,15 +13,14 @@ on:
|
|
| 13 |
jobs:
|
| 14 |
build:
|
| 15 |
|
| 16 |
-
runs-on:
|
| 17 |
-
group: cuda-gpu-runner-group
|
| 18 |
strategy:
|
| 19 |
matrix:
|
| 20 |
python: ["3.10"]
|
| 21 |
|
| 22 |
steps:
|
| 23 |
-
|
| 24 |
-
|
| 25 |
|
| 26 |
- uses: actions/checkout@v4
|
| 27 |
- name: Setup Python
|
|
@@ -32,6 +31,9 @@ jobs:
|
|
| 32 |
- name: Install git and ffmpeg
|
| 33 |
run: sudo apt-get update && sudo apt-get install -y git ffmpeg
|
| 34 |
|
|
|
|
|
|
|
|
|
|
| 35 |
- name: Install dependencies
|
| 36 |
run: pip install -r requirements.txt pytest
|
| 37 |
|
|
|
|
| 13 |
jobs:
|
| 14 |
build:
|
| 15 |
|
| 16 |
+
runs-on: ubuntu-latest
|
|
|
|
| 17 |
strategy:
|
| 18 |
matrix:
|
| 19 |
python: ["3.10"]
|
| 20 |
|
| 21 |
steps:
|
| 22 |
+
- name: Clean up space for action
|
| 23 |
+
run: rm -rf /opt/hostedtoolcache
|
| 24 |
|
| 25 |
- uses: actions/checkout@v4
|
| 26 |
- name: Setup Python
|
|
|
|
| 31 |
- name: Install git and ffmpeg
|
| 32 |
run: sudo apt-get update && sudo apt-get install -y git ffmpeg
|
| 33 |
|
| 34 |
+
- name: Install CPU torch
|
| 35 |
+
run: pip install torch
|
| 36 |
+
|
| 37 |
- name: Install dependencies
|
| 38 |
run: pip install -r requirements.txt pytest
|
| 39 |
|