Spaces:
Running
Running
Saibalaji Namburi commited on
Commit ·
85cee59
1
Parent(s): 2d87196
fix: install canvas system dependencies in CML workflow
Browse files
.github/workflows/train.yml
CHANGED
|
@@ -27,6 +27,11 @@ jobs:
|
|
| 27 |
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 28 |
pip install ruff pytest pytest-asyncio
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
- name: Setup CML
|
| 31 |
uses: iterative/setup-cml@v2
|
| 32 |
|
|
|
|
| 27 |
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 28 |
pip install ruff pytest pytest-asyncio
|
| 29 |
|
| 30 |
+
- name: Install system dependencies for canvas (CML)
|
| 31 |
+
run: |
|
| 32 |
+
sudo apt-get update
|
| 33 |
+
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
|
| 34 |
+
|
| 35 |
- name: Setup CML
|
| 36 |
uses: iterative/setup-cml@v2
|
| 37 |
|