Skip to content

Conversation

@vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Dec 9, 2025

Summary:

  1. refactors the eval script to also handle performance measurement in
    vllm
  2. adds a simple vllm bench latency script to bench in vllm for prefill and decode

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
// full output: https://www.internalfb.com/phabricator/paste/view/P2094641791

Reviewers:

Subscribers:

Tasks:

Tags:

vkuzo added 4 commits December 9, 2025 06:30
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author

vkuzo commented Dec 9, 2025

Stack from ghstack (oldest at bottom):

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 9, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3473

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 6 Pending

As of commit 55c2ab4 with merge base 486fe0d (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

vkuzo added a commit that referenced this pull request Dec 9, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: e1d713e
ghstack-comment-id: 3634216524
Pull-Request: #3473
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 9, 2025
@vkuzo vkuzo added the topic: for developers Use this tag if this PR is mainly developer facing label Dec 9, 2025
[ghstack-poisoned]
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 10, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 15f7481
ghstack-comment-id: 3634216524
Pull-Request: #3473
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 10, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 15f7481
ghstack-comment-id: 3634216524
Pull-Request: #3473
@vkuzo vkuzo changed the base branch from gh/vkuzo/182/head to main December 10, 2025 18:09
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 23, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 665f2c8
ghstack-comment-id: 3634216524
Pull-Request: #3473
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 23, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: cae97ab
ghstack-comment-id: 3634216524
Pull-Request: #3473
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 23, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 42466df
ghstack-comment-id: 3634216524
Pull-Request: #3473
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 23, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 79c5722
ghstack-comment-id: 3634216524
Pull-Request: #3473
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 23, 2025
Summary:

1. refactors the eval script to also handle performance measurement in
   vllm
2. adds a simple `vllm bench latency` script to bench in vllm

The script is broken on every single recipe, we'll have to fix and
enable things in future PRs, will update the performance tables
afterwards.

Also, add convenience flags to skip model creation, lm_eval, vllm as
needed to enable running just a single model + single step.

Test Plan:

```
SKIP_MODEL_CREATE=1 SKIP_LM_EVAL=1 SKIP_VLLM=0 with-proxy ./benchmarks/quantization/measure_accuracy_and_performance.sh h100
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: a0019d4
ghstack-comment-id: 3634216524
Pull-Request: #3473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: for developers Use this tag if this PR is mainly developer facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants