Skip to content

Commit 00bb3a7

Browse files
kiukchungfacebook-github-bot
authored andcommitted
(torchx/docs) replace links to github.com/pytorch/torchx with github.com/meta-pytorch/torchx (#1131)
Summary: TorchX migrated from https://github.com/pytorch/torchx to https://github.com/meta-pytorch/torchx hence need to replace all links in docstrings/rst to point to the new repo location. Fixes errors such as: ``` Warning, treated as error: /home/runner/work/torchx/torchx/docs/source/schedulers/kubernetes.rst:8:broken link: #120 (404 Client Error: Not Found for url: #120) make: *** [Makefile:29: linkcheck] Error 2 (schedulers/kubernetes: line 8) Error: Process completed with exit code 2. ``` Reviewed By: AbishekS Differential Revision: D83262154
1 parent b72ba03 commit 00bb3a7

29 files changed

+55
-57
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Steps to reproduce the behavior:
3737

3838
## Environment
3939

40-
<!-- Please run and include the output from https://github.com/pytorch/torchx/blob/main/scripts/collect_env.py. -->
40+
<!-- Please run and include the output from https://github.com/meta-pytorch/torchx/blob/main/scripts/collect_env.py. -->
4141

4242
- torchx version (e.g. 0.1.0rc1):
4343
- Python version:

.github/ISSUE_TEMPLATE/questions-help-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ about: Do you need support? We have resources.
1010
### Please note that this issue tracker is not a help form and this issue will be closed.
1111

1212
Before submitting, please ensure you have gone through our
13-
[documentation](https://pytorch.org/torchx).
13+
[documentation](https://meta-pytorch.org/torchx).
1414

1515

1616
### Question

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
## torchx-0.5.0
7777

78-
* Milestone: https://github.com/pytorch/torchx/milestone/7
78+
* Milestone: https://github.com/meta-pytorch/torchx/milestone/7
7979

8080
* `torchx.schedulers`
8181
* Kubernetes MCAD Scheduler (Prototype)
@@ -116,7 +116,7 @@
116116

117117
## torchx-0.4.0
118118

119-
* Milestone: https://github.com/pytorch/torchx/milestone/6
119+
* Milestone: https://github.com/meta-pytorch/torchx/milestone/6
120120

121121
* `torchx.schedulers`
122122
* GCP Batch (Prototype)
@@ -142,7 +142,7 @@
142142

143143
## torchx-0.3.0
144144

145-
* Milestone: https://github.com/pytorch/torchx/milestone/5
145+
* Milestone: https://github.com/meta-pytorch/torchx/milestone/5
146146

147147
* `torchx.schedulers`
148148
* List API (Prototype)
@@ -189,7 +189,7 @@
189189

190190
## torchx-0.2.0
191191

192-
* Milestone: https://github.com/pytorch/torchx/milestone/4
192+
* Milestone: https://github.com/meta-pytorch/torchx/milestone/4
193193

194194
* `torchx.schedulers`
195195
* DeviceMounts
@@ -245,7 +245,7 @@
245245

246246
## torchx-0.1.2
247247

248-
Milestone: https://github.com/pytorch/torchx/milestones/3
248+
Milestone: https://github.com/meta-pytorch/torchx/milestones/3
249249

250250
* PyTorch 1.11 Support
251251
* Python 3.10 Support
@@ -285,7 +285,7 @@ Milestone: https://github.com/pytorch/torchx/milestones/3
285285
* Ax runner now lives in the Ax repo https://github.com/facebook/Ax/commit/8e2e68f21155e918996bda0b7d97b5b9ef4e0cba
286286
* `torchx.cli`
287287
* `.torchxconfig`
288-
* You can now specify component argument defaults `.torchxconfig` https://github.com/pytorch/torchx/commit/c37cfd7846d5a0cb527dd19c8c95e881858f8f0a
288+
* You can now specify component argument defaults `.torchxconfig` https://github.com/meta-pytorch/torchx/commit/c37cfd7846d5a0cb527dd19c8c95e881858f8f0a
289289
* `~/.torchxconfig` can now be used to set user level defaults. #378
290290
* `--workspace` can be configured #397
291291
* Color change and bug fixes #419
@@ -301,7 +301,7 @@ Milestone: https://github.com/pytorch/torchx/milestones/3
301301

302302
## torchx-0.1.1
303303

304-
* Milestone: https://github.com/pytorch/torchx/milestone/2
304+
* Milestone: https://github.com/meta-pytorch/torchx/milestone/2
305305

306306
* `torchx.schedulers`
307307
* #287, #286 - Implement `local_docker` scheduler using docker client lib

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![PyPI](https://img.shields.io/pypi/v/torchx)](https://pypi.org/project/torchx/)
2-
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/pytorch/torchx/blob/main/LICENSE)
3-
![Tests](https://github.com/pytorch/torchx/actions/workflows/python-unittests.yaml/badge.svg)
4-
![Lint](https://github.com/pytorch/torchx/actions/workflows/lint.yaml/badge.svg)
2+
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/meta-pytorch/torchx/blob/main/LICENSE)
3+
![Tests](https://github.com/meta-pytorch/torchx/actions/workflows/python-unittests.yaml/badge.svg)
4+
![Lint](https://github.com/meta-pytorch/torchx/actions/workflows/lint.yaml/badge.svg)
55
[![codecov](https://codecov.io/gh/pytorch/torchx/branch/main/graph/badge.svg?token=ceHHIm0hXy)](https://codecov.io/gh/pytorch/torchx)
66

77

@@ -20,16 +20,16 @@ TorchX currently supports:
2020
* Docker
2121
* Local
2222

23-
Need a scheduler not listed? [Let us know!](https://github.com/pytorch/torchx/issues?q=is%3Aopen+is%3Aissue+label%3Ascheduler-request)
23+
Need a scheduler not listed? [Let us know!](https://github.com/meta-pytorch/torchx/issues?q=is%3Aopen+is%3Aissue+label%3Ascheduler-request)
2424

2525
## Quickstart
2626

27-
See the [quickstart guide](https://pytorch.org/torchx/latest/quickstart.html).
27+
See the [quickstart guide](https://meta-pytorch.org/torchx/latest/quickstart.html).
2828

2929
## Documentation
3030

31-
* [Stable Documentation](https://pytorch.org/torchx/latest/)
32-
* [Nightly Documentation](https://pytorch.org/torchx/main/)
31+
* [Stable Documentation](https://meta-pytorch.org/torchx/latest/)
32+
* [Nightly Documentation](https://meta-pytorch.org/torchx/main/)
3333

3434
## Requirements
3535

@@ -71,22 +71,22 @@ pip install torchx-nightly[dev]
7171

7272
```bash
7373
# install torchx sdk and CLI from source
74-
$ pip install -e git+https://github.com/pytorch/torchx.git#egg=torchx
74+
$ pip install -e git+https://github.com/meta-pytorch/torchx.git#egg=torchx
7575

7676
# install extra dependencies
77-
$ pip install -e git+https://github.com/pytorch/torchx.git#egg=torchx[dev]
77+
$ pip install -e git+https://github.com/meta-pytorch/torchx.git#egg=torchx[dev]
7878
```
7979

8080
### Docker
8181

8282
TorchX provides a docker container for using as as part of a TorchX role.
8383

84-
See: https://github.com/pytorch/torchx/pkgs/container/torchx
84+
See: https://github.com/meta-pytorch/torchx/pkgs/container/torchx
8585

8686
## Contributing
8787

88-
We welcome PRs! See the [CONTRIBUTING](https://github.com/pytorch/torchx/blob/main/CONTRIBUTING.md) file.
88+
We welcome PRs! See the [CONTRIBUTING](https://github.com/meta-pytorch/torchx/blob/main/CONTRIBUTING.md) file.
8989

9090
## License
9191

92-
TorchX is BSD licensed, as found in the [LICENSE](https://github.com/pytorch/torchx/blob/main/LICENSE) file.
92+
TorchX is BSD licensed, as found in the [LICENSE](https://github.com/meta-pytorch/torchx/blob/main/LICENSE) file.

docs/doc_push.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#
99
# Builds docs from the checkedout HEAD
10-
# and pushes the artifacts to gh-pages branch in github.com/pytorch/torchx
10+
# and pushes the artifacts to gh-pages branch in github.com/meta-pytorch/torchx
1111
#
1212
# 1. sphinx generated docs are copied to <repo-root>/<version>
1313
# 2. if a release tag is found on HEAD then redirects are copied to <repo-root>/latest
@@ -21,8 +21,8 @@
2121
# |- main (redirects to the most recent ver in trunk, including release)
2222
# |- latest (redirects to the most recent release)
2323
# If the most recent release is 0.1.0 and main is at 0.1.1rc1 then,
24-
# https://pytorch.org/torchx/main -> https://pytorch.org/torchx/0.1.1rc1
25-
# https://pytorch.org/torchx/latest -> https://pytorch.org/torchx/0.1.0
24+
# https://meta-pytorch.org/torchx/main -> https://meta-pytorch.org/torchx/0.1.1rc1
25+
# https://meta-pytorch.org/torchx/latest -> https://meta-pytorch.org/torchx/0.1.0
2626
#
2727
# Redirects are done via Jekyll redirect-from plugin. See:
2828
# sources/scripts/create_redirect_md.py

docs/source/_static/js/torchx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function setLinks(colabLink, notebookLink, githubLink) {
1919

2020
const version = $(".version").text().trim().split(" ")[0].substr(1);
2121
const colabBase = "https://colab.research.google.com/github/pytorch/torchx/blob/gh-pages/" + version
22-
const githubBase = "https://github.com/pytorch/torchx/blob/main/"
22+
const githubBase = "https://github.com/meta-pytorch/torchx/blob/main/"
2323

2424
var downloadNote = $(".sphx-glr-download-link-note.admonition.note");
2525
var isNBSphinx = $(".nbinput");

docs/source/component_best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ You can setup integration tests with your components by either using the
144144
programmatic runner API or write a bash script to call the CLI.
145145
146146
You can see both styles in use in the core
147-
`TorchX scheduler integration tests <https://github.com/pytorch/torchx/tree/main/.github/workflows>`__.
147+
`TorchX scheduler integration tests <https://github.com/meta-pytorch/torchx/tree/main/.github/workflows>`__.

docs/source/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#
4747
needs_sphinx = "1.6"
4848

49-
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 github.com/pytorch/torchx"
49+
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 github.com/meta-pytorch/torchx"
5050

5151
# Add any Sphinx extension module names here, as strings. They can be
5252
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -333,12 +333,10 @@ def handle_item(fieldarg, content):
333333

334334
if version in tags:
335335
notebook_version = version
336-
code_url = (
337-
f"https://github.com/pytorch/torchx/archive/refs/tags/{notebook_version}.tar.gz"
338-
)
336+
code_url = f"https://github.com/meta-pytorch/torchx/archive/refs/tags/{notebook_version}.tar.gz"
339337
else:
340338
notebook_version = "main"
341-
code_url = f"https://github.com/pytorch/torchx/archive/refs/heads/{notebook_version}.tar.gz"
339+
code_url = f"https://github.com/meta-pytorch/torchx/archive/refs/heads/{notebook_version}.tar.gz"
342340

343341
first_notebook_cell = f"""
344342
!pip install torchx

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:github_url: https://github.com/pytorch/torchx
1+
:github_url: https://github.com/meta-pytorch/torchx
22

33
TorchX
44
==================

docs/source/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ pip install "torchx[dev]"
2929
```
3030
<!-- #endmd -->
3131

32-
See the [README](https://github.com/pytorch/torchx) for more
32+
See the [README](https://github.com/meta-pytorch/torchx) for more
3333
information on installation.
3434

3535
```sh
@@ -164,7 +164,7 @@ partition=torchx
164164

165165
TorchX supports a large number of schedulers.
166166
Don't see yours?
167-
[Request it!](https://github.com/pytorch/torchx/issues/new?assignees=&labels=&template=feature-request.md)
167+
[Request it!](https://github.com/meta-pytorch/torchx/issues/new?assignees=&labels=&template=feature-request.md)
168168

169169
Remote schedulers operate the exact same way the local schedulers do. The same
170170
run command for local works out of the box on remote.

0 commit comments

Comments
 (0)