Skip to content

Commit f2c142f

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

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/unittest_ci_cpu.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
include:
26-
- os: linux.2xlarge
26+
- os: linux.12xlarge
2727
python-version: 3.9
2828
python-tag: "py39"
29-
- os: linux.2xlarge
29+
- os: linux.12xlarge
3030
python-version: '3.10'
3131
python-tag: "py310"
32-
- os: linux.2xlarge
32+
- os: linux.12xlarge
3333
python-version: '3.11'
3434
python-tag: "py311"
35-
- os: linux.2xlarge
35+
- os: linux.12xlarge
3636
python-version: '3.12'
3737
python-tag: "py312"
3838
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
@@ -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 --pre torch==2.6.0.dev20241102+cpu --index-url https://download.pytorch.org/whl/nightly/cpu
5150
conda run -n build_binary \
5251
python -c "import torch.distributed"
5352
conda run -n build_binary \

0 commit comments

Comments
 (0)