GeezerVison is showing github.com — Use `uv` in doc CI + merge some dep installs · speechbrain/speechbrain@dd50c14
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/verify-docs-gen.yml +4-6Lines changed: 4 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,12 +17,10 @@ jobs: |
17 | 17 | python-version: '3.8' |
18 | 18 | - name: Full dependencies |
19 | 19 | run: | |
20 | | - # up to k2 compatible torch version |
21 | | - pip install torch==2.1.2 torchaudio==2.1.2 |
22 | | - pip install -r requirements.txt |
23 | | - pip install --editable . |
24 | | - pip install -r docs/docs-requirements.txt |
25 | | - pip install k2==1.24.4.dev20231220+cpu.torch2.1.2 -f https://k2-fsa.github.io/k2/cpu.html |
| 20 | + pip install uv |
| 21 | + uv pip install --system ctc-segmentation # ctc-segmentation is funky with uv due to their oldest-supported-numpy dependency |
| 22 | + uv pip install --system -r requirements.txt -r docs/docs-requirements.txt torch==2.2.1+cpu torchaudio==2.2.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu k2==1.24.4.dev20240223+cpu.torch2.2.1 --find-links https://k2-fsa.github.io/k2/cpu.html kaldilm==1.15.1 spacy==3.7.4 flair==0.13.1 |
| 23 | + uv pip install --system --editable . --no-deps # already installed pinned deps from requirements.txt, we're good |
26 | 24 | - name: Generate docs |
27 | 25 | run: | |
28 | 26 | cd docs |
|