Skip to content

Commit

Permalink
Explicitly specify units of gigabytes for RAM in Airflow DAG template (
Browse files Browse the repository at this point in the history
  • Loading branch information
kiersten-stokes authored Oct 4, 2022
1 parent c8eb160 commit 4e8492c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/user_guide/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ The following alphabetically sorted list identifies the node properties that are
- Example: `data/*.csv`

##### Resources: CPU, GPU, and RAM
- Resources that the notebook or script requires.
- Resources that the notebook or script requires. RAM takes units of gigabytes (10<sup>9</sup> bytes).
- The values are ignored when the pipeline is executed locally.

##### Runtime image
Expand Down
2 changes: 1 addition & 1 deletion elyra/templates/airflow/airflow_template.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ op_{{ operation.id|regex_replace }} = KubernetesPodOperator(name='{{ operation.n
'request_cpu': '{{ operation.cpu_request }}',
{% endif %}
{% if operation.mem_request %}
'request_memory': '{{ operation.mem_request }}',
'request_memory': '{{ operation.mem_request }}G',
{% endif %}
{% if operation.gpu_limit %}
'limit_gpu': '{{ operation.gpu_limit }}',
Expand Down

0 comments on commit 4e8492c

Please sign in to comment.