Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ignore-patterns=^\.#
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis). It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=auto_gptq,
ignored-modules=auto_gptq,
exllama_kernels,
exllamav2_kernels,
llmcompressor,
Expand Down Expand Up @@ -94,7 +94,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.9
py-version=3.10

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down
2 changes: 1 addition & 1 deletion fms_mo/quant/quantizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def set_quantizer(self):
else:
self.quantizer = SAWBSTE

def forward(self, input_tensor):
def forward(self, input_tensor: torch.Tensor) -> torch.Tensor:
input_tensor = self.quantizer.apply(
input_tensor,
self.num_bits,
Expand Down
Loading
Loading