Skip to content

Commit

Permalink
test(requantize): also test with bfloat16
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Aug 24, 2024
1 parent 7e73673 commit f3b39ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/quantize/test_requantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def save_and_reload_state_dict(state_dict, serialization):
ids=["small", "large"],
)
@pytest.mark.parametrize("weights", [qint4, qint8], ids=["w-qint4", "w-qint8"])
@pytest.mark.parametrize("dtype", [torch.float16, torch.float32], ids=["fp16", "fp32"])
@pytest.mark.parametrize("dtype", [torch.bfloat16, torch.float16, torch.float32], ids=["bf16", "fp16", "fp32"])
@pytest.mark.parametrize("serialization", ["weights_only", "pickle", "safetensors"])
@pytest.mark.parametrize("activations", [None, qint8], ids=["a-none", "a-qint8"])
def test_requantize_serialized_model(
Expand Down

0 comments on commit f3b39ce

Please sign in to comment.