Skip to content

Commit

Permalink
feat: adding aws_sagemaker_scheduler (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
azzhipa committed Feb 6, 2024
1 parent 11b3fa3 commit 78c5286
Show file tree
Hide file tree
Showing 6 changed files with 999 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ aiobotocore
ax-platform[mysql]==0.2.3
black==23.3.0
boto3
sagemaker>=2.149.0
captum>=0.4.0
docker
flake8==3.9.0
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Works With
schedulers/slurm
schedulers/ray
schedulers/aws_batch
schedulers/aws_sagemaker
schedulers/lsf
schedulers/gcp_batch

Expand Down
19 changes: 19 additions & 0 deletions docs/source/schedulers/aws_sagemaker.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
AWS SageMaker
=================

.. automodule:: torchx.schedulers.aws_sagemaker_scheduler

.. currentmodule:: torchx.schedulers.aws_sagemaker_scheduler

.. autoclass:: AWSSageMakerScheduler
:members:
:show-inheritance:

.. autoclass:: AWSSageMakerJob
:members:

Reference
~~~~~~~~~~~~

.. autofunction:: create_scheduler

1 change: 1 addition & 0 deletions torchx/schedulers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"kubernetes": "torchx.schedulers.kubernetes_scheduler",
"kubernetes_mcad": "torchx.schedulers.kubernetes_mcad_scheduler",
"aws_batch": "torchx.schedulers.aws_batch_scheduler",
"aws_sagemaker": "torchx.schedulers.aws_sagemaker_scheduler",
"gcp_batch": "torchx.schedulers.gcp_batch_scheduler",
"ray": "torchx.schedulers.ray_scheduler",
"lsf": "torchx.schedulers.lsf_scheduler",
Expand Down
Loading

0 comments on commit 78c5286

Please sign in to comment.