Skip to content

Commit 3976ea7

Browse files
author
Sara Adkins
authored
fix model update (#116)
1 parent 622f721 commit 3976ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_quantization/lifecycle/test_apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_apply_quantization_config_tinyllama():
110110
# sanity check correct number of layers targeted
111111
assert num_linears == 154 # 155 Linear layers - 1 that gets ignored
112112
assert num_embeddings == 1
113-
assert num_rotary_embeddings == 22
113+
assert num_rotary_embeddings == 23 # model updated, now has model.rotary_embedding
114114

115115
# test quantization compression
116116
# sample forward pass to fill scales, zps

0 commit comments

Comments
 (0)