Skip to content

Commit

Permalink
Fix pyre workflow (#2504)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2504

Differential Revision: D64759480
  • Loading branch information
PaulZhang12 authored and facebook-github-bot committed Oct 22, 2024
1 parent 3d08f7b commit fbce7b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pyre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
steps:
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
python-version: 3.12
- name: Checkout Torchrec
uses: actions/checkout@v2
- name: Install dependencies
run: >
conda install --yes pytorch cpuonly -c pytorch-nightly &&
pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu &&
pip install -r requirements.txt &&
pip install pyre-check-nightly==$(cat .pyre_configuration | grep version | awk '{print $2}' | sed 's/\"//g')
pip install pyre-check-nightly==$(grep "version" .pyre_configuration | sed -n -e 's/.*\(0\.0\.[0-9]*\).*/\1/p')
- name: Pyre check
run: pyre check
2 changes: 1 addition & 1 deletion .pyre_configuration
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
}
],
"strict": true,
"version": "0.0.101703592829"
"version": "0.0.101729595488"
}

0 comments on commit fbce7b6

Please sign in to comment.