Skip to content

Commit ef55de8

Browse files
PaulZhang12facebook-github-bot
authored andcommitted
TorchScript bad_alloc issue (#2542)
Summary: Pull Request resolved: #2542 Differential Revision: D65495806
1 parent 7e867ad commit ef55de8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/unittest_ci_cpu.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ jobs:
4545
conda info
4646
python --version
4747
conda run -n build_binary python --version
48-
conda install -n build_binary \
49-
--yes \
50-
pytorch cpuonly -c pytorch-nightly
48+
conda run -n build_binary \
49+
pip install torch --index-url https://download.pytorch.org/whl/cpu
5150
conda run -n build_binary \
5251
python -c "import torch.distributed"
5352
conda run -n build_binary \
@@ -66,7 +65,8 @@ jobs:
6665
conda run -n build_binary \
6766
python -c "import numpy"
6867
echo "numpy succeeded"
69-
conda install -n build_binary -y pytest
68+
conda run -n build_binary \
69+
pip install pytest
7070
conda run -n build_binary \
7171
python -m pytest torchrec -v -s -W ignore::pytest.PytestCollectionWarning --continue-on-collection-errors \
7272
--ignore-glob=**/test_utils/

0 commit comments

Comments
 (0)