Skip to content

Commit 5bb2199

Browse files
committed
fix noop placeholder in gptq vendor code
1 parent 80b944a commit 5bb2199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/llms/gptq_llama/gptq_llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _load_quant(
106106
): # pylint: disable=too-many-arguments
107107
config = LlamaConfig.from_pretrained(model)
108108

109-
def noop():
109+
def noop(*args, **kwargs): # pylint: disable=unused-argument
110110
pass
111111

112112
torch.nn.init.kaiming_uniform_ = noop

0 commit comments

Comments
 (0)