Skip to content

Remove blocksize 64 for quant/dequant functions#10

Merged
pnunna93 merged 2 commits into
rocm_enabledfrom
remove_blocksize_64
Mar 12, 2024
Merged

Remove blocksize 64 for quant/dequant functions#10
pnunna93 merged 2 commits into
rocm_enabledfrom
remove_blocksize_64

Conversation

@pnunna93

@pnunna93 pnunna93 commented Mar 6, 2024

Copy link
Copy Markdown

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

@Lzy17 Lzy17 left a comment

Copy link
Copy Markdown

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
@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