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

Make some fbgemm fp8 triton ops pt2 friendly #3188

Closed
wants to merge 1 commit into from

Conversation

henrylhtsang
Copy link
Contributor

Summary:
Make some fbgemm fp8 triton ops pt2 friendly..

What this diff tries to do

  • stop using TensorWrapper and tl.reinterpret
  • Remove the use of triton_heuristics for _kernel_matmul_fp8_row

What this diff won't help:

  • triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

need to do in the future:

  • Update other ops, like quantize_fp8_row.
  • Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Differential Revision: D63560103

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit be457d5
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66faf8e2ad9fd8000885fe8c
😎 Deploy Preview https://deploy-preview-3188--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.

@facebook-github-bot
Copy link
Contributor

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

henrylhtsang added a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 29, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Reviewed By: jwfromm

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

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

henrylhtsang added a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 29, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Reviewed By: jwfromm

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

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

henrylhtsang pushed a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 30, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

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

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

henrylhtsang pushed a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 30, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

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

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

henrylhtsang pushed a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 30, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Reviewed By: henrylhtsang

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

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

henrylhtsang pushed a commit to henrylhtsang/FBGEMM that referenced this pull request Sep 30, 2024
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Reviewed By: henrylhtsang

Differential Revision: D63560103
Summary:
X-link: facebookresearch/FBGEMM#283

Pull Request resolved: pytorch#3188

Make some fbgemm fp8 triton ops pt2 friendly..

# What this diff tries to do
* stop using TensorWrapper and tl.reinterpret
* Remove the use of triton_heuristics for _kernel_matmul_fp8_row

# What this diff won't help:
* triton_herustics use cases of EVEN_K. One option is to just merge that into the autotuning configs

# need to do in the future:
* Update other ops, like quantize_fp8_row.
* Update documentation. Feels pretty outdated, and some still reference to TensorWrapper.

Reviewed By: henrylhtsang

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d27acbd.

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