diff --git a/404.html b/404.html
index dccbfd661ab7..1e39ebf5a0cc 100644
--- a/404.html
+++ b/404.html
@@ -20,11 +20,46 @@
FOUROHFOUR_CUSTOM: 3,
};
+ // Repos that are expected to be moved to the meta-pytorch.org domain
+ const META_PYTORCH_PROJECTS = [
+ "ao",
+ "helion",
+ "torchcodec",
+ "torchft",
+ "data",
+ "torchx",
+ "torchtune",
+ "mobile-docs",
+ "tnt",
+ "botorch",
+ "captum",
+ "opacus",
+ "torchsnapshot",
+ "torcheval",
+ "multipy",
+ "text",
+ "live-website",
+ "live-old",
+ // Temporary test entries
+ "tritonparse",
+ "monarch",
+ "fakerepo",
+ ]
+
const PROJECTS = {
live: {
location: 'https://playtorch.dev/',
style: REDIRECT_STYLE.FULL,
},
+ ...Object.fromEntries(
+ META_PYTORCH_PROJECTS.map(project => [
+ project,
+ {
+ location: `https://meta-pytorch.org/${project}`,
+ style: REDIRECT_STYLE.FULL,
+ }
+ ])
+ ),
};
// eg "https://facebook.github.io/flux/docs/overview/"