Skip to content

Commit 6dee2cd

Browse files
docs: update how deploy util helper files are mentioned (#2957) (#2971)
Signed-off-by: Hannah Zhang <hannahz@nvidia.com> Signed-off-by: hhzhang16 <54051230+hhzhang16@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent fd766e4 commit 6dee2cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/benchmarks/pre_deployment_profiling.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Use the injector utility to place your DGD manifest into the PVC. The profiling
102102

103103
```bash
104104
# Inject your disagg manifest
105-
python3 deploy/utils/inject_manifest.py \
105+
python3 -m deploy.utils.inject_manifest \
106106
--namespace $NAMESPACE \
107107
--src components/backends/vllm/deploy/disagg.yaml \
108108
--dest /data/configs/disagg.yaml
@@ -127,13 +127,13 @@ Use the default pre-built image and inject custom configurations via PVC:
127127
2. **Inject your custom disagg configuration:**
128128
```bash
129129
# Use default disagg.yaml config
130-
python3 deploy/utils/inject_manifest.py --namespace $NAMESPACE --src components/backends/vllm/deploy/disagg.yaml --dest /data/configs/disagg.yaml
130+
python3 -m deploy.utils.inject_manifest --namespace $NAMESPACE --src components/backends/vllm/deploy/disagg.yaml --dest /data/configs/disagg.yaml
131131

132132
# Or use a custom disagg config file
133-
python3 deploy/utils/inject_manifest.py --namespace $NAMESPACE --src my-custom-disagg.yaml --dest /data/configs/disagg.yaml
133+
python3 -m deploy.utils.inject_manifest --namespace $NAMESPACE --src my-custom-disagg.yaml --dest /data/configs/disagg.yaml
134134

135135
# Or specify a custom target path in the PVC
136-
python3 deploy/utils/inject_manifest.py --namespace $NAMESPACE --src my-custom-disagg.yaml --dest /data/profiling_results/my-disagg.yaml
136+
python3 -m deploy.utils.inject_manifest --namespace $NAMESPACE --src my-custom-disagg.yaml --dest /data/profiling_results/my-disagg.yaml
137137
```
138138

139139
> **Note**: All paths must start with `/data/` for security reasons. If you forget this prefix, the script will show a helpful error message with the correct path.
@@ -193,10 +193,10 @@ To download the results:
193193

194194
```bash
195195
# Download to directory
196-
python3 deploy/utils/download_pvc_results.py --namespace $NAMESPACE --output-dir ./results --folder /data/profiling_results
196+
python3 -m deploy.utils.download_pvc_results --namespace $NAMESPACE --output-dir ./results --folder /data/profiling_results
197197

198198
# Download without any of the auto-created config.yaml files used in profiling
199-
python3 deploy/utils/download_pvc_results.py --namespace $NAMESPACE --output-dir ./results --folder /data/profiling_results --no-config
199+
python3 -m deploy.utils.download_pvc_results --namespace $NAMESPACE --output-dir ./results --folder /data/profiling_results --no-config
200200
```
201201

202202
The script will:

0 commit comments

Comments
 (0)