Skip to content

Commit

Permalink
Revert D37074625: Use PyTorch RC release on release branch
Browse files Browse the repository at this point in the history
Differential Revision:
D37074625 (7cc256e)

Original commit changeset: 2454e8c2ced7

Original Phabricator Diff: D37074625 (7cc256e)

fbshipit-source-id: 60319480c365b1829cb3734c3fcacf34dd2388ae
  • Loading branch information
ejguan authored and facebook-github-bot committed Jun 10, 2022
1 parent 7cc256e commit 2e76749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- release/*
tags:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
Expand All @@ -31,16 +30,6 @@ jobs:
- 3.8
- 3.9
steps:
- name: Get PyTorch Channel
shell: bash
run: |
if [[ ${{ github.base_ref }} == release/* ]] || [[ ${{ github.ref }} == refs/heads/release/* ]] || [[ ${{ github.ref }} == refs/tags/v* ]]; then
PT_CHANNEL="https://download.pytorch.org/whl/test/cpu/torch_test.html"
else
PT_CHANNEL="https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html"
fi
echo "::set-output name=value::$PT_CHANNEL"
id: pytorch_channel
- name: Setup additional system libraries
if: startsWith( matrix.os, 'ubuntu' )
run: |
Expand All @@ -66,7 +55,7 @@ jobs:
- name: Install dependencies
run: |
pip3 install -r requirements.txt
pip3 install --pre torch -f "${{ steps.pytorch_channel.outputs.value }}"
pip3 install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip3 install cmake ninja
echo "/home/runner/.local/bin" >> $GITHUB_PATH
- name: Build TorchData
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/domain_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
# For PR created by ghstack
- gh/*/*/base
# - release/*
- release/*

jobs:
torchvision:
Expand Down

0 comments on commit 2e76749

Please sign in to comment.