From e732ca5240002b137f8d4f604864a9ec17c711d1 Mon Sep 17 00:00:00 2001 From: Alanna Burke Date: Wed, 23 Apr 2025 12:37:13 -0400 Subject: [PATCH 1/9] Move back to use stable binaries 2.7. --- .ci/docker/requirements.txt | 2 +- .jenkins/build.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 0e95c62c6b..df9b3c01fb 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -14,7 +14,7 @@ tqdm==4.66.1 numpy==1.24.4 matplotlib librosa -torch==2.6 +torch==2.7 torchvision torchdata networkx diff --git a/.jenkins/build.sh b/.jenkins/build.sh index 8786859d7d..e249c2a6b5 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -22,10 +22,10 @@ sudo apt-get install -y pandoc #Install PyTorch Nightly for test. # Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html # Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed). -# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata -# sudo pip3 install torch==2.6.0 torchvision --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 -# sudo pip uninstall -y fbgemm-gpu torchrec -# sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 +sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata +sudo pip3 install torch==2.7.0 torchvision --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 +sudo pip uninstall -y fbgemm-gpu torchrec +sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata torchrl tensordict pip3 install torch==2.7.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126 #sudo pip uninstall -y fbgemm-gpu From e0c662229e440b3c1605da94dfd8fad081af9281 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 23 Apr 2025 09:39:26 -0700 Subject: [PATCH 2/9] Update .jenkins/build.sh --- .jenkins/build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.jenkins/build.sh b/.jenkins/build.sh index e249c2a6b5..87bf454568 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -22,12 +22,12 @@ sudo apt-get install -y pandoc #Install PyTorch Nightly for test. # Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html # Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed). -sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata -sudo pip3 install torch==2.7.0 torchvision --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 -sudo pip uninstall -y fbgemm-gpu torchrec -sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 -sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata torchrl tensordict -pip3 install torch==2.7.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126 +# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata +# sudo pip3 install torch==2.7.0 torchvision --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 +# sudo pip uninstall -y fbgemm-gpu torchrec +# sudo pip3 install fbgemm-gpu==1.1.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 +# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata torchrl tensordict +# pip3 install torch==2.7.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu126 #sudo pip uninstall -y fbgemm-gpu # Install two language tokenizers for Translation with TorchText tutorial python -m spacy download en_core_web_sm From c0e6b7c11aa3e76b2abbf55dcc46abd1bb942068 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 23 Apr 2025 17:50:39 -0700 Subject: [PATCH 3/9] Update requirements.txt --- .ci/docker/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index df9b3c01fb..ca7dd0204a 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -28,8 +28,8 @@ tensorboard jinja2==3.1.3 pytorch-lightning torchx -torchrl==0.7.2 -tensordict==0.7.2 +# torchrl==0.7.2 +# tensordict==0.7.2 ax-platform>=0.4.0 nbformat>=5.9.2 datasets From 5e137d95dd02ceae336347a08c89597085e0e4ab Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 09:59:03 -0700 Subject: [PATCH 4/9] Update .ci/docker/requirements.txt --- .ci/docker/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index ca7dd0204a..df9b3c01fb 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -28,8 +28,8 @@ tensorboard jinja2==3.1.3 pytorch-lightning torchx -# torchrl==0.7.2 -# tensordict==0.7.2 +torchrl==0.7.2 +tensordict==0.7.2 ax-platform>=0.4.0 nbformat>=5.9.2 datasets From ba270bfcca8bf64a7d7fb19896d59d47a771176e Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 10:01:15 -0700 Subject: [PATCH 5/9] Update requirements.txt --- .ci/docker/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index df9b3c01fb..dd6991715c 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -69,5 +69,5 @@ pycocotools semilearn==0.3.2 torchao==0.5.0 segment_anything==1.0 -torchrec==1.1.0; platform_system == "Linux" -fbgemm-gpu==1.1.0; platform_system == "Linux" +torchrec==1.2.0; platform_system == "Linux" +fbgemm-gpu==1.2.0; platform_system == "Linux" From 142a191009ce18d51707e4272b5a7645f8350165 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 10:21:07 -0700 Subject: [PATCH 6/9] Update .ci/docker/requirements.txt --- .ci/docker/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index dd6991715c..1f9fd4dd6d 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -69,5 +69,5 @@ pycocotools semilearn==0.3.2 torchao==0.5.0 segment_anything==1.0 -torchrec==1.2.0; platform_system == "Linux" +torchrec==1.1.0; platform_system == "Linux" fbgemm-gpu==1.2.0; platform_system == "Linux" From 56304b718894ab9c18ce94460c74871809d25356 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 11:29:54 -0700 Subject: [PATCH 7/9] Update requirements.txt --- .ci/docker/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 1f9fd4dd6d..e6802cb045 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -67,7 +67,7 @@ iopath pygame==2.6.0 pycocotools semilearn==0.3.2 -torchao==0.5.0 +torchao==0.10.0 segment_anything==1.0 torchrec==1.1.0; platform_system == "Linux" fbgemm-gpu==1.2.0; platform_system == "Linux" From 6a2279554a440deef726ed7a676c561500ebddc4 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 12:40:26 -0700 Subject: [PATCH 8/9] Update --- .jenkins/validate_tutorials_built.py | 7 ------- conf.py | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.jenkins/validate_tutorials_built.py b/.jenkins/validate_tutorials_built.py index 3ed1e0c028..298b80b02a 100644 --- a/.jenkins/validate_tutorials_built.py +++ b/.jenkins/validate_tutorials_built.py @@ -51,13 +51,6 @@ "intermediate_source/text_to_speech_with_torchaudio", "intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release. "advanced_source/semi_structured_sparse", # reenable after 3303 is fixed. - "intermediate_source/mario_rl_tutorial", # reenable after 3302 is fixed - "intermediate_source/reinforcement_ppo", # reenable after 3302 is fixed - "intermediate_source/pinmem_nonblock", # reenable after 3302 is fixed - "intermediate_source/dqn_with_rnn_tutorial", # reenable after 3302 is fixed - "advanced_source/pendulum", # reenable after 3302 is fixed - "advanced_source/coding_ddpg", # reenable after 3302 is fixed - "intermediate_source/torchrec_intro_tutorial", # reenable after 3302 is fixed "recipes_source/recipes/reasoning_about_shapes" # reenable after 3326 is fixed ] diff --git a/conf.py b/conf.py index a12a05d21c..c8bb59477d 100644 --- a/conf.py +++ b/conf.py @@ -86,6 +86,13 @@ 'sphinx_sitemap' ] +katex_prerender = False + +# Add this KaTeX configuration +katex_options = { + "throwOnError": False, +} + intersphinx_mapping = { "torch": ("https://pytorch.org/docs/stable/", None), "tensordict": ("https://pytorch.github.io/tensordict/", None), From f655e3ca2ebb79a996ddd53d1c5c380ecebcf99d Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 28 Apr 2025 13:01:31 -0700 Subject: [PATCH 9/9] Update --- conf.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/conf.py b/conf.py index c8bb59477d..bec55e5692 100644 --- a/conf.py +++ b/conf.py @@ -86,12 +86,6 @@ 'sphinx_sitemap' ] -katex_prerender = False - -# Add this KaTeX configuration -katex_options = { - "throwOnError": False, -} intersphinx_mapping = { "torch": ("https://pytorch.org/docs/stable/", None),