mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Speed up github workflows by not installing cuda server dependencies
- CI runners don't have GPUs - Pytorch related Nvidia cuda packages are not required for testing, evals or pre-commit checks. - Avoiding these massive downloads should speed up workflow run.
This commit is contained in:
4
.github/workflows/run_evals.yml
vendored
4
.github/workflows/run_evals.yml
vendored
@@ -135,6 +135,10 @@ jobs:
|
||||
git clone https://github.com/khoj-ai/terrarium.git && cd terrarium && npm install --legacy-peer-deps && mkdir pyodide_cache
|
||||
|
||||
- name: ⬇️ Install Application
|
||||
env:
|
||||
UV_INDEX: "https://download.pytorch.org/whl/cpu"
|
||||
UV_INDEX_STRATEGY: "unsafe-best-match"
|
||||
CUDA_VISIBLE_DEVICES: ""
|
||||
run: |
|
||||
sed -i 's/dynamic = \["version"\]/version = "${{ steps.hatch.outputs.version }}"/' pyproject.toml
|
||||
uv sync --all-extras
|
||||
|
||||
Reference in New Issue
Block a user