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

Remove blocksize 64 for quant/dequant functions #10

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

pnunna93
Copy link
Collaborator

@pnunna93 pnunna93 commented Mar 6, 2024

This PR removes 64 blocksize for quantize and dequantize functions, as ROCm warpsize doesn't support that case.

It also skips that case for tests which use quantize/dequantize functions. These are the tests enabled with this PR:

test_autograd.py::test_matmul_fp8
test_functional.py::test_dynamic_blockwise_quantization
test_functional.py::test_4bit_compressed_stats

@pnunna93 pnunna93 requested review from Lzy17 and amathews-amd March 6, 2024 22:06
Copy link

@Lzy17 Lzy17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pnunna93 pnunna93 merged commit 9890d5d into rocm_enabled Mar 12, 2024
1 check passed
@pnunna93 pnunna93 deleted the remove_blocksize_64 branch March 12, 2024 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants