From c8b6020073224f2f24fcea84effd8174123c3612 Mon Sep 17 00:00:00 2001 From: Du Phan Date: Mon, 16 Sep 2024 23:33:59 -0400 Subject: [PATCH] fix torch documentation link (#3396) --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 26e0b7ef15..afb694ddd1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -193,7 +193,7 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { "python": ("https://docs.python.org/3/", None), - "torch": ("https://pytorch.org/docs/master/", None), + "torch": ("https://pytorch.org/docs/main/", None), "funsor": ("https://funsor.pyro.ai/en/stable/", None), "opt_einsum": ("https://optimized-einsum.readthedocs.io/en/stable/", None), "scipy": ("https://docs.scipy.org/doc/scipy/", None),