Skip to content

Commit 47ea0ed

Browse files
authored
Install 2.2 RC binaries (#2702)
* Install 2.2 RC binaries * Disable failing tutorials
1 parent b40427d commit 47ea0ed

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.jenkins/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ pip install --progress-bar off -r $DIR/../requirements.txt
2424

2525
#Install PyTorch Nightly for test.
2626
# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
27-
# Install 2.1 for testing
28-
# pip uninstall -y torch torchvision torchaudio torchtext torchdata
29-
# pip3 install torch torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121
30-
# pip3 install torchdata torchtext --index-url https://download.pytorch.org/whl/test/cpu
27+
# Install 2.2 for testing
28+
pip uninstall -y torch torchvision torchaudio torchtext torchdata
29+
pip3 install torch==2.2.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121
30+
pip3 install torchdata torchtext --index-url https://download.pytorch.org/whl/test/cpu
3131

3232
# Install two language tokenizers for Translation with TorchText tutorial
3333
python -m spacy download en_core_web_sm

.jenkins/validate_tutorials_built.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
"intermediate_source/mnist_train_nas", # used by ax_multiobjective_nas_tutorial.py
2828
"intermediate_source/fx_conv_bn_fuser",
2929
"intermediate_source/_torch_export_nightly_tutorial", # does not work on release
30+
"intermediate_source/torch_export_tutorial", # Enable when fixed for 2.2
3031
"advanced_source/super_resolution_with_onnxruntime",
3132
"advanced_source/ddp_pipeline", # requires 4 gpus
3233
"prototype_source/fx_graph_mode_ptq_dynamic",
34+
"prototype_source/maskedtensor_sparsity", # Enable when fixed for 2.2
3335
"prototype_source/vmap_recipe",
3436
"prototype_source/torchscript_freezing",
3537
"prototype_source/nestedtensor",

0 commit comments

Comments
 (0)