Use gpu_library_selector for permute_pooled_embedding_ops_gpu #2714
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pyre Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
pyre-check: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.8 | |
- 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') | |
- name: Pyre check | |
run: pyre check |