Skip to content

Commit 3d178b3

Browse files
nipung90facebook-github-bot
authored andcommitted
Add --pre argument to fbgemm installer for OSS unit tests
Summary: Adding the --pre argument makes sure we can get the pre-release nightlies for fbgemm_gpu so we don't use outdated nightlies for tests Differential Revision: D80358634
1 parent 79fbb29 commit 3d178b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/unittest_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
conda run -n build_binary \
8383
python -c "import torch.distributed"
8484
conda run -n build_binary \
85-
pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/${{ matrix.cuda-tag }}
85+
pip install --pre fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/${{ matrix.cuda-tag }}
8686
conda run -n build_binary \
8787
python -c "import fbgemm_gpu"
8888
echo "fbgemm_gpu succeeded"

.github/workflows/unittest_ci_cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
conda run -n build_binary \
6969
python -c "import torch.distributed"
7070
conda run -n build_binary \
71-
pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu
71+
pip install --pre fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu
7272
conda run -n build_binary \
7373
python -c "import fbgemm_gpu"
7474
echo "fbgemm_gpu succeeded"

0 commit comments

Comments
 (0)