Skip to content

Commit 8a32b71

Browse files
authored
Merge branch 'main' into gh/HDCharles/2/base
2 parents 99bf69e + 33f2d89 commit 8a32b71

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@
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
33+
"advanced_source/usb_semisup_learn", # in the current form takes 140+ minutes to build - can be enabled when the build time is reduced
3234
"prototype_source/fx_graph_mode_ptq_dynamic",
35+
"prototype_source/maskedtensor_sparsity", # Enable when fixed for 2.2
3336
"prototype_source/vmap_recipe",
3437
"prototype_source/torchscript_freezing",
3538
"prototype_source/nestedtensor",

_templates/layout.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
{{ super() }}
1818
<script>
1919

20-
20+
// Helper function to make it easier to call dataLayer.push()
21+
function gtag(){window.dataLayer.push(arguments);}
22+
2123
//add microsoft link
2224

2325
if(window.location.href.indexOf("/beginner/basics/")!= -1)

0 commit comments

Comments
 (0)