File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ ignore-patterns=^\.#
6363# (useful for modules/projects where namespaces are manipulated during runtime
6464# and thus existing member attributes cannot be deduced by static analysis). It
6565# supports qualified module names, as well as Unix pattern matching.
66- ignored-modules =auto_gptq,
66+ ignored-modules =auto_gptq,
6767 exllama_kernels,
6868 exllamav2_kernels,
6969 llmcompressor,
@@ -94,7 +94,7 @@ persistent=yes
9494
9595# Minimum Python version to use for version dependent checks. Will default to
9696# the version used to run pylint.
97- py-version =3.9
97+ py-version =3.10
9898
9999# Discover python modules and packages in the file system subtree.
100100recursive =no
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ def set_quantizer(self):
428428 else :
429429 self .quantizer = SAWBSTE
430430
431- def forward (self , input_tensor ) :
431+ def forward (self , input_tensor : torch . Tensor ) -> torch . Tensor :
432432 input_tensor = self .quantizer .apply (
433433 input_tensor ,
434434 self .num_bits ,
You can’t perform that action at this time.
0 commit comments