Skip to content

Commit 7ca048b

Browse files
fmt
Signed-off-by: Thara Palanivel <[email protected]>
1 parent ea339b4 commit 7ca048b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

fms_mo/aiu_addons/gptq/gptq_aiu_adapter.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def _gptq_qweights_transpose_aiu(
4141
serialization.register_adapter_step(
4242
"gpt_bigcode", "gptq_qweights_transpose_aiu", _gptq_qweights_transpose_aiu
4343
)
44-
serialization.register_adapter_step("granite", "gptq_qweights_transpose_aiu", _gptq_qweights_transpose_aiu)
44+
serialization.register_adapter_step(
45+
"granite", "gptq_qweights_transpose_aiu", _gptq_qweights_transpose_aiu
46+
)
4547
serialization.register_adapter(
4648
"llama",
4749
"hf_gptq_aiu",
@@ -61,6 +63,11 @@ def _gptq_qweights_transpose_aiu(
6163
serialization.register_adapter(
6264
"granite",
6365
"hf_gptq_aiu",
64-
["hf_to_fms_names", "hf_to_fms_rope", "hf_gptq_fusion_check", "weight_fusion", "gptq_qweights_transpose_aiu"]
66+
[
67+
"hf_to_fms_names",
68+
"hf_to_fms_rope",
69+
"hf_gptq_fusion_check",
70+
"weight_fusion",
71+
"gptq_qweights_transpose_aiu",
72+
],
6573
)
66-

0 commit comments

Comments
 (0)