-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (44 loc) · 1.33 KB
/
linux-nightly-install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: linux-nightly-install
on:
pull_request:
paths:
- .github/issue-templates/linux-nightly-uninstallable.md
- .github/workflows/linux-nightly-install.yml
workflow_dispatch:
schedule:
- cron: "40 4 * * *"
jobs:
check:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
max-parallel: 1
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup development environment
uses: ./.github/actions/setup-dev-env
with:
python-version: ${{ matrix.python-version }}
- name:
Try installing Linux nightly binaries exclusively from PyTorch wheels indices
run:
python -m pip install --pre torch torchvision torchaudio
--index-url=https://download.pytorch.org/whl/nightly/cpu
- if: failure()
name: Publish information from template
uses: ./.github/actions/publish-from-template
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
ID: ${{ github.run_id }}
VERSION: ${{ steps.latest.outputs.version }}
with:
filename: .github/issue-templates/linux-nightly-uninstallable.md