feat(dynamo_planner): add use-pre-swept-results to Dynamo Planner (#3170)
with `--profile-results-dir use-pre-swept-results`, user doesn't need to run pre-deployment profiling. Dynamo Planner will retrieve pre-swept results in `components/planner/src/dynamo/planner/utils/pre_swept_results` npz folder to generate perf interpolation data points, if the Dynamo Planner configs can be found in the local npz files.
Tested with Dynamo Planner dry run mode:
```bash
python components/planner/test/planner_sla_dryrun.py \
--ttft 0.2 \
--itl 0.01 \
--adjustment-interval 60 \
--profile-results-dir use-pre-swept-results \
--dataset rr-5-45_i3000o300.jsonl \
--start-num-p 1 \
--start-num-d 1 \
--output-plot dryrun_plot.png
```
Signed-off-by:
Jason Zhou <jasonzho@nvidia.com>
Showing
File added
File added
File added
File added
Please register or sign in to comment