Skip to content

Commit

Permalink
delete comments of get_cache_scale in compressed_tensors.py
Browse files Browse the repository at this point in the history
Signed-off-by: kewang-xlnx <kewang@xilinx.com>
  • Loading branch information
kewang-xlnx committed Dec 19, 2024
1 parent a309c19 commit 7d26e69
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,6 @@ def get_scheme(
self._check_scheme_supported(scheme.get_min_capability())
return scheme

# move the get_compressed_tensors_cache_scale method from
# utils.py to instance method of CompressedTensorsConfig
# class. By doing this, different QuantizationConfig
# classes can implement their own get_cache_scale method.
def get_cache_scale(self, name: str) -> Optional[str]:
"""
Check whether the param name matches the format for k/v cache scales
Expand Down

0 comments on commit 7d26e69

Please sign in to comment.