Spaces:
Sleeping
Sleeping
Download .github/workflows/data-refresh.yml from frentis/llm-gpu-fit: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/frentis/llm-gpu-fit/resolve/main/.github/workflows/data-refresh.yml
- Command line
-
hf download hf://spaces/frentis/llm-gpu-fit/.github/workflows/data-refresh.yml
-
curl -L -o data-refresh.yml https://huggingface.co/spaces/frentis/llm-gpu-fit/resolve/main/.github/workflows/data-refresh.yml
529 Bytes
| name: Data Refresh | |
| on: | |
| schedule: | |
| - cron: "17 3 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| refresh: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Install deps | |
| run: uv sync | |
| - name: Run refresh and push to HF | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| PUSH_TO_HF: "1" | |
| run: uv run python scripts/refresh_data.py | |