mirror of
https://github.com/pmeier/light-the-torch.git
synced 2024-09-08 23:29:28 +03:00
add check without specifying the channel
This commit is contained in:
5
.github/workflows/install.yml
vendored
5
.github/workflows/install.yml
vendored
@@ -22,6 +22,7 @@ jobs:
|
||||
- "3.9"
|
||||
- "3.10"
|
||||
pytorch-channel:
|
||||
- ""
|
||||
- stable
|
||||
- test
|
||||
- nightly
|
||||
@@ -47,7 +48,9 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install torch
|
||||
run: ltt install --cpuonly --pytorch-channel=${{ matrix.pytorch-channel }} torch
|
||||
env:
|
||||
CHANNEL: ${{ matrix.pytorch-channel }}
|
||||
run: ltt install --cpuonly ${CHANNEL:+--pytorch-channel=$CHANNEL} torch
|
||||
|
||||
- name: Check if CPU only
|
||||
run:
|
||||
|
||||
Reference in New Issue
Block a user