-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modelarts Reviewed-by: RusselSand Reviewed-by: Vineet Pruthi Reviewed-by: Anton Sidelnikov
- Loading branch information
1 parent
478c3e5
commit dfa43e6
Showing
225 changed files
with
23,307 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ documentation of these services: | |
identity | ||
kms | ||
load_balancer | ||
modelarts | ||
nat | ||
obs | ||
rds_v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
Modelarts Service (modelarts) | ||
============================= | ||
|
||
The Modelarts client is the command-line interface (CLI) for | ||
the ModelArts service API and its extensions. | ||
|
||
For help on a specific `rds` command, enter: | ||
|
||
.. code-block:: console | ||
$ openstack ma help SUBCOMMAND | ||
.. _builtin_model: | ||
|
||
Built-In Model Operations | ||
------------------------- | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma builtin model * | ||
|
||
.. _devenv: | ||
|
||
Devenv Operations | ||
----------------- | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma devenv * | ||
|
||
.. _model: | ||
|
||
Model Operations | ||
---------------- | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma model * | ||
|
||
.. _service: | ||
|
||
Service Operations | ||
------------------ | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma service * | ||
|
||
.. _training_job: | ||
|
||
Training Job Operations | ||
----------------------- | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma training job * | ||
|
||
.. _visualization_job: | ||
|
||
Visualization Job Operations | ||
---------------------------- | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv1.v1 | ||
:command: ma visualization job * | ||
|
||
.. _dataset: | ||
|
||
Dataset Operations | ||
------------------ | ||
|
||
.. autoprogram-cliff:: openstack.modelartsv2.v2 | ||
:command: ma dataset * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ Open Telekom Cloud related User Guides | |
kms | ||
lts | ||
mrs | ||
modelarts | ||
nat | ||
rds | ||
sfsturbo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,229 @@ | ||
ModelArts Service | ||
================= | ||
|
||
ModelArts is a one-stop development platform for AI developers. | ||
With distributed training, automated model building, and model | ||
deployment, ModelArts helps AI developers quickly build models | ||
and efficiently manage the AI development lifecycle. | ||
|
||
.. contents:: Table of Contents | ||
:local: | ||
|
||
Devenv Instance | ||
--------------- | ||
|
||
List Devenv Instances | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to query devenv instances list. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/list_devenv_instances.py | ||
:lines: 15-21 | ||
|
||
Create Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to create a devenv instance with | ||
parameters. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/create_devenv_instance.py | ||
:lines: 15-35 | ||
|
||
Get Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to get a devenv instance by ID | ||
or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/get_devenv_instance.py | ||
:lines: 15-22 | ||
|
||
Find Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to find a devenv instance by id or name. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/find_devenv_instance.py | ||
:lines: 15-24 | ||
|
||
Start Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to start a devenv instance by | ||
id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/start_devenv_instance.py | ||
:lines: 15-22 | ||
|
||
Stop Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to stop a devenv instance by | ||
id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/stop_devenv_instance.py | ||
:lines: 15-22 | ||
|
||
Delete Devenv Instance | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to delete a devenv instance by ID | ||
or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.devenv.Devenv`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/delete_devenv_instance.py | ||
:lines: 15-21 | ||
|
||
|
||
ModelArts Service | ||
----------------- | ||
|
||
List Services | ||
^^^^^^^^^^^^^ | ||
|
||
This interface is used to query modelarts services list. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/list_services.py | ||
:lines: 15-21 | ||
|
||
Create Service | ||
^^^^^^^^^^^^^^ | ||
|
||
This interface is used to create a modelarts service with | ||
parameters. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/create_service.py | ||
:lines: 15-45 | ||
|
||
Get Service | ||
^^^^^^^^^^^ | ||
|
||
This interface is used to get a service by ID or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/get_service.py | ||
:lines: 15-22 | ||
|
||
Find Service | ||
^^^^^^^^^^^^ | ||
|
||
This interface is used to find a service by Id or name. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/find_service.py | ||
:lines: 15-22 | ||
|
||
Start Service | ||
^^^^^^^^^^^^^ | ||
|
||
This interface is used to start a Service by Id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/start_service.py | ||
:lines: 15-24 | ||
|
||
Stop Service | ||
^^^^^^^^^^^^ | ||
|
||
This interface is used to stop a service by Id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/stop_service.py | ||
:lines: 15-24 | ||
|
||
Delete Service | ||
^^^^^^^^^^^^^^ | ||
|
||
This interface is used to delete a service by Id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.service.Service`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/delete_service.py | ||
:lines: 15-23 | ||
|
||
|
||
ModelArts Model | ||
----------------- | ||
|
||
List Models | ||
^^^^^^^^^^^ | ||
|
||
This interface is used to query models list. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.model.Model`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/list_models.py | ||
:lines: 15-21 | ||
|
||
Create Model | ||
^^^^^^^^^^^^ | ||
|
||
This interface is used to create a model with parameters. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.model.Model`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/create_model.py | ||
:lines: 15-85 | ||
|
||
Get Model | ||
^^^^^^^^^ | ||
|
||
This interface is used to get a model by ID or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.model.Model`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/get_model.py | ||
:lines: 15-22 | ||
|
||
Find Model | ||
^^^^^^^^^^ | ||
|
||
This interface is used to find a model by Id or name. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.model.Model`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/find_model.py | ||
:lines: 15-22 | ||
|
||
Delete Model | ||
^^^^^^^^^^^^ | ||
|
||
This interface is used to delete a model by Id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.model.Model`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/delete_model.py | ||
:lines: 15-23 | ||
|
||
|
||
ModelArts Training Job | ||
---------------------- | ||
|
||
List Training Jobs | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to query training jobs list. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.training_job.TrainingJob`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/list_training_jobs.py | ||
:lines: 15-21 | ||
|
||
Create Training Job | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to create a training job with parameters. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.training_job.TrainingJob`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/create_training_job.py | ||
:lines: 15-48 | ||
|
||
Delete Training Job | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
This interface is used to delete a training job by Id or an instance of class. | ||
:class:`~otcextensions.sdk.modelartsv1.v1.training_job.TrainingJob`. | ||
|
||
.. literalinclude:: ../examples/modelartsv1/delete_training_job.py | ||
:lines: 15-22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.