Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Typos fixed in files of doc/source/api/executors/ folder #1820

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/api/executors/awsbatch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ During the execution of the workflow one can navigate to the UI to see the statu
* - num_gpus
- No
- 0
- Number of GPUs availabel to a task.
- Number of GPUs available to a task.
* - retry_attempts
- No
- 3
Expand Down
8 changes: 4 additions & 4 deletions doc/source/api/executors/awslambda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Users can use the following `Terraform <https://www.terraform.io/>`_ snippet as
resource aws_lambda_function lambda {
function_name = "my-lambda-function"
role = aws_iam_role.lambda_iam.arn
packge_type = "Image"
package_type = "Image"
timeout = <timeout value in seconds, max 900 (15 minutes), defaults to 3>
memory_size = <Max memory in MB that the Lambda is expected to use, defaults to 128>
image_uri = aws_ecr_repository.lambda_ecr.repository_url
Expand Down Expand Up @@ -382,7 +382,7 @@ All of our base AWS executor images are available in the AWS public registries a

.. note::

Executor images with the ``latest`` tag are also routinely pushed to the same registry. However, we strongly recommended using the **stable** tag when running executing workflows usin the AWS Lambda executor. The ``<aws-region>`` is a placeholder for the actual AWS region to be used by the user
Executor images with the ``latest`` tag are also routinely pushed to the same registry. However, we strongly recommended using the **stable** tag when running executing workflows using the AWS Lambda executor. The ``<aws-region>`` is a placeholder for the actual AWS region to be used by the user


Once the lambda base executor image has been downloaded, users can build upon that image by installing all the Python packages required by their tasks. The base executor uses a build time argument named ``LAMBDA_TASK_ROOT`` to set the install path of all python packages to ``/var/task`` inside the image. When extending the base image by installing additional python packages, it is **recommended** to install them to the same location so that they get resolved properly during runtime. Following is a simple example of how users can extend the AWS lambda base image by creating their own ``Dockerfile`` and installting additional packages such as ``numpy``, ``pandas`` and ``scipy``.
Expand All @@ -399,7 +399,7 @@ Once the lambda base executor image has been downloaded, users can build upon th

.. warning::

Do **not** override the entrypoint of the base image in the derived image when installing new packages. The docker ``ENTRYPOINT`` of the base image is what that gets trigged when AWS invokes your lambda function to execute the workflow electron
Do **not** override the entrypoint of the base image in the derived image when installing new packages. The docker ``ENTRYPOINT`` of the base image is what that gets triggered when AWS invokes your lambda function to execute the workflow electron


Once the ``Dockerfile`` has been created the derived image can be built as follows
Expand All @@ -413,7 +413,7 @@ Once the ``Dockerfile`` has been created the derived image can be built as follo
Pushing to ECR
^^^^^^^^^^^^^^^^^^^^^

After a successful build of the derived image, it needs to be uploaded to ECR so that it can be consumed by a lambda function when triggered by Covalent. As as first step, it is required to create an elastic container registry to hold the dervied executor images. This can be easily done by using the AWS CLI tool as follows
After a successful build of the derived image, it needs to be uploaded to ECR so that it can be consumed by a lambda function when triggered by Covalent. As as first step, it is required to create an elastic container registry to hold the derived executor images. This can be easily done by using the AWS CLI tool as follows

.. code-block:: bash

Expand Down
2 changes: 1 addition & 1 deletion doc/source/api/executors/awsplugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This will ensure that all the AWS executor plugins listed below are installed.
2. Included Plugins
===========================================

While each plugin can be seperately installed installing the above pip package installs all of the below plugins.
While each plugin can be separately installed installing the above pip package installs all of the below plugins.


.. list-table::
Expand Down
Loading