Skip to content

Commit 7b59f67

Browse files
authored
docs: aws_batch/kfp fix dead links + change user agent to avoid 403 (pytorch#746)
1 parent c9340a7 commit 7b59f67

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/source/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
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"
50+
4951
# Add any Sphinx extension module names here, as strings. They can be
5052
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
5153
# ones.

torchx/pipelines/kfp/adapter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def component_from_app(
9797
component_from_app takes in a TorchX component/AppDef and returns a KFP
9898
ContainerOp factory. This is equivalent to the
9999
`kfp.components.load_component_from_*
100-
<https://kubeflow-pipelines.readthedocs.io/en/stable/source/kfp.components.html#kfp.components.load_component_from_text>`_
100+
<https://kubeflow-pipelines.readthedocs.io/en/1.8.22/source/kfp.components.html#kfp.components.load_component_from_text>`_
101101
methods.
102102
103103
Args:

torchx/schedulers/aws_batch_scheduler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ class AWSBatchScheduler(DockerWorkspaceMixin, Scheduler[AWSBatchOpts]):
378378
See :py:func:`torchx.specs.parse_mounts` for more info.
379379
380380
For other filesystems such as FSx you can mount them onto the host and bind
381-
mount them into your job: https://aws.amazon.com/premiumsupport/knowledge-center/batch-fsx-lustre-file-system-mount/
381+
mount them into your job: https://repost.aws/knowledge-center/batch-fsx-lustre-file-system-mount
382382
383383
For Elastic Fabric Adapter (EFA) you'll need to use a device mount to mount
384384
them into the container: https://docs.aws.amazon.com/batch/latest/userguide/efa.html

0 commit comments

Comments
 (0)