Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix f8f8bf16_lite quantize op input in quantize_and_compute #3667

Closed
wants to merge 3 commits into from

Conversation

YUNQIUGUO
Copy link
Contributor

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/745

A minor fix for trt-llm cudaCoreGemm cuda_lite op in quantize_bench script.

when testing with --bench_quantize detected a failure with input

...
tree/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/bench/quantize_ops.py", line 797, in quantize_and_compute
    return self.compute(xq, wq, x_scale * w_scale)
TypeError: FP8LiteGemm.compute() missing 1 required positional argument: 'w_scale'

Reviewed By: jwfromm

Differential Revision: D69272912

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69272912

Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit f2f7712
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67a64abab7f4f40009dd7c1a
😎 Deploy Preview https://deploy-preview-3667--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Summary: heuristics tuning result for fp8 mixed precision fast_gemv: P1725480254 achieved perf numbers on par/almost identical with `cuda_lite_fp8` (trt-llm gemv kernel).

Differential Revision: D69128901
Differential Revision: D69213404
…h#3667)

Summary:

X-link: facebookresearch/FBGEMM#745

A minor fix for trt-llm cudaCoreGemm `cuda_lite` op in quantize_bench script.

when testing with `--bench_quantize` detected a failure with input

```
...
tree/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/bench/quantize_ops.py", line 797, in quantize_and_compute
    return self.compute(xq, wq, x_scale * w_scale)
TypeError: FP8LiteGemm.compute() missing 1 required positional argument: 'w_scale'
```

Reviewed By: jwfromm

Differential Revision: D69272912
YUNQIUGUO added a commit to YUNQIUGUO/FBGEMM that referenced this pull request Feb 7, 2025
…h#3667)

Summary:

X-link: facebookresearch/FBGEMM#745

A minor fix for trt-llm cudaCoreGemm `cuda_lite` op in quantize_bench script.

when testing with `--bench_quantize` detected a failure with input

```
...
tree/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/bench/quantize_ops.py", line 797, in quantize_and_compute
    return self.compute(xq, wq, x_scale * w_scale)
TypeError: FP8LiteGemm.compute() missing 1 required positional argument: 'w_scale'
```

Reviewed By: jwfromm

Differential Revision: D69272912
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69272912

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69272912

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a914871.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants