-
-
-```python
-component = ComponentOp(
- component_dir="...",
- arguments={
- ...,
- },
- resources=Resources(
- accelerator_number=1,
- accelerator_name="GPU",
- )
-)
-
-```
-
- |
-
-
-```python
-component = ComponentOp(
- component_dir="...",
- arguments={
- ...,
- },
- resources=Resources(
- accelerator_number=1,
- accelerator_name="NVIDIA_TESLA_K80",
- memory_limit="512M",
- cpu_limit="4",
- )
-)
-```
-
- |
-
-
-```python
-component = ComponentOp(
- component_dir="...",
- arguments={
- ...,
- },
- resources=Resources(
- accelerator_number=1,
- accelerator_name="GPU",
- node_pool_label="node_pool",
- node_pool_name="n2-standard-128-pool",
-)
-```
-
- |
-
-