Skip to content

Commit d6ae807

Browse files
PaulZhang12facebook-github-bot
authored andcommitted
TorchScript bad_alloc issue
Differential Revision: D65495806
1 parent 0512183 commit d6ae807

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/unittest_ci_cpu.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
conda info
4646
python --version
4747
conda run -n build_binary python --version
48-
conda install -n build_binary \
48+
conda run -n build_binary \
4949
--yes \
50-
pytorch cpuonly -c pytorch-nightly
50+
pip install torch --index-url https://download.pytorch.org/whl/nightly/cu121
5151
conda run -n build_binary \
5252
python -c "import torch.distributed"
5353
conda run -n build_binary \
@@ -66,7 +66,8 @@ jobs:
6666
conda run -n build_binary \
6767
python -c "import numpy"
6868
echo "numpy succeeded"
69-
conda install -n build_binary -y pytest
69+
conda run -n build_binary \
70+
pip install pytest
7071
conda run -n build_binary \
7172
python -m pytest torchrec -v -s -W ignore::pytest.PytestCollectionWarning --continue-on-collection-errors \
7273
--ignore-glob=**/test_utils/

0 commit comments

Comments
 (0)