Inconsistent CLI parameters to specify resources requests and limits across training and inference
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Compare the training resource parameters with the custom-endpoint resources-requests and resources-limits parameters, then review issue 306 for the EFA and Neuron device requirements. Define a consistent CLI approach across training and inference, including device handling, and verify that both command paths expose the same resource concepts.
Written by the indexing model from the issue text.
Description
For training, the CLI parameters are:
--accelerators INTEGER Number of accelerators (GPUs/TPUs)
--vcpu TEXT Number of vCPUs
--memory TEXT Amount of memory in GiB
--accelerators-limit INTEGER Limit for the number of accelerators (GPUs/TPUs)
--vcpu-limit TEXT Limit for the number of vCPUs
--memory-limit TEXT Limit for the amount of memory in GiB
For inference (custom endpoints), the CLI parameters are:
--resources-requests JSON JSON object of resource requests, e.g. '{"cpu":"1","memory":"2Gi"}'
--resources-limits JSON JSON object of resource limits, e.g. '{"cpu":"2","memory":"4Gi"}'
Also, as mentioned in issue 306 (https://github.com/aws/sagemaker-hyperpod-cli/issues/306), the CLI should offer a consistent way to specify EFA (and Neuron) devices.
- Dominant language
- Python
- Stars
- 41
- Forks
- 95
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/sagemaker-hyperpod-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
aws/sagemaker-hyperpod-cli#348 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
aws/sagemaker-hyperpod-cli#314 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
aws/sagemaker-hyperpod-cli#431 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
aws/sagemaker-hyperpod-cli#384 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
aws/sagemaker-hyperpod-cli#353 ·
All issues in aws/sagemaker-hyperpod-cli
Similar issues
-
first
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AcademySoftwareFoundation/rmtc#54 · 1 comment ·
-
feature/cohorts feature/feature-flags team/feature-flags
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
License examples/ as MITPossibly taken @PGrayCS claimed this today. Opendocumentation enhancement example good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
speedyk-005/yasbd-lib#383 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
interactions-py/interactions.py#1827 ·
-
Managed start can fail when OpenVMM reads its control capability before NVX writes itPossibly taken @ppenna claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day